public icon indicating copy to clipboard operation
public copied to clipboard

wrong prefix for import mpls types - should be oc-mpls-types

Open sgrazian opened this issue 8 years ago • 4 comments

line 10 of openconfig-isis-routing.yang - version 0.3.3

import openconfig-mpls-types { prefix oc-mplst; }

and line 11 of openconfig-segment-routing.yang - version 0.0.3

import openconfig-mpls-types { prefix "oc-mpls-t"; }

are not consistent with prefix defined in module openconfig-mpls-types - version 2.4.1 - line 8

prefix "oc-mpls-types";

Problem possibly apply for other modules as well

sgrazian avatar Oct 12 '17 09:10 sgrazian

As we've noted in other similar issues, having the same prefix is not required in YANG -- this is likely a problem in the tooling you're using to parse / compile YANG modules.

aashaikh avatar Oct 12 '17 14:10 aashaikh

@robshakir pls comment

3alexb avatar Oct 13 '17 16:10 3alexb

Thanks Alex. Sorry I missed the response -- this is something that should be supported by YANG tooling. @sgrazian -- can you confirm what toolchain does not support this please?

robshakir avatar Nov 17 '17 22:11 robshakir

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 29 '24 02:06 github-actions[bot]