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

[show/tests] Add support for "show run isis" #1

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

isabelladeleon12
Copy link
Collaborator

@isabelladeleon12 isabelladeleon12 commented Apr 11, 2023

Signed-off-by: ideleon@microsoft.com

What I did

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

admin@vlab-01:/usr/local/lib/python3.9/dist-packages/show$ show run isis
Building configuration...

Current configuration:
!
frr version 8.2.2
frr defaults traditional
hostname vlab-01
log syslog informational
log facility local4
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface PortChannel101
 ip router isis 1
 ipv6 router isis 1
 isis network point-to-point
exit
!
router isis 1
 is-type level-2-only
 net 49.0001.1720.1700.0002.00
 lsp-mtu 1383
 lsp-timers level-1 gen-interval 30 refresh-interval 900 max-lifetime 1200
 lsp-timers level-2 gen-interval 30 refresh-interval 305 max-lifetime 900
 log-adjacency-changes
exit
!
end

admin@vlab-01:/usr/local/lib/python3.9/dist-packages/show$ show run isis --config_db
{
    "ISIS_GLOBAL": {
        "1": {
            "dynamic-hostname": "true",
            "level-capability": "level-2",
            "log-adjacency-changes": "true",
            "lsp-mtu-size": "1383",
            "net": "49.0001.1720.1700.0002.00"
        }
    },
    "ISIS_LEVEL": {
        "1|level-2": {
            "lsp-maximum-lifetime": "350",
            "lsp-refresh-interval": "305"
        }
    },
    "ISIS_INTERFACE": {
        "1|PortChannel101": {
            "hello-padding": "false",
            "ifname": "PortChannel101",
            "instance": "1",
            "ipv4-routing-instance": "1",
            "ipv6-routing-instance": "1",
            "network-type": "POINT_TO_POINT_NETWORK"
        }
    }
}
admin@vlab-01:/usr/local/lib/python3.9/dist-packages/show$ 

Signed-off-by: ideleon@microsoft.com
@cchoate54 cchoate54 merged commit c4e1d24 into sonic_isis_base_show_command Apr 21, 2023
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