You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pwd
/c/CODE/repos/cisco-product-apis/restconf/yang/vendor/cisco/xe/16111
$ pyang -f tree ietf-ipv4-unicast-routing.yang
ietf-ipv4-unicast-routing.yang:104: error: node ietf-routing::routing-instance is not found
ietf-ipv4-unicast-routing.yang:149: error: node ietf-routing::fib-route is not found
ietf-ipv4-unicast-routing.yang:164: error: node ietf-routing::fib-route is not found
ietf-ipv4-unicast-routing.yang:180: error: node ietf-routing::fib-route is not found
The error seems to be saying that from the augment statement above, it cannot find "rt:routing-instance" under the "rt:routing" part of the model/tree in ietf-routing.yang.
ietf-routing.yang lines 500-526:
container routing {
description
"Configuration parameters for the routing subsystem.";
list routing-instance {
key "name";
description
"Configuration of a routing instance.";
And yet "list routing-instance" is right there on line 523, right under the parent routing container (typical).
So... yeah. No idea why this is broken.
I checked the syntax to make sure nothing was missing or misplaced in terms of {}s or ;s and that all seems legitimate to me.
No idea why it cannot find routing-instance in the hierarchy when it is clearly there.
Similar problem with fib-route on ietf-ipv4-unicast-routing.yang lines 149/164/180. I was able to find fib-route in ietf-routing.yang line 669.
I must not know enough. Please teach me YANG wizards.
Cheers.
The text was updated successfully, but these errors were encountered:
ERRORS:
ATTEMPTED DIAGNOSIS:
ietf-routing.yang line 5:
ietf-ipv4-unicast-routing.yang lines 7-9:
ietf-ipv4-unicast-routing.yang lines 103-104:
The error seems to be saying that from the augment statement above, it cannot find "rt:routing-instance" under the "rt:routing" part of the model/tree in ietf-routing.yang.
ietf-routing.yang lines 500-526:
And yet "list routing-instance" is right there on line 523, right under the parent routing container (typical).
So... yeah. No idea why this is broken.
I checked the syntax to make sure nothing was missing or misplaced in terms of {}s or ;s and that all seems legitimate to me.
No idea why it cannot find routing-instance in the hierarchy when it is clearly there.
Similar problem with fib-route on ietf-ipv4-unicast-routing.yang lines 149/164/180. I was able to find fib-route in ietf-routing.yang line 669.
I must not know enough. Please teach me YANG wizards.
Cheers.
The text was updated successfully, but these errors were encountered: