Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:RebuildFactoryUpdates
python-napalm-procurve
float-speed.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File float-speed.patch of Package python-napalm-procurve
Index: napalm-procurve-0.7.0/napalm_procurve/procurve.py =================================================================== --- napalm-procurve-0.7.0.orig/napalm_procurve/procurve.py +++ napalm-procurve-0.7.0/napalm_procurve/procurve.py @@ -774,7 +774,7 @@ class ProcurveDriver(NetworkDriver): "is_enabled": True if if_adm_state[idx] == "1" else False, "description": str(if_alias[idx]), "last_flapped": -1.0, # Data makes no sense... unsupported for now. - "speed": int(int(if_speed[idx].replace(",", "")) / 1000 / 1000), + "speed": float(int(if_speed[idx].replace(",", "")) / 1000 / 1000), "mac_address": str(if_macs[idx]), "mtu": int(if_mtu[idx]), }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor