diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-10-31 12:04:10 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-10-31 12:11:26 +0100 |
commit | 45e964000ae55678a2997560d764a63ba494655e (patch) | |
tree | 39293b6cf4ded0b5f33ebf7e50e6e1131503effc | |
parent | 4d9b257cdc735d9b4f3a4ae96c72cba0834a1a1e (diff) |
Update l2 constaint in v3po.yang
Permit BVI interface to have IP address assigned
Change-Id: I86f39b1e07fa00f05328e293377e0b84c23ebe1a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
-rw-r--r-- | v3po/api/src/main/yang/v3po.yang | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index a5ccec5f9..6d6d58df9 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -7,7 +7,8 @@ module v3po { description "This revision adds the following new features: - ingress/egress ACLs support - - moved ACL definitions to vpp-acl module"; + - moved ACL definitions to vpp-acl module + - updated l2 container constraint (permit IP address on BVI interface)"; } revision "2015-01-05" { @@ -462,8 +463,9 @@ module v3po { } container l2 { - must "(not (../if:ipv4[if:enabled = 'true']/if:address/if:ip) and " + - "not (../if:ipv6[if:enabled = 'true']/if:address/if:ip))"; + must "bridged-virtual-interface = 'true' or " + + "(not (../if:ipv4[if:enabled = 'true']/if:address/if:ip) and " + + "not (../if:ipv6[if:enabled = 'true']/if:address/if:ip))"; uses l2-base-attributes; } @@ -558,8 +560,9 @@ module v3po { } container l2 { - must "(not (../if:ipv4[if:enabled = 'true']/if:address/if:ip) and " + - "not (../if:ipv6[if:enabled = 'true']/if:address/if:ip))"; + must "bridged-virtual-interface = 'true' or " + + "(not (../if:ipv4[if:enabled = 'true']/if:address/if:ip) and " + + "not (../if:ipv6[if:enabled = 'true']/if:address/if:ip))"; uses l2-base-attributes; } |