0

I have two CLIs and I have this below requirement.

If #1 is configured first, then #2 config is NOT allowed. If #2 is configured first, then #1 config is allowed.

I have tried using must, but that makes them mutually exclusive. How do I implement this ordering in Yang?

Thanks

disputedbug
  • 265
  • 1
  • 3
  • 6
  • Can you give an example of #1 and #2 and what you are trying to achieve here? How does your CLI change the configuration, what are the commands for doing that? – Roman Khimov Apr 03 '19 at 12:40

1 Answers1

1

I don't think there is a direct approach available with this in Yang. May be for your product you need to add an extension, which can check while config is being loaded as part of edit-config

Ram
  • 301
  • 2
  • 12