Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when try to profile devices #70

Open
yixiuGit opened this issue Jan 11, 2021 · 6 comments
Open

Error when try to profile devices #70

yixiuGit opened this issue Jan 11, 2021 · 6 comments
Assignees

Comments

@yixiuGit
Copy link

I try to profile devices under robot framework using below command
Profile the system for "config;interface;platform;ospf;arp;routing;vrf;vlan" on devices "${alldevices}" as "${CURDIR}/${site}/good/${folder}"
and get error message "ValueError:invalid liternal for int() with base 10: '65003.28'".
If I remove osfp,routing, vrf from the profile command, the job can be done successfully.
I check the device configuration. we have configuration like "router bgp 65003.28" and "set as-path prepend 65003.28".
I think it is due to pyats only deal with process id as integer.

Is it possible to fix it.

@yixiuGit
Copy link
Author

Hi @badalsoyantar ,
Please let me know if you need more information regarding this issue.

@badalsoyantar
Copy link

Hi @yixiuGit Will get back to you soon on this.

@badalsoyantar
Copy link

There are 2 formats to represent BGP ASN 4260036636(AS-PLAIN) or 65003.28(AS-COLON). To be agnostic in Genie model uses AS-PLAIN. I will add conversion and let you know once it is merged and released.

@badalsoyantar
Copy link

Hi @yixiuGit Can you share error log? where it is crashing?

@yixiuGit
Copy link
Author

yixiuGit commented Feb 4, 2021

Hi @badalsoyantar ,
Attached file is the error collected from the log.html when run the script.
errorlog.txt

@badalsoyantar
Copy link

@yixiuGit Issue is fixed. Will ping you once package is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants