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

Added new functions compatible with pyaoscx v2 #26

Open
wants to merge 27 commits into
base: development
Choose a base branch
from

Conversation

KarthikSKumar98
Copy link

No description provided.

alagoutte and others added 27 commits January 3, 2021 11:16
on FAIL or SUCCESS logging message
by default, it is possible to the switch don't have (host)name...
File napalm-aruba-cx/napalm_aoscx/aoscx.py, line 400, in get_environment
    '%usage': mm['resource_utilization']['cpu']
KeyError: 'cpu'

Signed-off-by: Alexis La Goutte <[email protected]>
File "napalm-aruba-cx/napalm_aoscx/aoscx.py", line 398, in get_environment
    'used_ram': mm['resource_utilization']['memory']
KeyError: 'memory
File "napalm-aruba-cx/napalm_aoscx/aoscx.py", line 625, in get_config
  config_dict['running'] = self._get_json_configuration("running-config")
File "napalm-aruba-cx/napalm_aoscx/aoscx.py", line 904, in _get_json_configuration
  target_url = kwargs["url"] + "fullconfigs/{}".format(checkpoint)
KeyError: 'url'

issue also reported on napalm-automation-community#5

Signed-off-by: Alexis La Goutte <[email protected]>
…eadme-get-route-to

Fix readme get route to
…5-get-config

get_config: fix KeyError url
…3-get-environment-vsf

Fix get_environment when use with VSF
…get-facts-no-hostname

get_facts: fix when there is not hostname define on the switch
…7-extra-colon-port-lldp-neighbor

get_lldp_neighbors: remove extra colon on port return value
There is no productinfo...

Signed-off-by: Alexis La Goutte <[email protected]>
…and-enhance-interfaces-counters

Fix and Enhance (get_)interfaces(_)counters
…get-facts-virtualcx

get_facts: fix when use on Virtual CX (OVA)
…get-arp-table

Fix and enhance get_arp_table
@alagoutte
Copy link
Contributor

@KarthikSKumar98 @alvinc13 some news about pyaoscx v2 support ? (with new firmware release don't longer supported API v1...)

@alvinc13
Copy link
Collaborator

Let me meet with @KarthikSKumar98 to discuss the validation and publishing for this.

@CameronEx
Copy link

Hi @alvinc13 and @KarthikSKumar98 - have you had the opportunity to review this?

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

Successfully merging this pull request may close these issues.

4 participants