-
Notifications
You must be signed in to change notification settings - Fork 74
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
Decoding gNMI payload failes with ValueError exception #858
Labels
Comments
Can't be reproduced with |
Below payload causes issue {
"openconfig-network-instance:network-instances": {
"network-instance": [
{
"name": "default",
"state": {
"name": "default",
"type": "openconfig-network-instance-types:DEFAULT_INSTANCE",
"enabled": true,
"enabled-address-families": [
"openconfig-types:IPV4",
"openconfig-types:IPV6"
]
},
"interfaces": {
"interface": [
{
"id": "MgmtEth0/RP0/CPU0/0",
"state": {
"id": "MgmtEth0/RP0/CPU0/0",
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0,
"associated-address-families": [
"openconfig-types:IPV4",
"openconfig-types:IPV6"
]
}
},
{
"id": "GigabitEthernet0/0/0/0",
"state": {
"id": "GigabitEthernet0/0/0/0",
"interface": "GigabitEthernet0/0/0/0",
"subinterface": 0,
"associated-address-families": [
"openconfig-types:IPV4",
"openconfig-types:IPV6"
]
}
}
]
},
"protocols": {
"protocol": [
{
"identifier": "openconfig-policy-types:ISIS",
"name": "DEFAULT",
"config": {
"identifier": "openconfig-policy-types:ISIS",
"name": "DEFAULT"
},
"isis": {
"global": {
"config": {
"level-capability": "LEVEL_2",
"net": [
"49.0001.1720.1625.5001.00"
]
},
"nsr": {
"config": {
"enabled": false
},
"state": {
"enabled": false
}
},
"graceful-restart": {
"config": {
"enabled": false
},
"state": {
"enabled": false
}
},
"segment-routing": {
"config": {
"enabled": false
},
"state": {
"enabled": false
}
},
"lsp-bit": {
"attached-bit": {
"config": {
"suppress-bit": false
},
"state": {
"ignore-bit": false,
"suppress-bit": false
}
},
"overload-bit": {
"state": {
"set-bit": false,
"set-bit-on-boot": false,
"advertise-high-metric": false
}
}
},
"afi-safi": {
"af": [
{
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"config": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST"
},
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST"
},
"multi-topology": {
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"enabled": true
}
}
}
]
},
"timers": {
"spf": {
"state": {
"spf-hold-interval": "5000",
"spf-first-interval": "50",
"spf-second-interval": "200",
"adaptive-timer": "EXPONENTIAL"
}
},
"lsp-generation": {
"state": {
"lsp-max-wait-interval": "5000",
"lsp-first-wait-interval": "50",
"lsp-second-wait-interval": "200",
"adaptive-timer": "EXPONENTIAL"
}
}
},
"state": {
"instance": "0",
"net": [
"49.0001.1720.1625.5001.00"
],
"level-capability": "LEVEL_2",
"max-ecmp-paths": 8,
"fast-flooding": false
}
},
"interfaces": {
"interface": [
{
"interface-id": "Loopback0",
"config": {
"interface-id": "Loopback0",
"enabled": true,
"passive": true,
"hello-padding": "STRICT"
},
"interface-ref": {
"config": {
"interface": "Loopback0"
},
"state": {
"interface": "Loopback0"
}
},
"state": {
"interface-id": "Loopback0",
"enabled": true,
"passive": true,
"hello-padding": "STRICT",
"circuit-type": "POINT_TO_POINT"
},
"afi-safi": {
"af": [
{
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"config": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"enabled": true
},
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"enabled": true
}
}
]
},
"levels": {
"level": [
{
"level-number": 1,
"afi-safi": {
"af": [
{
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"metric": 0
}
}
]
}
},
{
"level-number": 2,
"afi-safi": {
"af": [
{
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"metric": 0
}
}
]
}
}
]
},
"timers": {
"state": {
"csnp-interval": 0,
"lsp-pacing-interval": "33"
}
}
},
{
"interface-id": "GigabitEthernet0/0/0/0",
"config": {
"interface-id": "GigabitEthernet0/0/0/0",
"enabled": true,
"passive": false,
"hello-padding": "STRICT",
"circuit-type": "POINT_TO_POINT"
},
"interface-ref": {
"config": {
"interface": "GigabitEthernet0/0/0/0"
},
"state": {
"interface": "GigabitEthernet0/0/0/0"
}
},
"state": {
"interface-id": "GigabitEthernet0/0/0/0",
"enabled": true,
"passive": false,
"hello-padding": "STRICT",
"circuit-type": "POINT_TO_POINT"
},
"afi-safi": {
"af": [
{
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"config": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"enabled": true
},
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"enabled": true
}
}
]
},
"circuit-counters": {
"state": {
"adj-changes": 7,
"rejected-adj": 2,
"id-field-len-mismatches": 0,
"max-area-address-mismatches": 0,
"auth-fails": 0,
"lan-dis-changes": 0
}
},
"levels": {
"level": [
{
"level-number": 1,
"afi-safi": {
"af": [
{
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"metric": 10
}
}
]
}
},
{
"level-number": 2,
"packet-counters": {
"lsp": {
"state": {
"received": false,
"processed": 176,
"sent": 179
}
},
"iih": {
"state": {
"received": false,
"processed": 15696,
"sent": 15741
}
},
"psnp": {
"state": {
"received": false,
"processed": 178,
"sent": 177
}
},
"cnsp": {
"state": {
"received": false,
"processed": 4,
"sent": 4
}
}
},
"timers": {
"state": {
"hello-interval": 10,
"hello-multiplier": 3
}
},
"afi-safi": {
"af": [
{
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"state": {
"afi-name": "openconfig-isis-types:IPV4",
"safi-name": "openconfig-isis-types:UNICAST",
"metric": 10
}
}
]
},
"state": {
"level-number": 2,
"priority": 64
},
"adjacencies": {
"adjacency": [
{
"system-id": "1720.1625.5002",
"state": {
"system-id": "1720.1625.5002",
"neighbor-ipv4-address": "172.16.1.1",
"neighbor-ipv6-address": "::",
"neighbor-snpa": "5254.001a.9f02",
"local-extended-circuit-id": 0,
"neighbor-extended-circuit-id": 0,
"priority": 0,
"neighbor-circuit-type": "LEVEL_2",
"adjacency-type": "LEVEL_2",
"adjacency-state": "UP",
"remaining-hold-time": 25,
"up-time": 84616,
"topology": [
"IPV4_UNICAST"
],
"restart-support": true,
"restart-suppress": false,
"restart-status": false,
"area-address": [
"49.0001"
],
"nlpid": [
"IPV4",
"IPV6"
]
}
}
]
}
}
]
},
"timers": {
"state": {
"csnp-interval": 0,
"lsp-pacing-interval": "33"
}
}
}
]
},
"levels": {
"level": [
{
"level-number": 2,
"config": {
"level-number": 2
},
"state": {
"level-number": 2,
"metric-style": "WIDE_METRIC"
},
"link-state-database": {
"lsp": [
{
"lsp-id": "1720.1625.5001.00-00",
"state": {
"lsp-id": "1720.1625.5001.00-00",
"remaining-lifetime": 427,
"sequence-number": 185,
"checksum": 34777,
"pdu-type": "LEVEL_2",
"is-type": 2,
"pdu-length": 87,
"maximum-area-addresses": 0,
"id-length": 0,
"version": 1,
"version2": 1
},
"tlvs": {
"tlv": [
{
"type": "openconfig-isis-lsdb-types:AREA_ADDRESSES",
"state": {
"type": "openconfig-isis-lsdb-types:AREA_ADDRESSES"
},
"area-address": {
"state": {
"area-address": [
"49.0001"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:NLPID",
"state": {
"type": "openconfig-isis-lsdb-types:NLPID"
},
"nlpid": {
"state": {
"nlpid": [
"IPV4"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:DYNAMIC_NAME",
"state": {
"type": "openconfig-isis-lsdb-types:DYNAMIC_NAME"
},
"hostname": {
"state": {
"hostname": [
"r1"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:IPV4_INTERFACE_ADDRESSES",
"state": {
"type": "openconfig-isis-lsdb-types:IPV4_INTERFACE_ADDRESSES"
},
"ipv4-interface-addresses": {
"state": {
"ipv4-interface-addresses": [
"172.16.255.1"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:EXTENDED_IPV4_REACHABILITY",
"state": {
"type": "openconfig-isis-lsdb-types:EXTENDED_IPV4_REACHABILITY"
},
"extended-ipv4-reachability": {
"prefixes": {
"prefix": [
{
"prefix": "172.16.255.1/32",
"state": {
"up-down": false,
"s-bit": true,
"prefix": "172.16.255.1/32",
"metric": 0
}
},
{
"prefix": "172.16.1.0/31",
"state": {
"up-down": false,
"s-bit": true,
"prefix": "172.16.1.0/31",
"metric": 10
}
}
]
}
},
"subtlvs": {
"subtlv": [
{
"type": "openconfig-isis-lsdb-types:IP_REACHABILITY_PREFIX_FLAGS",
"state": {
"type": "openconfig-isis-lsdb-types:IP_REACHABILITY_PREFIX_FLAGS"
},
"flags": {
"state": {
"type": "IP_REACHABILITY_PREFIX_FLAGS",
"flags": [
"NODE_FLAG"
]
}
}
}
]
}
},
{
"type": "openconfig-isis-lsdb-types:EXTENDED_IS_REACHABILITY",
"state": {
"type": "openconfig-isis-lsdb-types:EXTENDED_IS_REACHABILITY"
},
"extended-is-reachability": {
"neighbors": {
"neighbors": [
{
"system-id": "1720.1625.5002",
"state": {
"system-id": "1720.1625.5002",
"metric": 10
}
}
]
}
}
}
]
}
},
{
"lsp-id": "1720.1625.5002.00-00",
"state": {
"lsp-id": "1720.1625.5002.00-00",
"remaining-lifetime": 482,
"sequence-number": 183,
"checksum": 36051,
"pdu-type": "LEVEL_2",
"is-type": 2,
"pdu-length": 87,
"maximum-area-addresses": 0,
"id-length": 0,
"version": 1,
"version2": 1
},
"tlvs": {
"tlv": [
{
"type": "openconfig-isis-lsdb-types:AREA_ADDRESSES",
"state": {
"type": "openconfig-isis-lsdb-types:AREA_ADDRESSES"
},
"area-address": {
"state": {
"area-address": [
"49.0001"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:NLPID",
"state": {
"type": "openconfig-isis-lsdb-types:NLPID"
},
"nlpid": {
"state": {
"nlpid": [
"IPV4"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:DYNAMIC_NAME",
"state": {
"type": "openconfig-isis-lsdb-types:DYNAMIC_NAME"
},
"hostname": {
"state": {
"hostname": [
"r2"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:IPV4_INTERFACE_ADDRESSES",
"state": {
"type": "openconfig-isis-lsdb-types:IPV4_INTERFACE_ADDRESSES"
},
"ipv4-interface-addresses": {
"state": {
"ipv4-interface-addresses": [
"172.16.255.2"
]
}
}
},
{
"type": "openconfig-isis-lsdb-types:EXTENDED_IPV4_REACHABILITY",
"state": {
"type": "openconfig-isis-lsdb-types:EXTENDED_IPV4_REACHABILITY"
},
"extended-ipv4-reachability": {
"prefixes": {
"prefix": [
{
"prefix": "172.16.255.2/32",
"state": {
"up-down": false,
"s-bit": true,
"prefix": "172.16.255.2/32",
"metric": 0
}
},
{
"prefix": "172.16.1.0/31",
"state": {
"up-down": false,
"s-bit": true,
"prefix": "172.16.1.0/31",
"metric": 10
}
}
]
}
},
"subtlvs": {
"subtlv": [
{
"type": "openconfig-isis-lsdb-types:IP_REACHABILITY_PREFIX_FLAGS",
"state": {
"type": "openconfig-isis-lsdb-types:IP_REACHABILITY_PREFIX_FLAGS"
},
"flags": {
"state": {
"type": "IP_REACHABILITY_PREFIX_FLAGS",
"flags": [
"NODE_FLAG"
]
}
}
}
]
}
},
{
"type": "openconfig-isis-lsdb-types:EXTENDED_IS_REACHABILITY",
"state": {
"type": "openconfig-isis-lsdb-types:EXTENDED_IS_REACHABILITY"
},
"extended-is-reachability": {
"neighbors": {
"neighbors": [
{
"system-id": "1720.1625.5001",
"state": {
"system-id": "1720.1625.5001",
"metric": 10
}
}
]
}
}
}
]
}
}
]
},
"system-level-counters": {
"state": {
"corrupted-lsps": 0,
"database-overloads": 2,
"exceed-max-seq-nums": 0,
"seq-num-skips": 0,
"own-lsp-purges": 0,
"id-len-mismatch": 0,
"max-area-address-mismatches": 0,
"spf-runs": 165,
"lsp-errors": 0
}
},
"traffic-engineering": {
"state": {
"enabled": false
}
},
"route-preference": {
"state": {
"external-route-preference": 115,
"internal-route-preference": 115
}
}
}
]
}
},
"state": {
"identifier": "openconfig-policy-types:ISIS",
"name": "DEFAULT"
}
},
{
"identifier": "openconfig-policy-types:STATIC",
"name": "DEFAULT",
"config": {
"identifier": "openconfig-policy-types:STATIC",
"name": "DEFAULT"
},
"state": {
"identifier": "openconfig-policy-types:STATIC",
"name": "DEFAULT",
"enabled": true,
"default-metric": 1
},
"static-routes": {
"static": [
{
"prefix": "10.16.0.0/16",
"config": {
"prefix": "10.16.0.0/16"
},
"next-hops": {
"next-hop": [
{
"index": "##198.18.1.1##",
"config": {
"index": "##198.18.1.1##",
"next-hop": "198.18.1.1"
},
"state": {
"index": "##198.18.1.1##",
"next-hop": "198.18.1.1",
"metric": 1
}
}
]
},
"state": {
"prefix": "10.16.0.0/16"
}
},
{
"prefix": "10.64.0.0/16",
"config": {
"prefix": "10.64.0.0/16"
},
"next-hops": {
"next-hop": [
{
"index": "##198.18.1.1##",
"config": {
"index": "##198.18.1.1##",
"next-hop": "198.18.1.1"
},
"state": {
"index": "##198.18.1.1##",
"next-hop": "198.18.1.1",
"metric": 1
}
}
]
},
"state": {
"prefix": "10.64.0.0/16"
}
},
{
"prefix": "198.18.0.0/16",
"config": {
"prefix": "198.18.0.0/16"
},
"next-hops": {
"next-hop": [
{
"index": "##198.18.1.1##",
"config": {
"index": "##198.18.1.1##",
"next-hop": "198.18.1.1"
},
"state": {
"index": "##198.18.1.1##",
"next-hop": "198.18.1.1",
"metric": 1
}
}
]
},
"state": {
"prefix": "198.18.0.0/16"
}
}
]
}
}
]
},
"config": {
"name": "default"
},
"afts": {
"ipv4-unicast": {
"ipv4-entry": [
{
"prefix": "0.0.0.0/0",
"state": {
"prefix": "0.0.0.0/0"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "0.0.0.0/32",
"state": {
"prefix": "0.0.0.0/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "10.16.0.0/16",
"state": {
"prefix": "10.16.0.0/16"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.1",
"popped-mpls-label-stack": [
24000
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "10.64.0.0/16",
"state": {
"prefix": "10.64.0.0/16"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.1",
"popped-mpls-label-stack": [
24001
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "127.0.0.0/8",
"state": {
"prefix": "127.0.0.0/8"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "172.16.1.0/31",
"state": {
"prefix": "172.16.1.0/31"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "172.16.1.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "GigabitEthernet0/0/0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "172.16.1.0/32",
"state": {
"prefix": "172.16.1.0/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "GigabitEthernet0/0/0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "172.16.255.1/32",
"state": {
"prefix": "172.16.255.1/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "Loopback0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "172.16.255.2/32",
"state": {
"prefix": "172.16.255.2/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "172.16.1.1",
"popped-mpls-label-stack": [
24003
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "GigabitEthernet0/0/0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "198.18.0.0/16",
"state": {
"prefix": "198.18.0.0/16"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.1",
"popped-mpls-label-stack": [
24002
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "198.18.1.0/24",
"state": {
"prefix": "198.18.1.0/24"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.11",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "198.18.1.0/32",
"state": {
"prefix": "198.18.1.0/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "198.18.1.1/32",
"state": {
"prefix": "198.18.1.1/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.1",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "198.18.1.11/32",
"state": {
"prefix": "198.18.1.11/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "198.18.1.12/32",
"state": {
"prefix": "198.18.1.12/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.12",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "198.18.1.127/32",
"state": {
"prefix": "198.18.1.127/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.127",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "198.18.1.255/32",
"state": {
"prefix": "198.18.1.255/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "MgmtEth0/RP0/CPU0/0",
"subinterface": 0
}
}
}
]
}
},
{
"prefix": "224.0.0.0/4",
"state": {
"prefix": "224.0.0.0/4"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "224.0.0.0/24",
"state": {
"prefix": "224.0.0.0/24"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "255.255.255.255/32",
"state": {
"prefix": "255.255.255.255/32"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
}
]
},
"ipv6-unicast": {
"ipv6-entry": [
{
"prefix": "::/0",
"state": {
"prefix": "::/0"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "::ffff:127.0.0.0/104",
"state": {
"prefix": "::ffff:127.0.0.0/104"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "fe80::/10",
"state": {
"prefix": "fe80::/10"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "ff02::/16",
"state": {
"prefix": "ff02::/16"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "ff02::2/128",
"state": {
"prefix": "ff02::2/128"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "ff02::1:ff00:0/104",
"state": {
"prefix": "ff02::1:ff00:0/104"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "ff05::/16",
"state": {
"prefix": "ff05::/16"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"prefix": "ff12::/16",
"state": {
"prefix": "ff12::/16"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"NO_LABEL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
}
]
},
"mpls": {
"label-entry": [
{
"label": "IPV4_EXPLICIT_NULL",
"state": {
"label": "IPV4_EXPLICIT_NULL"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"IPV4_EXPLICIT_NULL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"label": "ROUTER_ALERT",
"state": {
"label": "ROUTER_ALERT"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
"ROUTER_ALERT"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"label": "IPV6_EXPLICIT_NULL",
"state": {
"label": "IPV6_EXPLICIT_NULL"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "::",
"popped-mpls-label-stack": [
"IPV6_EXPLICIT_NULL"
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"label": "13",
"state": {
"label": "13"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "0.0.0.0",
"popped-mpls-label-stack": [
13
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"label": "24000",
"state": {
"label": "24000"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.1",
"popped-mpls-label-stack": [
24000
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"label": "24001",
"state": {
"label": "24001"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.1",
"popped-mpls-label-stack": [
24001
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"label": "24002",
"state": {
"label": "24002"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "198.18.1.1",
"popped-mpls-label-stack": [
24002
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
}
}
]
}
},
{
"label": "24003",
"state": {
"label": "24003"
},
"next-hops": {
"next-hop": [
{
"index": "0",
"state": {
"index": "0",
"weight": 0,
"ip-address": "172.16.1.1",
"popped-mpls-label-stack": [
24003
],
"pushed-mpls-label-stack": [
"NO_LABEL"
]
},
"interface-ref": {
"state": {
"interface": "GigabitEthernet0/0/0/0",
"subinterface": 0
}
}
}
]
}
}
]
}
}
}
]
}
} |
Reproduced the issue with ydktest_sanity bundle:
Console Output
|
Fixed in YDK-0.8.1. Output after the fix:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Logs:
YDK version:
System config:
Script:
The text was updated successfully, but these errors were encountered: