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
Following the instructions in tools/pyang_plugins/README.md doesn't work and report errors
distribution ubuntu 24.04
PYTHONPATH=. ./bin/pyang --plugindir $CWD/gobgp/tools/pyang_plugins -p $CWD/yang/standard/ietf/RFC -p $CWD/public/release/models -p $CWD/public/release/models/bgp -p $CWD/public/release/models/policy -f golang $CWD/public/release/models/policy/openconfig-routing-policy.yang $CWD/public/release/models/bgp/openconfig-bgp.yang $CWD/gobgp/tools/pyang_plugins/gobgp.yang | gofmt > $CWD/gobgp/pkg/config/oc/bgp_configs.go
/b2/gobgp/tools/pyang_plugins/gobgp/tools/pyang_plugins/gobgp.yang:1428: error: type "route-family" not found in module "gobgp"
/b2/gobgp/tools/pyang_plugins/public/release/models/bgp/openconfig-bgp-policy.yang:140: error: restriction "require-instance" not allowed for this base type
/b2/gobgp/tools/pyang_plugins/public/release/models/bgp/openconfig-bgp-policy.yang:163: error: restriction "require-instance" not allowed for this base type
/b2/gobgp/tools/pyang_plugins/public/release/models/bgp/openconfig-bgp-policy.yang:184: error: restriction "require-instance" not allowed for this base type
/b2/gobgp/tools/pyang_plugins/public/release/models/bgp/openconfig-bgp-policy.yang:443: error: restriction "require-instance" not allowed for this base type
/b2/gobgp/tools/pyang_plugins/public/release/models/bgp/openconfig-bgp-policy.yang:492: error: restriction "require-instance" not allowed for this base type
/b2/gobgp/tools/pyang_plugins/public/release/models/bgp/openconfig-bgp.yang:428: error: restriction "require-instance" not allowed for this base type
warning openconfig-types:percentage: percentage has already been emitted from bgp-types:percentage.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Following the instructions in
tools/pyang_plugins/README.md
doesn't work and report errorsdistribution ubuntu 24.04
The text was updated successfully, but these errors were encountered: