Skip to content
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

Using status substatement for uses statement #1140

Open
Shashank-arista opened this issue Jun 26, 2024 · 2 comments
Open

Using status substatement for uses statement #1140

Shashank-arista opened this issue Jun 26, 2024 · 2 comments

Comments

@Shashank-arista
Copy link
Contributor

Shashank-arista commented Jun 26, 2024

In the PR: #1138, I am trying to apply status deprecated for a uses statement as below but its not getting applied as per the tree definition:

uses oc-if:interface-ref-common {
  status deprecated;
}
                    |  +--rw config
                    |  |  +--rw incoming-label?   oc-mplst:mpls-label
                    |  |  x--rw next-hop?         inet:ip-address
                    |  |  x--rw push-label?       oc-mplst:mpls-label
                    |  |  +--rw interface?        -> /oc-if:interfaces/interface/name
                    |  |  +--rw subinterface?     -> /oc-if:interfaces/interface[oc-if:name=current()/../interface]/subinterfaces/subinterface/index
                    |  |  +--rw metric?           uint8

As you can see only next-hop and push-label are showing as deprecated. Can you please help what could be wrong here?

@earies
Copy link
Contributor

earies commented Jun 26, 2024

I believe you are referring to the same discussion in #1113

@Shashank-arista
Copy link
Contributor Author

Yes, this is the same issue, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants