summaryrefslogtreecommitdiffstats
path: root/v3po/api/src
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-06-13 10:01:40 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-06-15 10:32:09 +0000
commitbbf5b67cad0e7b513cc2060fa721e385f80c2ad5 (patch)
treebe34d3f01205d97989c1df8d2431f50217522ee2 /v3po/api/src
parentc4aa58308c5af88c941212c0e6dcb887600be780 (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.yang13
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'";