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

Aruba CX configuration pulled by NAPALM but not showing in Netbox UI #7041

Closed
damien-martineau opened this issue Aug 26, 2021 · 4 comments
Closed
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@damien-martineau
Copy link

NetBox version

v2.11.12

Python version

3.8

Steps to Reproduce

  1. Add Aruba CX driver to NAPALM drivers (https://github.com/napalm-automation-community/napalm-aruba-cx).
  2. Create an AOSCX platform with aoscx NAPALM driver in Netbox.
  3. Add an Aruba-CX device.
  4. Go to config tab on the device page.

Expected Behavior

The running-config tab should return the configuration of the device as it does when doing the request through Netbox API with http://netbox.srv/api/dcim/devices/xxx/napalm/?method=get_config

Observed Behavior

The running config box only show [object Object].

Further testing showed the same behavior in Netbox v3.0-beta2.

(I'm not sure but I suspect the Javascript in the config tab template to not work properly with JSON formatted input.)

@damien-martineau damien-martineau added the type: bug A confirmed report of unexpected behavior in the application label Aug 26, 2021
@jeremystretch
Copy link
Member

Can you please provide a dump of the raw JSON being returned by the device so that someone without access to it can attempt to reproduce the bug?

@jeremystretch jeremystretch added the status: revisions needed This issue requires additional information to be actionable label Aug 27, 2021
@damien-martineau
Copy link
Author

Hello,

sorry for the delay, something got messed up with our infra and I wasn't able to retrieve the config.
Anyway, here is the raw JSON that is returned by napalm after the method get_config() is called:

{
    "get_config": {
        "running": {
            "AAA_Server_Group": {
                "CLIENT-TACACS": {
                    "group_name": "CLIENT-TACACS",
                    "group_type": "tacacs"
                },
                "local": {
                    "group_name": "local"
                },
                "tacacs": {
                    "group_name": "tacacs"
                }
            },
            "AAA_Server_Group_Prio": {
                "default": {
                    "accounting_group_prios": {
                        "0": "CLIENT-TACACS",
                        "1": "local"
                    },
                    "authentication_group_prios": {
                        "0": "CLIENT-TACACS",
                        "1": "local"
                    },
                    "authorization_group_prios": {
                        "0": "CLIENT-TACACS",
                        "1": "local"
                    },
                    "session_type": "default"
                }
            },
            "ACL": {
                "1301/ipv4": {
                    "cfg_aces": {
                        "10": {
                            "action": "permit",
                            "src_ip": "10.231.31.12/255.255.255.255"
                        },
                        "5": {
                            "action": "permit",
                            "src_ip": "10.231.31.26/255.255.255.255"
                        }
                    },
                    "cfg_version": -2743948878976325,
                    "list_type": "ipv4",
                    "name": "1301"
                }
            },
            "Interface": {
                "1%2F9%2F1": {
                    "description": "Vers EC-CLIENT",
                    "name": "1/9/1",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F27": {
                    "name": "1/9/27",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F28": {
                    "name": "1/9/28",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F29": {
                    "description": "Vers CR CISCO1",
                    "name": "1/9/29",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F30": {
                    "description": "Vers EBPU01-A",
                    "name": "1/9/30",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up",
                        "mtu": "9198"
                    }
                },
                "1%2F9%2F31": {
                    "description": "Vers CR01-B",
                    "name": "1/9/31",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up",
                        "mtu": "9198"
                    }
                },
                "1%2F9%2F32": {
                    "description": "Vers EFHD01-A",
                    "name": "1/9/32",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up",
                        "mtu": "9198"
                    }
                },
                "loopback0": {
                    "name": "loopback0",
                    "type": "loopback"
                },
                "loopback1": {
                    "name": "loopback1",
                    "type": "loopback"
                },
                "loopback2": {
                    "name": "loopback2",
                    "type": "loopback"
                },
                "loopback44": {
                    "name": "loopback44",
                    "type": "loopback"
                },
                "loopback6": {
                    "name": "loopback6",
                    "type": "loopback"
                },
                "vlan1661": {
                    "name": "vlan1661",
                    "type": "vlan"
                },
                "vlan201": {
                    "name": "vlan201",
                    "type": "vlan"
                },
                "vlan202": {
                    "name": "vlan202",
                    "type": "vlan"
                },
                "vlan222": {
                    "name": "vlan222",
                    "type": "vlan"
                },
                "vlan274": {
                    "name": "vlan274",
                    "type": "vlan"
                },
                "vlan299": {
                    "name": "vlan299",
                    "type": "vlan"
                },
                "vlan472": {
                    "name": "vlan472",
                    "type": "vlan"
                },
                "vlan601": {
                    "name": "vlan601",
                    "type": "vlan"
                },
                "vlan602": {
                    "name": "vlan602",
                    "type": "vlan"
                },
                "vlan674": {
                    "name": "vlan674",
                    "type": "vlan"
                },
                "vlan699": {
                    "name": "vlan699",
                    "type": "vlan"
                }
            },
            "Port": {
                "1%2F4%2F1": {
                    "interfaces": [
                        "1%2F4%2F1"
                    ],
                    "name": "1/4/1"
                },
                "1%2F4%2F2": {
                    "interfaces": [
                        "1%2F4%2F2"
                    ],
                    "name": "1/4/2"
                },
                "1%2F4%2F3": {
                    "interfaces": [
                        "1%2F4%2F3"
                    ],
                    "name": "1/4/3"
                },
                "1%2F4%2F4": {
                    "interfaces": [
                        "1%2F4%2F4"
                    ],
                    "name": "1/4/4"
                },
                "1%2F4%2F5": {
                    "interfaces": [
                        "1%2F4%2F5"
                    ],
                    "name": "1/4/5"
                },
                "1%2F4%2F6": {
                    "interfaces": [
                        "1%2F4%2F6"
                    ],
                    "name": "1/4/6"
                },
                "1%2F4%2F7": {
                    "interfaces": [
                        "1%2F4%2F7"
                    ],
                    "name": "1/4/7"
                },
                "1%2F4%2F8": {
                    "interfaces": [
                        "1%2F4%2F8"
                    ],
                    "name": "1/4/8"
                },
                "1%2F7%2F1": {
                    "interfaces": [
                        "1%2F7%2F1"
                    ],
                    "name": "1/7/1"
                },
                "1%2F7%2F2": {
                    "interfaces": [
                        "1%2F7%2F2"
                    ],
                    "name": "1/7/2"
                },
                "1%2F7%2F3": {
                    "interfaces": [
                        "1%2F7%2F3"
                    ],
                    "name": "1/7/3"
                },
                "1%2F7%2F4": {
                    "interfaces": [
                        "1%2F7%2F4"
                    ],
                    "name": "1/7/4"
                },
                "1%2F7%2F5": {
                    "interfaces": [
                        "1%2F7%2F5"
                    ],
                    "name": "1/7/5"
                },
                "1%2F7%2F6": {
                    "interfaces": [
                        "1%2F7%2F6"
                    ],
                    "name": "1/7/6"
                },
                "1%2F7%2F7": {
                    "interfaces": [
                        "1%2F7%2F7"
                    ],
                    "name": "1/7/7"
                },
                "1%2F7%2F8": {
                    "interfaces": [
                        "1%2F7%2F8"
                    ],
                    "name": "1/7/8"
                },
                "1%2F9%2F1": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F1"
                    ],
                    "name": "1/9/1",
                    "routing": false,
                    "stp_config": {
                        "link_type": "point-to-point"
                    },
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "1",
                    "vlan_trunks": [
                        "1661",
                        "472"
                    ]
                },
                "1%2F9%2F10": {
                    "interfaces": [
                        "1%2F9%2F10"
                    ],
                    "name": "1/9/10"
                },
                "1%2F9%2F11": {
                    "interfaces": [
                        "1%2F9%2F11"
                    ],
                    "name": "1/9/11"
                },
                "1%2F9%2F12": {
                    "interfaces": [
                        "1%2F9%2F12"
                    ],
                    "name": "1/9/12"
                },
                "1%2F9%2F13": {
                    "interfaces": [
                        "1%2F9%2F13"
                    ],
                    "name": "1/9/13"
                },
                "1%2F9%2F14": {
                    "interfaces": [
                        "1%2F9%2F14"
                    ],
                    "name": "1/9/14"
                },
                "1%2F9%2F15": {
                    "interfaces": [
                        "1%2F9%2F15"
                    ],
                    "name": "1/9/15"
                },
                "1%2F9%2F16": {
                    "interfaces": [
                        "1%2F9%2F16"
                    ],
                    "name": "1/9/16"
                },
                "1%2F9%2F17": {
                    "interfaces": [
                        "1%2F9%2F17"
                    ],
                    "name": "1/9/17"
                },
                "1%2F9%2F18": {
                    "interfaces": [
                        "1%2F9%2F18"
                    ],
                    "name": "1/9/18"
                },
                "1%2F9%2F19": {
                    "interfaces": [
                        "1%2F9%2F19"
                    ],
                    "name": "1/9/19"
                },
                "1%2F9%2F2": {
                    "interfaces": [
                        "1%2F9%2F2"
                    ],
                    "name": "1/9/2"
                },
                "1%2F9%2F20": {
                    "interfaces": [
                        "1%2F9%2F20"
                    ],
                    "name": "1/9/20"
                },
                "1%2F9%2F21": {
                    "interfaces": [
                        "1%2F9%2F21"
                    ],
                    "name": "1/9/21"
                },
                "1%2F9%2F22": {
                    "interfaces": [
                        "1%2F9%2F22"
                    ],
                    "name": "1/9/22"
                },
                "1%2F9%2F23": {
                    "interfaces": [
                        "1%2F9%2F23"
                    ],
                    "name": "1/9/23"
                },
                "1%2F9%2F24": {
                    "interfaces": [
                        "1%2F9%2F24"
                    ],
                    "name": "1/9/24"
                },
                "1%2F9%2F25": {
                    "interfaces": [
                        "1%2F9%2F25"
                    ],
                    "name": "1/9/25"
                },
                "1%2F9%2F26": {
                    "interfaces": [
                        "1%2F9%2F26"
                    ],
                    "name": "1/9/26"
                },
                "1%2F9%2F27": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F27"
                    ],
                    "name": "1/9/27"
                },
                "1%2F9%2F28": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F28"
                    ],
                    "name": "1/9/28"
                },
                "1%2F9%2F29": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F29"
                    ],
                    "name": "1/9/29",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "1",
                    "vlan_trunks": [
                        "299",
                        "699"
                    ]
                },
                "1%2F9%2F3": {
                    "interfaces": [
                        "1%2F9%2F3"
                    ],
                    "name": "1/9/3"
                },
                "1%2F9%2F30": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F30"
                    ],
                    "loop_protect_enable": true,
                    "loop_protect_vlan": [
                        "602",
                        "202"
                    ],
                    "name": "1/9/30",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "999",
                    "vlan_trunks": [
                        "602",
                        "202"
                    ]
                },
                "1%2F9%2F31": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F31"
                    ],
                    "loop_protect_enable": true,
                    "loop_protect_vlan": [
                        "201",
                        "601"
                    ],
                    "name": "1/9/31",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "999",
                    "vlan_trunks": [
                        "201",
                        "601"
                    ]
                },
                "1%2F9%2F32": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F32"
                    ],
                    "loop_protect_enable": true,
                    "loop_protect_vlan": [
                        "274",
                        "674"
                    ],
                    "name": "1/9/32",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "999",
                    "vlan_trunks": [
                        "274",
                        "674"
                    ]
                },
                "1%2F9%2F4": {
                    "interfaces": [
                        "1%2F9%2F4"
                    ],
                    "name": "1/9/4"
                },
                "1%2F9%2F5": {
                    "interfaces": [
                        "1%2F9%2F5"
                    ],
                    "name": "1/9/5"
                },
                "1%2F9%2F6": {
                    "interfaces": [
                        "1%2F9%2F6"
                    ],
                    "name": "1/9/6"
                },
                "1%2F9%2F7": {
                    "interfaces": [
                        "1%2F9%2F7"
                    ],
                    "name": "1/9/7"
                },
                "1%2F9%2F8": {
                    "interfaces": [
                        "1%2F9%2F8"
                    ],
                    "name": "1/9/8"
                },
                "1%2F9%2F9": {
                    "interfaces": [
                        "1%2F9%2F9"
                    ],
                    "name": "1/9/9"
                },
                "loopback0": {
                    "interfaces": [
                        "loopback0"
                    ],
                    "ip4_address": "172.25.2.1/32",
                    "name": "loopback0",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_loopback",
                    "vrf": "SIH"
                },
                "loopback1": {
                    "interfaces": [
                        "loopback1"
                    ],
                    "ip4_address": "172.25.2.251/32",
                    "name": "loopback1",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_loopback",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "loopback2": {
                    "interfaces": [
                        "loopback2"
                    ],
                    "name": "loopback2"
                },
                "loopback44": {
                    "interfaces": [
                        "loopback44"
                    ],
                    "name": "loopback44",
                    "origin": "configuration",
                    "vrf": "ADMIN"
                },
                "loopback6": {
                    "interfaces": [
                        "loopback6"
                    ],
                    "ip4_address": "172.25.6.1/32",
                    "name": "loopback6",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_loopback",
                    "vrf": "ADMIN"
                },
                "vlan1661": {
                    "interfaces": [
                        "vlan1661"
                    ],
                    "ip4_address": "172.16.39.12/29",
                    "name": "vlan1661",
                    "origin": "configuration",
                    "vrf": "ADMIN"
                },
                "vlan201": {
                    "interfaces": [
                        "vlan201"
                    ],
                    "ip4_address": "172.26.2.0/31",
                    "ip_mtu": 9198,
                    "name": "vlan201",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan202": {
                    "interfaces": [
                        "vlan202"
                    ],
                    "ip4_address": "172.26.2.2/31",
                    "ip_mtu": 9198,
                    "name": "vlan202",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan222": {
                    "interfaces": [
                        "vlan222"
                    ],
                    "name": "vlan222"
                },
                "vlan274": {
                    "interfaces": [
                        "vlan274"
                    ],
                    "ip4_address": "172.26.2.146/31",
                    "ip_mtu": 9198,
                    "name": "vlan274",
                    "origin": "configuration",
                    "ospf_if_out_cost": 5,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan299": {
                    "interfaces": [
                        "vlan299"
                    ],
                    "ip4_address": "172.26.2.250/31",
                    "name": "vlan299",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan472": {
                    "interfaces": [
                        "vlan472"
                    ],
                    "ip4_address": "192.168.39.180/29",
                    "name": "vlan472",
                    "origin": "configuration",
                    "vrf": "SIH"
                },
                "vlan601": {
                    "interfaces": [
                        "vlan601"
                    ],
                    "ip4_address": "172.26.6.0/31",
                    "ip_mtu": 9198,
                    "name": "vlan601",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                },
                "vlan602": {
                    "interfaces": [
                        "vlan602"
                    ],
                    "ip4_address": "172.26.6.2/31",
                    "ip_mtu": 9198,
                    "name": "vlan602",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                },
                "vlan674": {
                    "interfaces": [
                        "vlan674"
                    ],
                    "ip4_address": "172.26.6.146/31",
                    "ip_mtu": 9198,
                    "name": "vlan674",
                    "origin": "configuration",
                    "ospf_if_out_cost": 5,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                },
                "vlan699": {
                    "interfaces": [
                        "vlan699"
                    ],
                    "ip4_address": "172.26.6.250/31",
                    "name": "vlan699",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                }
            },
            "Route_Map": {
                "redis_static": {
                    "name": "redis_static",
                    "route_map_entries": {
                        "10": {
                            "action": "permit",
                            "set": {
                                "metric_type": "external_type1"
                            }
                        }
                    }
                }
            },
            "SNMP_Community_ACL": {
                "snmp-community": {
                    "aclv4": "1301/ipv4",
                    "name": "snmp-community"
                }
            },
            "SNMP_Trap": {
                "ADMIN/10.231.31.12/162/trap/v2c": {
                    "community_name": "snmp-community",
                    "receiver_address": "10.231.31.12",
                    "receiver_udp_port": 162,
                    "type": "trap",
                    "version": "v2c",
                    "vrf": "ADMIN"
                }
            },
            "STP_Instance": {
                "rpvst/1661": {
                    "instance_type": "rpvst",
                    "origin": "built-in",
                    "priority": 15,
                    "stp_instance_id": 1661
                },
                "rpvst/472": {
                    "instance_type": "rpvst",
                    "origin": "built-in",
                    "priority": 15,
                    "stp_instance_id": 472
                }
            },
            "System": {
                "aruba_central": {
                    "Aruba_Central1": {
                        "disable": true
                    }
                },
                "bfd_detect_multiplier": 2,
                "bfd_enable": true,
                "bfd_min_rx_interval": 500,
                "bfd_min_tx_interval": 500,
                "domain_name": "client.domain.com",
                "hostname": "CR-1",
                "loop_protect_disable_timer": 300,
                "loop_protect_loop_detected_trap_enable": true,
                "loop_protect_transmit_interval": 2,
                "mgmt_intf": {
                    "ip": "192.168.1.249",
                    "mode": "static",
                    "name": "eth0",
                    "subnet_mask": "24"
                },
                "ntp_config": {
                    "enable": "true"
                },
                "ntp_config_vrf": "ADMIN",
                "other_config": {
                    "system_location": "Maquette"
                },
                "qos_config": {
                    "qos_trust": "dscp"
                },
                "qos_cos_map_entries": {
                    "1": {
                        "code_point": 1
                    },
                    "2": {
                        "code_point": 2
                    },
                    "3": {
                        "code_point": 3
                    },
                    "4": {
                        "code_point": 4
                    },
                    "5": {
                        "code_point": 5
                    },
                    "6": {
                        "code_point": 6
                    },
                    "7": {
                        "code_point": 7
                    }
                },
                "qos_dscp_map_entries": {
                    "1": {
                        "code_point": 1
                    },
                    "10": {
                        "code_point": 10
                    },
                    "11": {
                        "code_point": 11
                    },
                    "12": {
                        "code_point": 12
                    },
                    "13": {
                        "code_point": 13
                    },
                    "14": {
                        "code_point": 14
                    },
                    "15": {
                        "code_point": 15
                    },
                    "16": {
                        "code_point": 16
                    },
                    "17": {
                        "code_point": 17
                    },
                    "18": {
                        "code_point": 18
                    },
                    "19": {
                        "code_point": 19
                    },
                    "2": {
                        "code_point": 2
                    },
                    "20": {
                        "code_point": 20
                    },
                    "21": {
                        "code_point": 21
                    },
                    "22": {
                        "code_point": 22
                    },
                    "23": {
                        "code_point": 23
                    },
                    "24": {
                        "code_point": 24
                    },
                    "25": {
                        "code_point": 25
                    },
                    "26": {
                        "code_point": 26
                    },
                    "27": {
                        "code_point": 27
                    },
                    "28": {
                        "code_point": 28
                    },
                    "29": {
                        "code_point": 29
                    },
                    "3": {
                        "code_point": 3
                    },
                    "30": {
                        "code_point": 30
                    },
                    "31": {
                        "code_point": 31
                    },
                    "32": {
                        "code_point": 32
                    },
                    "33": {
                        "code_point": 33
                    },
                    "34": {
                        "code_point": 34
                    },
                    "35": {
                        "code_point": 35
                    },
                    "36": {
                        "code_point": 36
                    },
                    "37": {
                        "code_point": 37
                    },
                    "38": {
                        "code_point": 38
                    },
                    "39": {
                        "code_point": 39
                    },
                    "4": {
                        "code_point": 4
                    },
                    "40": {
                        "code_point": 40
                    },
                    "41": {
                        "code_point": 41
                    },
                    "42": {
                        "code_point": 42
                    },
                    "43": {
                        "code_point": 43
                    },
                    "44": {
                        "code_point": 44
                    },
                    "45": {
                        "code_point": 45
                    },
                    "46": {
                        "code_point": 46
                    },
                    "47": {
                        "code_point": 47
                    },
                    "48": {
                        "code_point": 48
                    },
                    "49": {
                        "code_point": 49
                    },
                    "5": {
                        "code_point": 5
                    },
                    "50": {
                        "code_point": 50
                    },
                    "51": {
                        "code_point": 51
                    },
                    "52": {
                        "code_point": 52
                    },
                    "53": {
                        "code_point": 53
                    },
                    "54": {
                        "code_point": 54
                    },
                    "55": {
                        "code_point": 55
                    },
                    "56": {
                        "code_point": 56
                    },
                    "57": {
                        "code_point": 57
                    },
                    "58": {
                        "code_point": 58
                    },
                    "59": {
                        "code_point": 59
                    },
                    "6": {
                        "code_point": 6
                    },
                    "60": {
                        "code_point": 60
                    },
                    "61": {
                        "code_point": 61
                    },
                    "62": {
                        "code_point": 62
                    },
                    "63": {
                        "code_point": 63
                    },
                    "7": {
                        "code_point": 7
                    },
                    "8": {
                        "code_point": 8
                    },
                    "9": {
                        "code_point": 9
                    }
                },
                "rest_api": {
                    "access_mode": "read-only"
                },
                "rpvst_enabled_vlans": [
                    "1661",
                    "472"
                ],
                "snmp_communities": "R23fbe95",
                "stp_config": {
                    "mstp_config_revision": "0",
                    "stp_enable": "true",
                    "stp_mode": "rpvst"
                },
                "subsystems": {
                    "chassis/1": {
                        "name": "1",
                        "type": "chassis"
                    },
                    "fabric_card/1%2F1": {
                        "name": "1/1",
                        "part_number_cfg": "JL367A",
                        "type": "fabric_card"
                    },
                    "fabric_card/1%2F2": {
                        "name": "1/2",
                        "part_number_cfg": "JL367A",
                        "type": "fabric_card"
                    },
                    "fabric_card/1%2F3": {
                        "name": "1/3",
                        "part_number_cfg": "JL367A",
                        "type": "fabric_card"
                    },
                    "fan_tray/1%2F1": {
                        "name": "1/1",
                        "type": "fan_tray"
                    },
                    "fan_tray/1%2F2": {
                        "name": "1/2",
                        "type": "fan_tray"
                    },
                    "fan_tray/1%2F3": {
                        "name": "1/3",
                        "type": "fan_tray"
                    },
                    "line_card/1%2F1": {
                        "name": "1/1",
                        "type": "line_card"
                    },
                    "line_card/1%2F10": {
                        "name": "1/10",
                        "type": "line_card"
                    },
                    "line_card/1%2F2": {
                        "name": "1/2",
                        "type": "line_card"
                    },
                    "line_card/1%2F3": {
                        "name": "1/3",
                        "type": "line_card"
                    },
                    "line_card/1%2F4": {
                        "name": "1/4",
                        "part_number_cfg": "JL365A",
                        "type": "line_card"
                    },
                    "line_card/1%2F7": {
                        "name": "1/7",
                        "part_number_cfg": "JL365A",
                        "type": "line_card"
                    },
                    "line_card/1%2F8": {
                        "name": "1/8",
                        "type": "line_card"
                    },
                    "line_card/1%2F9": {
                        "interface_group_speed": {
                            "1": "10g",
                            "7": "10g",
                            "8": "10g"
                        },
                        "name": "1/9",
                        "part_number_cfg": "JL687A",
                        "type": "line_card"
                    },
                    "management_module/1%2F5": {
                        "name": "1/5",
                        "type": "management_module"
                    },
                    "management_module/1%2F6": {
                        "name": "1/6",
                        "type": "management_module"
                    },
                    "rear_display_card/1%2FRDC": {
                        "name": "1/RDC",
                        "type": "rear_display_card"
                    }
                },
                "syslog_remotes": {
                    "10.132.10.51": {
                        "include_auditable_events": false,
                        "rate_limit": {
                            "burst": 0,
                            "interval": 0
                        },
                        "remote_host": "10.132.10.51",
                        "severity": "notice",
                        "unsecure_tls_renegotiation": false,
                        "vrf": "ADMIN"
                    }
                },
                "timezone": "Europe/Paris"
            },
            "User": {
                "admin": {
                    "name": "admin",
                    "origin": "built-in",
                    "password": "verystrongpassword+she"
                }
            },
            "VLAN": {
                "1661": {
                    "id": 1661,
                    "name": "ADMIN-1661-CR01-A_EF-Z1PU-VSS"
                },
                "201": {
                    "id": 201,
                    "name": "SIH-201-ITCO-CR01-A_CR02-B"
                },
                "202": {
                    "id": 202,
                    "name": "SIH-202-ITCO-CR01-A_EBPU01-A"
                },
                "222": {
                    "id": 222,
                    "name": "test-autoconfirm"
                },
                "274": {
                    "id": 274,
                    "name": "SIH-274-ITCO-CR01-A_EFHD01-A"
                },
                "299": {
                    "id": 299,
                    "name": "SIH-229-ITCO-CR01-A_CR-CISCO1"
                },
                "472": {
                    "id": 472,
                    "name": "SIH-472-CR01-A_EF-Z1PU-VSS"
                },
                "601": {
                    "id": 601,
                    "name": "ADMIN-601-ITCO-CR01-A_CR02-B"
                },
                "602": {
                    "id": 602,
                    "name": "ADMIN-602-ITCO-CR01-A_EBPU01-A"
                },
                "674": {
                    "id": 674,
                    "name": "ADMIN-674-ITCO-CR01-A_EFHD01-A"
                },
                "699": {
                    "id": 699,
                    "name": "ADMIN-699-ITCO-CR01-A_CR-CISCO1"
                },
                "999": {
                    "id": 999,
                    "name": "NATIVE"
                }
            },
            "VRF": {
                "ADMIN": {
                    "Static_Route": {
                        "ADMIN/0.0.0.0%2F0": {
                            "address_family": "ipv4",
                            "prefix": "0.0.0.0/0",
                            "static_nexthops": {
                                "0": {
                                    "bfd_enable": false,
                                    "distance": 1,
                                    "ip_address": "172.16.39.10",
                                    "type": "forward"
                                }
                            }
                        },
                        "ADMIN/4.4.4.4%2F32": {
                            "address_family": "ipv4",
                            "prefix": "4.4.4.4/32",
                            "static_nexthops": {
                                "0": {
                                    "bfd_enable": false,
                                    "distance": 1,
                                    "type": "blackhole"
                                }
                            }
                        }
                    },
                    "Tacacs_Server": {
                        "ADMIN/192.168.123.51/49": {
                            "address": "192.168.123.51",
                            "default_group_priority": 1,
                            "group": [
                                "CLIENT-TACACS",
                                "tacacs"
                            ],
                            "passkey": "verystrongpasskey+gYX9F",
                            "tcp_port": 49,
                            "user_group_priority": 1
                        },
                        "ADMIN/192.168.123.52/49": {
                            "address": "192.168.123.52",
                            "default_group_priority": 2,
                            "group": [
                                "CLIENT-TACACS",
                                "tacacs"
                            ],
                            "passkey": "verystrongpasskey+gYX9F",
                            "tcp_port": 49,
                            "user_group_priority": 2
                        }
                    },
                    "dns_domain_name": "client.domain.com",
                    "dns_name_servers": {
                        "0": "10.50.1.1",
                        "1": "10.50.1.2"
                    },
                    "https_server": {
                        "enable": "true"
                    },
                    "name": "ADMIN",
                    "ospf_routers": {
                        "6": {
                            "admin_router_id": "172.25.6.1",
                            "areas": {
                                "0.0.0.0": {
                                    "ospf_interfaces": {
                                        "loopback6": {
                                            "port": "loopback6"
                                        },
                                        "vlan601": {
                                            "port": "vlan601"
                                        },
                                        "vlan602": {
                                            "port": "vlan602"
                                        },
                                        "vlan699": {
                                            "port": "vlan699"
                                        }
                                    }
                                },
                                "0.0.0.3": {
                                    "ospf_interfaces": {
                                        "vlan674": {
                                            "port": "vlan674"
                                        }
                                    }
                                }
                            },
                            "bfd_all_interfaces_enable": true,
                            "lsa_arrival": 80,
                            "lsa_throttle": {
                                "hold_time": 100,
                                "max_wait_time": 5000,
                                "start_time": 10
                            },
                            "other_config": {
                                "ospf_rfc1583_compatible": "true"
                            },
                            "redistribute_route_map": {
                                "static": "redis_static"
                            },
                            "snmp_traps": {
                                "base": "true",
                                "lsa": "true"
                            },
                            "spf_throttle": {
                                "hold_time": 100,
                                "start_time": 10
                            },
                            "stub_router_adv": {
                                "startup": "120"
                            }
                        }
                    },
                    "rd": "65003:6",
                    "snmp_enable": true,
                    "source_interface": {
                        "dns": "loopback6",
                        "ntp": "loopback6",
                        "sflow": "loopback6",
                        "snmp_trap": "loopback6",
                        "snmp_trap_ipv6": "loopback6",
                        "syslog": "loopback6",
                        "tacacs": "loopback6"
                    },
                    "ssh_enable": true
                },
                "SIH": {
                    "Static_Route": {
                        "SIH/0.0.0.0%2F0": {
                            "address_family": "ipv4",
                            "prefix": "0.0.0.0/0",
                            "static_nexthops": {
                                "0": {
                                    "bfd_enable": false,
                                    "distance": 1,
                                    "ip_address": "192.168.39.178",
                                    "type": "forward"
                                }
                            }
                        }
                    },
                    "name": "SIH",
                    "ospf_routers": {
                        "1": {
                            "admin_router_id": "0.0.0.0"
                        },
                        "2": {
                            "admin_router_id": "172.25.2.1",
                            "areas": {
                                "0.0.0.0": {
                                    "ospf_interfaces": {
                                        "loopback0": {
                                            "port": "loopback0"
                                        },
                                        "loopback1": {
                                            "port": "loopback1"
                                        },
                                        "vlan201": {
                                            "port": "vlan201"
                                        },
                                        "vlan202": {
                                            "port": "vlan202"
                                        },
                                        "vlan299": {
                                            "port": "vlan299"
                                        }
                                    }
                                },
                                "0.0.0.3": {
                                    "ospf_interfaces": {
                                        "vlan274": {
                                            "port": "vlan274"
                                        }
                                    }
                                }
                            },
                            "bfd_all_interfaces_enable": true,
                            "default_originate": "originate",
                            "lsa_arrival": 80,
                            "lsa_throttle": {
                                "hold_time": 100,
                                "max_wait_time": 5000,
                                "start_time": 10
                            },
                            "other_config": {
                                "ospf_rfc1583_compatible": "true"
                            },
                            "snmp_traps": {
                                "base": "true",
                                "lsa": "true"
                            },
                            "spf_throttle": {
                                "hold_time": 100,
                                "start_time": 10
                            },
                            "stub_router_adv": {
                                "startup": "120"
                            }
                        }
                    },
                    "pim_routers": {
                        "ipv4": {
                            "candidate_bsr_port": "loopback1",
                            "candidate_bsr_priority": 100,
                            "candidate_rp_group_prefix": "224.0.0.0/4",
                            "candidate_rp_port": "loopback1",
                            "candidate_rp_priority": 50,
                            "router_enable": true
                        }
                    },
                    "rd": "65003:2"
                },
                "default": {
                    "NTP_Association": {
                        "default/10.255.31.1": {
                            "address": "10.255.31.1",
                            "association_attributes": {
                                "burst_mode": "none",
                                "maxpoll": "10",
                                "minpoll": "6",
                                "ntp_version": "4",
                                "prefer": "true",
                                "ref_clock_id": "--"
                            },
                            "origin": "configuration"
                        },
                        "default/10.255.31.2": {
                            "address": "10.255.31.2",
                            "association_attributes": {
                                "burst_mode": "none",
                                "maxpoll": "10",
                                "minpoll": "6",
                                "ntp_version": "4",
                                "prefer": "false",
                                "ref_clock_id": "--"
                            },
                            "origin": "configuration"
                        }
                    },
                    "name": "default"
                }
            },
            "sFlow": {
                "global": {
                    "agent_address": "172.25.6.1",
                    "collectors": {
                        "ADMIN/10.231.31.26/6343": {
                            "ip_address": "10.231.31.26",
                            "udp_port": 6343,
                            "vrf": "ADMIN"
                        }
                    },
                    "enabled": true,
                    "name": "global",
                    "polling": 10,
                    "sampling": 100
                }
            },
            "schema_version": "1.0.1"
        },
        "startup": {
            "AAA_Server_Group": {
                "CLIENT-TACACS": {
                    "group_name": "CLIENT-TACACS",
                    "group_type": "tacacs"
                },
                "local": {
                    "group_name": "local"
                },
                "tacacs": {
                    "group_name": "tacacs"
                }
            },
            "AAA_Server_Group_Prio": {
                "default": {
                    "accounting_group_prios": {
                        "0": "CLIENT-TACACS",
                        "1": "local"
                    },
                    "authentication_group_prios": {
                        "0": "CLIENT-TACACS",
                        "1": "local"
                    },
                    "authorization_group_prios": {
                        "0": "CLIENT-TACACS",
                        "1": "local"
                    },
                    "session_type": "default"
                }
            },
            "ACL": {
                "1301/ipv4": {
                    "cfg_aces": {
                        "10": {
                            "action": "permit",
                            "src_ip": "10.231.31.12/255.255.255.255"
                        },
                        "5": {
                            "action": "permit",
                            "src_ip": "10.231.31.26/255.255.255.255"
                        }
                    },
                    "cfg_version": -2743948878976325,
                    "list_type": "ipv4",
                    "name": "1301"
                }
            },
            "Interface": {
                "1%2F9%2F1": {
                    "description": "Vers EC-CLIENT",
                    "name": "1/9/1",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F27": {
                    "name": "1/9/27",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F28": {
                    "name": "1/9/28",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F29": {
                    "description": "Vers CR CISCO1",
                    "name": "1/9/29",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up"
                    }
                },
                "1%2F9%2F30": {
                    "description": "Vers EBPU01-A",
                    "name": "1/9/30",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up",
                        "mtu": "9198"
                    }
                },
                "1%2F9%2F31": {
                    "description": "Vers CR01-B",
                    "name": "1/9/31",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up",
                        "mtu": "9198"
                    }
                },
                "1%2F9%2F32": {
                    "description": "Vers EFHD01-A",
                    "name": "1/9/32",
                    "udld_compatibility": "rfc5171",
                    "udld_enable": true,
                    "udld_rfc5171_compatibility_mode": "aggressive",
                    "user_config": {
                        "admin": "up",
                        "mtu": "9198"
                    }
                },
                "loopback0": {
                    "name": "loopback0",
                    "type": "loopback"
                },
                "loopback1": {
                    "name": "loopback1",
                    "type": "loopback"
                },
                "loopback2": {
                    "name": "loopback2",
                    "type": "loopback"
                },
                "loopback44": {
                    "name": "loopback44",
                    "type": "loopback"
                },
                "loopback6": {
                    "name": "loopback6",
                    "type": "loopback"
                },
                "vlan1661": {
                    "name": "vlan1661",
                    "type": "vlan"
                },
                "vlan201": {
                    "name": "vlan201",
                    "type": "vlan"
                },
                "vlan202": {
                    "name": "vlan202",
                    "type": "vlan"
                },
                "vlan222": {
                    "name": "vlan222",
                    "type": "vlan"
                },
                "vlan274": {
                    "name": "vlan274",
                    "type": "vlan"
                },
                "vlan299": {
                    "name": "vlan299",
                    "type": "vlan"
                },
                "vlan472": {
                    "name": "vlan472",
                    "type": "vlan"
                },
                "vlan601": {
                    "name": "vlan601",
                    "type": "vlan"
                },
                "vlan602": {
                    "name": "vlan602",
                    "type": "vlan"
                },
                "vlan674": {
                    "name": "vlan674",
                    "type": "vlan"
                },
                "vlan699": {
                    "name": "vlan699",
                    "type": "vlan"
                }
            },
            "Port": {
                "1%2F4%2F1": {
                    "interfaces": [
                        "1%2F4%2F1"
                    ],
                    "name": "1/4/1"
                },
                "1%2F4%2F2": {
                    "interfaces": [
                        "1%2F4%2F2"
                    ],
                    "name": "1/4/2"
                },
                "1%2F4%2F3": {
                    "interfaces": [
                        "1%2F4%2F3"
                    ],
                    "name": "1/4/3"
                },
                "1%2F4%2F4": {
                    "interfaces": [
                        "1%2F4%2F4"
                    ],
                    "name": "1/4/4"
                },
                "1%2F4%2F5": {
                    "interfaces": [
                        "1%2F4%2F5"
                    ],
                    "name": "1/4/5"
                },
                "1%2F4%2F6": {
                    "interfaces": [
                        "1%2F4%2F6"
                    ],
                    "name": "1/4/6"
                },
                "1%2F4%2F7": {
                    "interfaces": [
                        "1%2F4%2F7"
                    ],
                    "name": "1/4/7"
                },
                "1%2F4%2F8": {
                    "interfaces": [
                        "1%2F4%2F8"
                    ],
                    "name": "1/4/8"
                },
                "1%2F7%2F1": {
                    "interfaces": [
                        "1%2F7%2F1"
                    ],
                    "name": "1/7/1"
                },
                "1%2F7%2F2": {
                    "interfaces": [
                        "1%2F7%2F2"
                    ],
                    "name": "1/7/2"
                },
                "1%2F7%2F3": {
                    "interfaces": [
                        "1%2F7%2F3"
                    ],
                    "name": "1/7/3"
                },
                "1%2F7%2F4": {
                    "interfaces": [
                        "1%2F7%2F4"
                    ],
                    "name": "1/7/4"
                },
                "1%2F7%2F5": {
                    "interfaces": [
                        "1%2F7%2F5"
                    ],
                    "name": "1/7/5"
                },
                "1%2F7%2F6": {
                    "interfaces": [
                        "1%2F7%2F6"
                    ],
                    "name": "1/7/6"
                },
                "1%2F7%2F7": {
                    "interfaces": [
                        "1%2F7%2F7"
                    ],
                    "name": "1/7/7"
                },
                "1%2F7%2F8": {
                    "interfaces": [
                        "1%2F7%2F8"
                    ],
                    "name": "1/7/8"
                },
                "1%2F9%2F1": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F1"
                    ],
                    "name": "1/9/1",
                    "routing": false,
                    "stp_config": {
                        "link_type": "point-to-point"
                    },
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "1",
                    "vlan_trunks": [
                        "1661",
                        "472"
                    ]
                },
                "1%2F9%2F10": {
                    "interfaces": [
                        "1%2F9%2F10"
                    ],
                    "name": "1/9/10"
                },
                "1%2F9%2F11": {
                    "interfaces": [
                        "1%2F9%2F11"
                    ],
                    "name": "1/9/11"
                },
                "1%2F9%2F12": {
                    "interfaces": [
                        "1%2F9%2F12"
                    ],
                    "name": "1/9/12"
                },
                "1%2F9%2F13": {
                    "interfaces": [
                        "1%2F9%2F13"
                    ],
                    "name": "1/9/13"
                },
                "1%2F9%2F14": {
                    "interfaces": [
                        "1%2F9%2F14"
                    ],
                    "name": "1/9/14"
                },
                "1%2F9%2F15": {
                    "interfaces": [
                        "1%2F9%2F15"
                    ],
                    "name": "1/9/15"
                },
                "1%2F9%2F16": {
                    "interfaces": [
                        "1%2F9%2F16"
                    ],
                    "name": "1/9/16"
                },
                "1%2F9%2F17": {
                    "interfaces": [
                        "1%2F9%2F17"
                    ],
                    "name": "1/9/17"
                },
                "1%2F9%2F18": {
                    "interfaces": [
                        "1%2F9%2F18"
                    ],
                    "name": "1/9/18"
                },
                "1%2F9%2F19": {
                    "interfaces": [
                        "1%2F9%2F19"
                    ],
                    "name": "1/9/19"
                },
                "1%2F9%2F2": {
                    "interfaces": [
                        "1%2F9%2F2"
                    ],
                    "name": "1/9/2"
                },
                "1%2F9%2F20": {
                    "interfaces": [
                        "1%2F9%2F20"
                    ],
                    "name": "1/9/20"
                },
                "1%2F9%2F21": {
                    "interfaces": [
                        "1%2F9%2F21"
                    ],
                    "name": "1/9/21"
                },
                "1%2F9%2F22": {
                    "interfaces": [
                        "1%2F9%2F22"
                    ],
                    "name": "1/9/22"
                },
                "1%2F9%2F23": {
                    "interfaces": [
                        "1%2F9%2F23"
                    ],
                    "name": "1/9/23"
                },
                "1%2F9%2F24": {
                    "interfaces": [
                        "1%2F9%2F24"
                    ],
                    "name": "1/9/24"
                },
                "1%2F9%2F25": {
                    "interfaces": [
                        "1%2F9%2F25"
                    ],
                    "name": "1/9/25"
                },
                "1%2F9%2F26": {
                    "interfaces": [
                        "1%2F9%2F26"
                    ],
                    "name": "1/9/26"
                },
                "1%2F9%2F27": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F27"
                    ],
                    "name": "1/9/27"
                },
                "1%2F9%2F28": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F28"
                    ],
                    "name": "1/9/28"
                },
                "1%2F9%2F29": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F29"
                    ],
                    "name": "1/9/29",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "1",
                    "vlan_trunks": [
                        "299",
                        "699"
                    ]
                },
                "1%2F9%2F3": {
                    "interfaces": [
                        "1%2F9%2F3"
                    ],
                    "name": "1/9/3"
                },
                "1%2F9%2F30": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F30"
                    ],
                    "loop_protect_enable": true,
                    "loop_protect_vlan": [
                        "602",
                        "202"
                    ],
                    "name": "1/9/30",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "999",
                    "vlan_trunks": [
                        "602",
                        "202"
                    ]
                },
                "1%2F9%2F31": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F31"
                    ],
                    "loop_protect_enable": true,
                    "loop_protect_vlan": [
                        "201",
                        "601"
                    ],
                    "name": "1/9/31",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "999",
                    "vlan_trunks": [
                        "201",
                        "601"
                    ]
                },
                "1%2F9%2F32": {
                    "admin": "up",
                    "interfaces": [
                        "1%2F9%2F32"
                    ],
                    "loop_protect_enable": true,
                    "loop_protect_vlan": [
                        "274",
                        "674"
                    ],
                    "name": "1/9/32",
                    "routing": false,
                    "vlan_mode": "native-untagged",
                    "vlan_tag": "999",
                    "vlan_trunks": [
                        "274",
                        "674"
                    ]
                },
                "1%2F9%2F4": {
                    "interfaces": [
                        "1%2F9%2F4"
                    ],
                    "name": "1/9/4"
                },
                "1%2F9%2F5": {
                    "interfaces": [
                        "1%2F9%2F5"
                    ],
                    "name": "1/9/5"
                },
                "1%2F9%2F6": {
                    "interfaces": [
                        "1%2F9%2F6"
                    ],
                    "name": "1/9/6"
                },
                "1%2F9%2F7": {
                    "interfaces": [
                        "1%2F9%2F7"
                    ],
                    "name": "1/9/7"
                },
                "1%2F9%2F8": {
                    "interfaces": [
                        "1%2F9%2F8"
                    ],
                    "name": "1/9/8"
                },
                "1%2F9%2F9": {
                    "interfaces": [
                        "1%2F9%2F9"
                    ],
                    "name": "1/9/9"
                },
                "loopback0": {
                    "interfaces": [
                        "loopback0"
                    ],
                    "ip4_address": "172.25.2.1/32",
                    "name": "loopback0",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_loopback",
                    "vrf": "SIH"
                },
                "loopback1": {
                    "interfaces": [
                        "loopback1"
                    ],
                    "ip4_address": "172.25.2.251/32",
                    "name": "loopback1",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_loopback",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "loopback2": {
                    "interfaces": [
                        "loopback2"
                    ],
                    "name": "loopback2"
                },
                "loopback44": {
                    "interfaces": [
                        "loopback44"
                    ],
                    "name": "loopback44",
                    "origin": "configuration",
                    "vrf": "ADMIN"
                },
                "loopback6": {
                    "interfaces": [
                        "loopback6"
                    ],
                    "ip4_address": "172.25.6.1/32",
                    "name": "loopback6",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_loopback",
                    "vrf": "ADMIN"
                },
                "vlan1661": {
                    "interfaces": [
                        "vlan1661"
                    ],
                    "ip4_address": "172.16.39.12/29",
                    "name": "vlan1661",
                    "origin": "configuration",
                    "vrf": "ADMIN"
                },
                "vlan201": {
                    "interfaces": [
                        "vlan201"
                    ],
                    "ip4_address": "172.26.2.0/31",
                    "ip_mtu": 9198,
                    "name": "vlan201",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan202": {
                    "interfaces": [
                        "vlan202"
                    ],
                    "ip4_address": "172.26.2.2/31",
                    "ip_mtu": 9198,
                    "name": "vlan202",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan222": {
                    "interfaces": [
                        "vlan222"
                    ],
                    "name": "vlan222"
                },
                "vlan274": {
                    "interfaces": [
                        "vlan274"
                    ],
                    "ip4_address": "172.26.2.146/31",
                    "ip_mtu": 9198,
                    "name": "vlan274",
                    "origin": "configuration",
                    "ospf_if_out_cost": 5,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan299": {
                    "interfaces": [
                        "vlan299"
                    ],
                    "ip4_address": "172.26.2.250/31",
                    "name": "vlan299",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "pim_mode": {
                        "ipv4": "sparse"
                    },
                    "vrf": "SIH"
                },
                "vlan472": {
                    "interfaces": [
                        "vlan472"
                    ],
                    "ip4_address": "192.168.39.180/29",
                    "name": "vlan472",
                    "origin": "configuration",
                    "vrf": "SIH"
                },
                "vlan601": {
                    "interfaces": [
                        "vlan601"
                    ],
                    "ip4_address": "172.26.6.0/31",
                    "ip_mtu": 9198,
                    "name": "vlan601",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                },
                "vlan602": {
                    "interfaces": [
                        "vlan602"
                    ],
                    "ip4_address": "172.26.6.2/31",
                    "ip_mtu": 9198,
                    "name": "vlan602",
                    "origin": "configuration",
                    "ospf_if_out_cost": 10,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                },
                "vlan674": {
                    "interfaces": [
                        "vlan674"
                    ],
                    "ip4_address": "172.26.6.146/31",
                    "ip_mtu": 9198,
                    "name": "vlan674",
                    "origin": "configuration",
                    "ospf_if_out_cost": 5,
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                },
                "vlan699": {
                    "interfaces": [
                        "vlan699"
                    ],
                    "ip4_address": "172.26.6.250/31",
                    "name": "vlan699",
                    "origin": "configuration",
                    "ospf_if_type": "ospf_iftype_pointopoint",
                    "vrf": "ADMIN"
                }
            },
            "Route_Map": {
                "redis_static": {
                    "name": "redis_static",
                    "route_map_entries": {
                        "10": {
                            "action": "permit",
                            "set": {
                                "metric_type": "external_type1"
                            }
                        }
                    }
                }
            },
            "SNMP_Community_ACL": {
                "R23fbe95": {
                    "aclv4": "1301/ipv4",
                    "name": "R23fbe95"
                }
            },
            "SNMP_Trap": {
                "ADMIN/10.231.31.12/162/trap/v2c": {
                    "community_name": "R23fbe95",
                    "receiver_address": "10.231.31.12",
                    "receiver_udp_port": 162,
                    "type": "trap",
                    "version": "v2c",
                    "vrf": "ADMIN"
                }
            },
            "STP_Instance": {
                "rpvst/1661": {
                    "instance_type": "rpvst",
                    "origin": "built-in",
                    "priority": 15,
                    "stp_instance_id": 1661
                },
                "rpvst/472": {
                    "instance_type": "rpvst",
                    "origin": "built-in",
                    "priority": 15,
                    "stp_instance_id": 472
                }
            },
            "System": {
                "aruba_central": {
                    "Aruba_Central1": {
                        "disable": true
                    }
                },
                "bfd_detect_multiplier": 2,
                "bfd_enable": true,
                "bfd_min_rx_interval": 500,
                "bfd_min_tx_interval": 500,
                "domain_name": "client.domain.com",
                "hostname": "CR-1",
                "loop_protect_disable_timer": 300,
                "loop_protect_loop_detected_trap_enable": true,
                "loop_protect_transmit_interval": 2,
                "mgmt_intf": {
                    "ip": "192.168.1.249",
                    "mode": "static",
                    "name": "eth0",
                    "subnet_mask": "24"
                },
                "ntp_config": {
                    "enable": "true"
                },
                "ntp_config_vrf": "ADMIN",
                "other_config": {
                    "system_location": "Maquette"
                },
                "qos_config": {
                    "qos_trust": "dscp"
                },
                "qos_cos_map_entries": {
                    "0": {
                        "code_point": 0
                    },
                    "1": {
                        "code_point": 1
                    },
                    "2": {
                        "code_point": 2
                    },
                    "3": {
                        "code_point": 3
                    },
                    "4": {
                        "code_point": 4
                    },
                    "5": {
                        "code_point": 5
                    },
                    "6": {
                        "code_point": 6
                    },
                    "7": {
                        "code_point": 7
                    }
                },
                "qos_dscp_map_entries": {
                    "0": {
                        "code_point": 0
                    },
                    "1": {
                        "code_point": 1
                    },
                    "10": {
                        "code_point": 10
                    },
                    "11": {
                        "code_point": 11
                    },
                    "12": {
                        "code_point": 12
                    },
                    "13": {
                        "code_point": 13
                    },
                    "14": {
                        "code_point": 14
                    },
                    "15": {
                        "code_point": 15
                    },
                    "16": {
                        "code_point": 16
                    },
                    "17": {
                        "code_point": 17
                    },
                    "18": {
                        "code_point": 18
                    },
                    "19": {
                        "code_point": 19
                    },
                    "2": {
                        "code_point": 2
                    },
                    "20": {
                        "code_point": 20
                    },
                    "21": {
                        "code_point": 21
                    },
                    "22": {
                        "code_point": 22
                    },
                    "23": {
                        "code_point": 23
                    },
                    "24": {
                        "code_point": 24
                    },
                    "25": {
                        "code_point": 25
                    },
                    "26": {
                        "code_point": 26
                    },
                    "27": {
                        "code_point": 27
                    },
                    "28": {
                        "code_point": 28
                    },
                    "29": {
                        "code_point": 29
                    },
                    "3": {
                        "code_point": 3
                    },
                    "30": {
                        "code_point": 30
                    },
                    "31": {
                        "code_point": 31
                    },
                    "32": {
                        "code_point": 32
                    },
                    "33": {
                        "code_point": 33
                    },
                    "34": {
                        "code_point": 34
                    },
                    "35": {
                        "code_point": 35
                    },
                    "36": {
                        "code_point": 36
                    },
                    "37": {
                        "code_point": 37
                    },
                    "38": {
                        "code_point": 38
                    },
                    "39": {
                        "code_point": 39
                    },
                    "4": {
                        "code_point": 4
                    },
                    "40": {
                        "code_point": 40
                    },
                    "41": {
                        "code_point": 41
                    },
                    "42": {
                        "code_point": 42
                    },
                    "43": {
                        "code_point": 43
                    },
                    "44": {
                        "code_point": 44
                    },
                    "45": {
                        "code_point": 45
                    },
                    "46": {
                        "code_point": 46
                    },
                    "47": {
                        "code_point": 47
                    },
                    "48": {
                        "code_point": 48
                    },
                    "49": {
                        "code_point": 49
                    },
                    "5": {
                        "code_point": 5
                    },
                    "50": {
                        "code_point": 50
                    },
                    "51": {
                        "code_point": 51
                    },
                    "52": {
                        "code_point": 52
                    },
                    "53": {
                        "code_point": 53
                    },
                    "54": {
                        "code_point": 54
                    },
                    "55": {
                        "code_point": 55
                    },
                    "56": {
                        "code_point": 56
                    },
                    "57": {
                        "code_point": 57
                    },
                    "58": {
                        "code_point": 58
                    },
                    "59": {
                        "code_point": 59
                    },
                    "6": {
                        "code_point": 6
                    },
                    "60": {
                        "code_point": 60
                    },
                    "61": {
                        "code_point": 61
                    },
                    "62": {
                        "code_point": 62
                    },
                    "63": {
                        "code_point": 63
                    },
                    "7": {
                        "code_point": 7
                    },
                    "8": {
                        "code_point": 8
                    },
                    "9": {
                        "code_point": 9
                    }
                },
                "rest_api": {
                    "access_mode": "read-only"
                },
                "rpvst_enabled_vlans": [
                    "1661",
                    "472"
                ],
                "snmp_communities": "R23fbe95",
                "stp_config": {
                    "mstp_config_revision": "0",
                    "stp_enable": "true",
                    "stp_mode": "rpvst"
                },
                "subsystems": {
                    "chassis/1": {
                        "name": "1",
                        "type": "chassis"
                    },
                    "fabric_card/1%2F1": {
                        "name": "1/1",
                        "part_number_cfg": "JL367A",
                        "type": "fabric_card"
                    },
                    "fabric_card/1%2F2": {
                        "name": "1/2",
                        "part_number_cfg": "JL367A",
                        "type": "fabric_card"
                    },
                    "fabric_card/1%2F3": {
                        "name": "1/3",
                        "part_number_cfg": "JL367A",
                        "type": "fabric_card"
                    },
                    "fan_tray/1%2F1": {
                        "name": "1/1",
                        "type": "fan_tray"
                    },
                    "fan_tray/1%2F2": {
                        "name": "1/2",
                        "type": "fan_tray"
                    },
                    "fan_tray/1%2F3": {
                        "name": "1/3",
                        "type": "fan_tray"
                    },
                    "line_card/1%2F1": {
                        "name": "1/1",
                        "type": "line_card"
                    },
                    "line_card/1%2F10": {
                        "name": "1/10",
                        "type": "line_card"
                    },
                    "line_card/1%2F2": {
                        "name": "1/2",
                        "type": "line_card"
                    },
                    "line_card/1%2F3": {
                        "name": "1/3",
                        "type": "line_card"
                    },
                    "line_card/1%2F4": {
                        "name": "1/4",
                        "part_number_cfg": "JL365A",
                        "type": "line_card"
                    },
                    "line_card/1%2F7": {
                        "name": "1/7",
                        "part_number_cfg": "JL365A",
                        "type": "line_card"
                    },
                    "line_card/1%2F8": {
                        "name": "1/8",
                        "type": "line_card"
                    },
                    "line_card/1%2F9": {
                        "interface_group_speed": {
                            "1": "10g",
                            "7": "10g",
                            "8": "10g"
                        },
                        "name": "1/9",
                        "part_number_cfg": "JL687A",
                        "type": "line_card"
                    },
                    "management_module/1%2F5": {
                        "name": "1/5",
                        "type": "management_module"
                    },
                    "management_module/1%2F6": {
                        "name": "1/6",
                        "type": "management_module"
                    },
                    "rear_display_card/1%2FRDC": {
                        "name": "1/RDC",
                        "type": "rear_display_card"
                    }
                },
                "syslog_remotes": {
                    "10.132.10.51": {
                        "include_auditable_events": false,
                        "rate_limit": {
                            "burst": 0,
                            "interval": 0
                        },
                        "remote_host": "10.132.10.51",
                        "severity": "notice",
                        "unsecure_tls_renegotiation": false,
                        "vrf": "ADMIN"
                    }
                },
                "timezone": "Europe/Paris"
            },
            "User": {
                "admin": {
                    "name": "admin",
                    "origin": "built-in",
                    "password": "verystrongpassword+she"
                }
            },
            "VLAN": {
                "1661": {
                    "id": 1661,
                    "name": "ADMIN-1661-CR01-A_EF-Z1PU-VSS"
                },
                "201": {
                    "id": 201,
                    "name": "SIH-201-ITCO-CR01-A_CR02-B"
                },
                "202": {
                    "id": 202,
                    "name": "SIH-202-ITCO-CR01-A_EBPU01-A"
                },
                "222": {
                    "id": 222,
                    "name": "test-autoconfirm"
                },
                "274": {
                    "id": 274,
                    "name": "SIH-274-ITCO-CR01-A_EFHD01-A"
                },
                "299": {
                    "id": 299,
                    "name": "SIH-229-ITCO-CR01-A_CR-CISCO1"
                },
                "472": {
                    "id": 472,
                    "name": "SIH-472-CR01-A_EF-Z1PU-VSS"
                },
                "601": {
                    "id": 601,
                    "name": "ADMIN-601-ITCO-CR01-A_CR02-B"
                },
                "602": {
                    "id": 602,
                    "name": "ADMIN-602-ITCO-CR01-A_EBPU01-A"
                },
                "674": {
                    "id": 674,
                    "name": "ADMIN-674-ITCO-CR01-A_EFHD01-A"
                },
                "699": {
                    "id": 699,
                    "name": "ADMIN-699-ITCO-CR01-A_CR-CISCO1"
                },
                "999": {
                    "id": 999,
                    "name": "NATIVE"
                }
            },
            "VRF": {
                "ADMIN": {
                    "Static_Route": {
                        "ADMIN/0.0.0.0%2F0": {
                            "address_family": "ipv4",
                            "prefix": "0.0.0.0/0",
                            "static_nexthops": {
                                "0": {
                                    "bfd_enable": false,
                                    "distance": 1,
                                    "ip_address": "172.16.39.10",
                                    "type": "forward"
                                }
                            }
                        },
                        "ADMIN/4.4.4.4%2F32": {
                            "address_family": "ipv4",
                            "prefix": "4.4.4.4/32",
                            "static_nexthops": {
                                "0": {
                                    "bfd_enable": false,
                                    "distance": 1,
                                    "type": "blackhole"
                                }
                            }
                        }
                    },
                    "Tacacs_Server": {
                        "ADMIN/192.168.123.51/49": {
                            "address": "192.168.123.51",
                            "default_group_priority": 1,
                            "group": [
                                "CLIENT-TACACS",
                                "tacacs"
                            ],
                            "passkey": "verystrongpasskey+gYX9F",
                            "tcp_port": 49,
                            "user_group_priority": 1
                        },
                        "ADMIN/192.168.123.52/49": {
                            "address": "192.168.123.52",
                            "default_group_priority": 2,
                            "group": [
                                "CLIENT-TACACS",
                                "tacacs"
                            ],
                            "passkey": "verystrongpasskey+gYX9F",
                            "tcp_port": 49,
                            "user_group_priority": 2
                        }
                    },
                    "dns_domain_name": "client.domain.com",
                    "dns_name_servers": {
                        "0": "10.50.1.1",
                        "1": "10.50.1.2"
                    },
                    "https_server": {
                        "enable": "true"
                    },
                    "name": "ADMIN",
                    "ospf_routers": {
                        "6": {
                            "admin_router_id": "172.25.6.1",
                            "areas": {
                                "0.0.0.0": {
                                    "ospf_interfaces": {
                                        "loopback6": {
                                            "port": "loopback6"
                                        },
                                        "vlan601": {
                                            "port": "vlan601"
                                        },
                                        "vlan602": {
                                            "port": "vlan602"
                                        },
                                        "vlan699": {
                                            "port": "vlan699"
                                        }
                                    }
                                },
                                "0.0.0.3": {
                                    "ospf_interfaces": {
                                        "vlan674": {
                                            "port": "vlan674"
                                        }
                                    }
                                }
                            },
                            "bfd_all_interfaces_enable": true,
                            "lsa_arrival": 80,
                            "lsa_throttle": {
                                "hold_time": 100,
                                "max_wait_time": 5000,
                                "start_time": 10
                            },
                            "other_config": {
                                "ospf_rfc1583_compatible": "true"
                            },
                            "redistribute_route_map": {
                                "static": "redis_static"
                            },
                            "snmp_traps": {
                                "base": "true",
                                "lsa": "true"
                            },
                            "spf_throttle": {
                                "hold_time": 100,
                                "start_time": 10
                            },
                            "stub_router_adv": {
                                "startup": "120"
                            }
                        }
                    },
                    "rd": "65003:6",
                    "snmp_enable": true,
                    "source_interface": {
                        "dns": "loopback6",
                        "ntp": "loopback6",
                        "sflow": "loopback6",
                        "snmp_trap": "loopback6",
                        "snmp_trap_ipv6": "loopback6",
                        "syslog": "loopback6",
                        "tacacs": "loopback6"
                    },
                    "ssh_enable": true
                },
                "SIH": {
                    "Static_Route": {
                        "SIH/0.0.0.0%2F0": {
                            "address_family": "ipv4",
                            "prefix": "0.0.0.0/0",
                            "static_nexthops": {
                                "0": {
                                    "bfd_enable": false,
                                    "distance": 1,
                                    "ip_address": "192.168.39.178",
                                    "type": "forward"
                                }
                            }
                        }
                    },
                    "name": "SIH",
                    "ospf_routers": {
                        "1": {
                            "admin_router_id": "0.0.0.0"
                        },
                        "2": {
                            "admin_router_id": "172.25.2.1",
                            "areas": {
                                "0.0.0.0": {
                                    "ospf_interfaces": {
                                        "loopback0": {
                                            "port": "loopback0"
                                        },
                                        "loopback1": {
                                            "port": "loopback1"
                                        },
                                        "vlan201": {
                                            "port": "vlan201"
                                        },
                                        "vlan202": {
                                            "port": "vlan202"
                                        },
                                        "vlan299": {
                                            "port": "vlan299"
                                        }
                                    }
                                },
                                "0.0.0.3": {
                                    "ospf_interfaces": {
                                        "vlan274": {
                                            "port": "vlan274"
                                        }
                                    }
                                }
                            },
                            "bfd_all_interfaces_enable": true,
                            "default_originate": "originate",
                            "lsa_arrival": 80,
                            "lsa_throttle": {
                                "hold_time": 100,
                                "max_wait_time": 5000,
                                "start_time": 10
                            },
                            "other_config": {
                                "ospf_rfc1583_compatible": "true"
                            },
                            "snmp_traps": {
                                "base": "true",
                                "lsa": "true"
                            },
                            "spf_throttle": {
                                "hold_time": 100,
                                "start_time": 10
                            },
                            "stub_router_adv": {
                                "startup": "120"
                            }
                        }
                    },
                    "pim_routers": {
                        "ipv4": {
                            "candidate_bsr_port": "loopback1",
                            "candidate_bsr_priority": 100,
                            "candidate_rp_group_prefix": "224.0.0.0/4",
                            "candidate_rp_port": "loopback1",
                            "candidate_rp_priority": 50,
                            "router_enable": true
                        }
                    },
                    "rd": "65003:2"
                },
                "default": {
                    "NTP_Association": {
                        "default/10.255.31.1": {
                            "address": "10.255.31.1",
                            "association_attributes": {
                                "burst_mode": "none",
                                "maxpoll": "10",
                                "minpoll": "6",
                                "ntp_version": "4",
                                "prefer": "true",
                                "ref_clock_id": "--"
                            },
                            "origin": "configuration"
                        },
                        "default/10.255.31.2": {
                            "address": "10.255.31.2",
                            "association_attributes": {
                                "burst_mode": "none",
                                "maxpoll": "10",
                                "minpoll": "6",
                                "ntp_version": "4",
                                "prefer": "false",
                                "ref_clock_id": "--"
                            },
                            "origin": "configuration"
                        }
                    },
                    "name": "default"
                }
            },
            "sFlow": {
                "global": {
                    "agent_address": "172.25.6.1",
                    "collectors": {
                        "ADMIN/10.231.31.26/6343": {
                            "ip_address": "10.231.31.26",
                            "udp_port": 6343,
                            "vrf": "ADMIN"
                        }
                    },
                    "enabled": true,
                    "name": "global",
                    "polling": 10,
                    "sampling": 100
                }
            },
            "schema_version": "1.0.1"
        },
        "candidate": ""
    }
}

@jeremystretch jeremystretch added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation and removed status: revisions needed This issue requires additional information to be actionable labels Aug 31, 2021
@thatmattlove thatmattlove self-assigned this Sep 1, 2021
@thatmattlove thatmattlove added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Sep 1, 2021
@thatmattlove
Copy link
Contributor

@damien-martineau I was able to get a hold of an Aruba CX OVA to test with, and I can confirm that 14d87a3 fixes this. In a nutshell, NAPALM is returning an actual JSON object, not a raw string, so we needed to handle that accordingly. There's also some logic to recursively URL decode the response from NAPALM, as it seems either NAPLAM or the Aruba device is sending the data encoded (notice the keys like 1%2F9%2F1 above). Seems to work well from what I can see. This should be available in 3.0.1 soon.

@alagoutte
Copy link

Thanks ! Do you think the patch will be available on 2.x ?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

4 participants