cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
49
Views
1
Helpful
0
Replies
Highlighted
Cisco Employee

When needs 'must'

I am finding YANG 'must' statements incredibly powerful for adding robustness and clear user feedback. Instead of failing silently, the application can tell you exactly what is wrong. Here are some examples from my E-Line/ethernet pseudowire prototype:

Cheers,

  1. KJ.

admin@ncs(config)# commit dry-run outformat native

Aborted: 'services evplpw AAA uni-a c0 ios' : LDP router ID must be set on Loopback0

Aborted: 'services evplpw AAA' : The c-vlan-ids must be the same for uni-a and uni-z when c-vlan preservation is set

Aborted: 'services evplpw AAA' : Cannot have COS preservation without customer VLAN preservation

Aborted: 'services ethpw AAA' : Uni-a and uni-z must be on different devices. Direct connect not implemented yet

Aborted: 'services evplpw AAA' : COS is not yet implemented

Aborted: 'services evplpw AAA' : VLAN bundling is not yet implemented

Everyone's tags (3)
Content for Community-Ad
Cisco Community April 2020 Spotlight Award Winners
This widget could not be displayed.