summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang/vpp-classifier.yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-07-22 14:43:19 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-07-25 09:06:24 +0000
commit6b9de4956520164e52033a964fc20f5f4aebd8ad (patch)
treeef8d64c9174c99c8c454a55f2c33537f092c91d5 /v3po/api/src/main/yang/vpp-classifier.yang
parentc956638b76064b2edd96f4b6e8f5f92848d28cde (diff)
Fix initializer for vpp classifier
Change-Id: I5a94bafb426b4f0b2e077153593f714a69ad2abb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api/src/main/yang/vpp-classifier.yang')
-rw-r--r--v3po/api/src/main/yang/vpp-classifier.yang22
1 files changed, 16 insertions, 6 deletions
diff --git a/v3po/api/src/main/yang/vpp-classifier.yang b/v3po/api/src/main/yang/vpp-classifier.yang
index 1351f9e38..46bff2074 100644
--- a/v3po/api/src/main/yang/vpp-classifier.yang
+++ b/v3po/api/src/main/yang/vpp-classifier.yang
@@ -92,12 +92,6 @@ module vpp-classifier {
"Used by classifier hashing algorithm. It is not possible to resize the bucket array,
therefore suggested value is approximate number of expected entries.";
}
- leaf memory_size {
- mandatory true;
- type uint32;
- description
- "Memory size for classify table and its entries.";
- }
leaf skip_n_vectors {
type uint32;
default 0;
@@ -143,6 +137,21 @@ module vpp-classifier {
}
}
+ grouping classify-table-config-attributes {
+ description
+ "Defines classify table config only attributes (present in classify_add_del_table message
+ but not in classify_table_info_reply).";
+
+ // FIXME move to classify-table-base-attributes
+ // after https://jira.fd.io/browse/VPP-208 is fixed
+ leaf memory_size {
+ type uint32;
+ mandatory true;
+ description
+ "Memory size for classify table and its entries.";
+ }
+ }
+
grouping classify-table-operational-attributes {
description
"Defines classify table operational attributes (present in classify_table_info_reply message
@@ -167,6 +176,7 @@ module vpp-classifier {
}
uses classify-table-base-attributes;
+ uses classify-table-config-attributes;
}
}