public icon indicating copy to clipboard operation
public copied to clipboard

Incorrect path at when statement in 'openconfig-mpls-rsvp' model

Open hgeriki opened this issue 8 years ago • 3 comments

Seeing the below errors due to the when statement in 'openconfig-mpls-rsvp' model. Could you please look into this. This is noticed at few more when statements in the model.

yang/openconfig-mpls-rsvp.yang:510: error: the node 'mpls' from module 'openconfig-network-instance' is not found
yang/openconfig-mpls-rsvp.yang:510: error: the node 'mpls' from module 'openconfig-network-instance' is not found
yang/openconfig-mpls-rsvp.yang:510: error: the node 'tunnel' from module 'openconfig-mpls' (in node 'constrained-path' from 'openconfig-mpls') is not found
yang/openconfig-mpls-rsvp.yang:510: error: the node 'tunnel' from module 'openconfig-mpls' (in node 'constrained-path' from 'openconfig-mpls') is not found

Error at:

'when "/mpls/lsps/constrained-path/tunnel/config" +"/signaling-protocol = 'PATH_SETUP_RSVP'" {'

From model:

grouping rsvp-p2p-tunnel-attributes_config { description "properties of RSPP point-to-point paths";

leaf source {
  when "/mpls/lsps/constrained-path/tunnel/config" +
    "/signaling-protocol = 'PATH_SETUP_RSVP'" {
    description
      "When the signaling protocol is RSVP-TE ";
  }
  type inet:ip-address;
  description
    "RSVP-TE tunnel source address";
}

hgeriki avatar Oct 29 '17 21:10 hgeriki

Thanks -- this looks to be an issue of the paths not having been updated to relative paths. We'll make a fix for this and release a new version of the model.

Thanks for highlighting the issue.

robshakir avatar Nov 17 '17 22:11 robshakir

I believe this is fixed by commit 5dc792b

LeonGWang avatar Aug 21 '19 23:08 LeonGWang

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.

github-actions[bot] avatar Jun 28 '24 02:06 github-actions[bot]