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

Adding support for corvil #3541

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

zenonymous
Copy link

Show

commands = ["show version”]

Output

Corvil CNE Appliance software: Version 10.0.1 (10.0.1.20732-GA.296474-64bit Thu
17 Oct 2024)
CorvilMeter software: CDK_3_0_BUILD_73 (conf May 30 03:18:34 2024)
Application Recognition Module: ARM v6.86 (full)

Config

config_commands = [
‘subnet-group bla’,
‘description “Azure ip space”’,
‘subnet 1.2.3.45/32’,
‘end’
}

Output

switch(config)$ subnet-group bla
Created: subnet-group bla
switch(config-subnet-group)$ description "Azure ip space"
switch(config-subnet-group)$ subnet 1.2.3.4/32
switch(config-subnet-group)$ end
switch(config)$

@ktbyers
Copy link
Owner

ktbyers commented Dec 1, 2024

Is it possible for you to run these tests and post the output here:

py.test -v test_netmiko_show.py --test_device cisco881  
py.test -v test_netmiko_config.py --test_device cisco881

See:

https://github.com/ktbyers/netmiko/blob/develop/TESTING.md

@ktbyers
Copy link
Owner

ktbyers commented Dec 1, 2024

Need to fix linting issue, just run black . at the base of the repository:

Linting errors:

Run poetry run black --check .
would reformat /home/runner/work/netmiko/netmiko/netmiko/corvil/__init__.py
would reformat /home/runner/work/netmiko/netmiko/netmiko/corvil/corvilcne_ssh.py
would reformat /home/runner/work/netmiko/netmiko/netmiko/gigamon/__init__.py
would reformat /home/runner/work/netmiko/netmiko/netmiko/gigamon/gigamonvue_ssh.py

@ktbyers
Copy link
Owner

ktbyers commented Dec 1, 2024

Also you included your Gigamon changes here--did you intend to include these in this PR?

@zenonymous
Copy link
Author

zenonymous commented Dec 2, 2024 via email

@ktbyers
Copy link
Owner

ktbyers commented Dec 2, 2024

@zenonymous Just let me know if you have questions on the PR or the testing process.

Regards, Kirk

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.

2 participants