diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-06-13 10:01:40 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-06-15 10:32:09 +0000 |
commit | cb00de1bc91091060dfb688876b45b7dc740318e (patch) | |
tree | 599ce18edc51cc1fd581c39da0f72d0580184d13 /v3po/api/src | |
parent | 5502b2eb50c9a3f9fb23ab758036bdbd67fbd32d (diff) |
HONEYCOMB-91: write customizer for L2FibEntry
Change-Id: I80353d9468924df755b7dfe2fca33515becdb8b5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api/src')
-rw-r--r-- | v3po/api/src/main/yang/v3po.yang | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index 9d0c286fc..e01edf34c 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -149,6 +149,7 @@ module v3po { } } + // TODO express constraints for L2 FIB entries in YANG if possible grouping l2-fib-attributes { container l2-fib-table { list l2-fib-entry { @@ -160,19 +161,25 @@ module v3po { leaf outgoing-interface { type string; - mandatory true; + // mandatory true; + // mandatory for forward action + // FIXME VPP's CLI does not require to set iface id for filter action + // VPP's binary api in constrast to CLI does some checks on the iface id value, + // so currently it has to be set for all actions description - "One of interfaces assigned to the FIB table's bridge-domain"; + "One of interfaces assigned to the FIB table's bridge-domain."; } leaf static-config { type boolean; default false; description - "Static entries cannot be overridden by mac learning"; + "Static entries cannot be overridden by mac learning."; } leaf action { type l2-fib-action; mandatory true; + description + "L2 FIB action. For filter action, entry must be configured as static."; } leaf bridged-virtual-interface { when "../v3po:action = 'forward'"; |