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

problem with NXOS 'show running-config interface {interface}' #759

Open
edvinaskairys opened this issue Jun 12, 2023 · 6 comments
Open

problem with NXOS 'show running-config interface {interface}' #759

edvinaskairys opened this issue Jun 12, 2023 · 6 comments
Assignees

Comments

@edvinaskairys
Copy link

Hello,

Seems like NXOS 'show running-config interface {interface}' doesn't show port-channel configuration when there're port-channels with static protocol. (not lacp) For example:

interface like this:

interface Ethernet104/1/23
description TEOFWP02 PAN-ESXi MGT
switchport access vlan 114
channel-group 147

is showed in parser like that:

"interface_running_config": {
    "interface": {
        "Ethernet104/1/23": {
            "access_vlan": "114",
            "description": "TEOFWP02 PAN-ESXi MGT",
            "switchport_mode": "access"

Seems parsing only is working good - if the interface has channel-group mode lacp defined.

@ParimiNeeraja
Copy link

ParimiNeeraja commented Aug 4, 2023

Hi @from88 , thank you for reaching out.

Would you like be willing to make these changes yourself and make a contribution to the genieparser repo?
A guide for writing, testing, and contributing parser can be found here
https://pubhub.devnetcloud.com/media/pyats-development-guide/docs/writeparser/writeparser.html.

or Please provide the full device output

@ParimiNeeraja
Copy link

Hi @from88,

Is there any update on this? Kindly let me know.

@edvinaskairys
Copy link
Author

hello, i would like to to that, but feeling little to noob for that.
Correct me if i'm wrong: but looking inside to that parser: https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers/show%2520running-config%2520interface%2520%257Binterface%257D

searching this section:

    Optional  (str) channel_group: {
      'chg': <class 'int'>,
      'mode': <class 'str'>,
      },

maybe just deleting the this line 'chg': <class 'int'>, would help? Because, i think, this was previously done with the intention that every port-channel config has mode keyword, but as in my case it can be port-channel mode static - without any mode.

@ParimiNeeraja
Copy link

Hello @from88 ,

I fix the issue, it had been merge with upcoming latest version.

@edvinaskairys
Copy link
Author

edvinaskairys commented Aug 22, 2023

thank you, is it for 23.8 ?

@ParimiNeeraja
Copy link

Sorry for delay, it will merge in next version (23.9) . If you still facing the same issue. Kindly let me know.

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