summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/api/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-classifier/api/src/main')
-rw-r--r--vpp-classifier/api/src/main/yang/interface-policer@2017-03-15.yang27
-rw-r--r--vpp-classifier/api/src/main/yang/policer@2017-03-15.yang30
-rw-r--r--vpp-classifier/api/src/main/yang/vpp-classifier-acl@2017-05-03.yang39
-rw-r--r--vpp-classifier/api/src/main/yang/vpp-classifier-context@2017-05-02.yang29
-rw-r--r--vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang38
-rw-r--r--vpp-classifier/api/src/main/yang/vpp-interface-acl@2017-03-15.yang26
-rw-r--r--vpp-classifier/api/src/main/yang/vpp-subinterface-acl@2017-03-15.yang26
7 files changed, 192 insertions, 23 deletions
diff --git a/vpp-classifier/api/src/main/yang/interface-policer@2017-03-15.yang b/vpp-classifier/api/src/main/yang/interface-policer@2017-03-15.yang
index fb4f8b0b4..8358c44be 100644
--- a/vpp-classifier/api/src/main/yang/interface-policer@2017-03-15.yang
+++ b/vpp-classifier/api/src/main/yang/interface-policer@2017-03-15.yang
@@ -16,11 +16,32 @@ module interface-policer {
prefix "ext";
}
+ organization
+ "FD.io - The Fast Data Project";
+
+ contact
+ "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
+ Mailing List <hc2vpp@lists.fd.io>";
+
description
"This YANG module defines policer configuration and
- operational data for interfaces in VPP.
- Mapped to policer_classify_set_interface:
- https://git.fd.io/vpp/tree/src/vnet/classify/classify.api#n119";
+ operational data for interfaces in VPP.
+ Mapped to policer_classify_set_interface:
+ https://git.fd.io/vpp/tree/src/vnet/classify/classify.api#n119.
+
+ Copyright (c) 2017-2018 Cisco and/or its affiliates.
+
+ Licensed under the Apache License, Version 2.0 (the 'License');
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.";
revision "2017-03-15" {
description "Initial revision of interface-policer model";
diff --git a/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang b/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang
index fa2b8f049..52ed69b46 100644
--- a/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang
+++ b/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang
@@ -8,15 +8,39 @@ module policer {
prefix inet;
}
+ organization
+ "FD.io - The Fast Data Project";
+
+ contact
+ "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
+ Mailing List <hc2vpp@lists.fd.io>";
+
description
- "VPP specific configuration of policer messages. Mapped to policer API:
+ "This module contains a collection of YANG definitions for
+ managing VPP policer.
+
+ Mapped to policer API:
https://git.fd.io/vpp/tree/src/vnet/policer/policer.api
Partially based on
- https://tools.ietf.org/html/draft-asechoud-netmod-qos-model-02";
+ https://tools.ietf.org/html/draft-asechoud-netmod-qos-model-02.
+
+ Copyright (c) 2017-2018 Cisco and/or its affiliates.
+
+ Licensed under the Apache License, Version 2.0 (the 'License');
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.";
reference
- "https://docs.fd.io/vpp/17.04/clicmd_src_vnet_policer.html";
+ "https://docs.fd.io/vpp/18.04/clicmd_src_vnet_policer.html";
revision "2017-03-15" {
description "Initial revision of policer model";
diff --git a/vpp-classifier/api/src/main/yang/vpp-classifier-acl@2017-05-03.yang b/vpp-classifier/api/src/main/yang/vpp-classifier-acl@2017-05-03.yang
index fe3007dbb..66d3b0587 100644
--- a/vpp-classifier/api/src/main/yang/vpp-classifier-acl@2017-05-03.yang
+++ b/vpp-classifier/api/src/main/yang/vpp-classifier-acl@2017-05-03.yang
@@ -7,6 +7,31 @@ module vpp-classifier-acl {
prefix "vpp-classifier";
}
+ organization
+ "FD.io - The Fast Data Project";
+
+ contact
+ "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
+ Mailing List <hc2vpp@lists.fd.io>";
+
+ description
+ "This module contains a collection of YANG definitions for
+ managing classifier based ACLs in VPP.
+
+ Copyright (c) 2017-2018 Cisco and/or its affiliates.
+
+ Licensed under the Apache License, Version 2.0 (the 'License');
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.";
+
revision "2017-05-03" {
description
"Removed support for ietf based acls.";
@@ -52,13 +77,13 @@ module vpp-classifier-acl {
}
grouping vpp-acl-attributes {
- container acl {
- container ingress {
- uses vpp-classifier-acl:acl-base-attributes;
- }
- container egress {
- uses vpp-classifier-acl:acl-base-attributes;
- }
+ container acl {
+ container ingress {
+ uses vpp-classifier-acl:acl-base-attributes;
}
+ container egress {
+ uses vpp-classifier-acl:acl-base-attributes;
+ }
+ }
}
} \ No newline at end of file
diff --git a/vpp-classifier/api/src/main/yang/vpp-classifier-context@2017-05-02.yang b/vpp-classifier/api/src/main/yang/vpp-classifier-context@2017-05-02.yang
index 38f096cf3..26cc0a2b4 100644
--- a/vpp-classifier/api/src/main/yang/vpp-classifier-context@2017-05-02.yang
+++ b/vpp-classifier/api/src/main/yang/vpp-classifier-context@2017-05-02.yang
@@ -3,8 +3,32 @@ module vpp-classifier-context {
namespace "urn:opendaylight:params:xml:ns:yang:vpp:classifier:context";
prefix "vpp-classifier-context";
+ organization
+ "FD.io - The Fast Data Project";
+
+ contact
+ "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
+ Mailing List <hc2vpp@lists.fd.io>";
+
description
- "This module contains vpp classfier metadata definition";
+ "This module provides metadata required for vpp-classifier management.
+
+ Metadata are managed internally by the HC vpp-classifier plugin.
+ They are exposed as operational state data for debugging purposes.
+
+ Copyright (c) 2016-2018 Cisco and/or its affiliates.
+
+ Licensed under the Apache License, Version 2.0 (the 'License');
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.";
revision "2017-05-02" {
description "Changed namespace";
@@ -26,8 +50,7 @@ module vpp-classifier-context {
also finding base node that is needed to perform the conversion
is not allways possible (https://jira.fd.io/browse/VPP-220).
- Therefore Honeycomb needs to provide relative node to index mapping.
- ";
+ Therefore Honeycomb needs to provide relative node to index mapping.";
list classify-table-context {
key "name";
diff --git a/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang b/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang
index 5e3b8764c..1f3ce4e75 100644
--- a/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang
+++ b/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang
@@ -11,24 +11,49 @@ module vpp-classifier {
prefix "policer";
}
+ organization
+ "FD.io - The Fast Data Project";
+
+ contact
+ "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
+ Mailing List <hc2vpp@lists.fd.io>";
+
+ description
+ "This module contains a collection of YANG definitions for
+ managing VPP packet classifier.
+
+ Copyright (c) 2016-2018 Cisco and/or its affiliates.
+
+ Licensed under the Apache License, Version 2.0 (the 'License');
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.";
+
revision "2017-03-27" {
description
"This revision updates classify table ref to be compatible with LeafRefContext
(ODL tool for checking leafrefs in runtime)";
}
- revision "2016-12-14" {
+ revision "2017-03-15" {
description
- "This revision adds the following new features:
- - updates order of union types for opaque-index";
+ "This revision adds policer support";
}
- revision "2016-03-15" {
+ revision "2016-12-14" {
description
- "This revision adds policer support";
+ "This revision adds the following new features:
+ - updates order of union types for opaque-index";
}
- revision "2015-06-03" {
+ revision "2016-06-03" {
description
"Initial revision of model for VPP packet classifier.
The model can be used ony to implement ACLs.
@@ -244,5 +269,4 @@ module vpp-classifier {
uses classify-table-operational-attributes;
}
}
-
}
diff --git a/vpp-classifier/api/src/main/yang/vpp-interface-acl@2017-03-15.yang b/vpp-classifier/api/src/main/yang/vpp-interface-acl@2017-03-15.yang
index f1fa66dd6..d2d77e2ab 100644
--- a/vpp-classifier/api/src/main/yang/vpp-interface-acl@2017-03-15.yang
+++ b/vpp-classifier/api/src/main/yang/vpp-interface-acl@2017-03-15.yang
@@ -15,6 +15,32 @@ module vpp-interface-acl {
prefix "ext";
}
+ organization
+ "FD.io - The Fast Data Project";
+
+ contact
+ "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
+ Mailing List <hc2vpp@lists.fd.io>";
+
+ description
+ "This module contains a collection of YANG definitions for
+ applying ACLs on VPP interfaces.
+ Uses ACL implementation based on VPP packet classifier.
+
+ Copyright (c) 2017-2018 Cisco and/or its affiliates.
+
+ Licensed under the Apache License, Version 2.0 (the 'License');
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.";
+
revision "2017-03-15" {
description
"Initial revision of vpp-interface-acl model.";
diff --git a/vpp-classifier/api/src/main/yang/vpp-subinterface-acl@2017-03-15.yang b/vpp-classifier/api/src/main/yang/vpp-subinterface-acl@2017-03-15.yang
index 53fdb24df..165848590 100644
--- a/vpp-classifier/api/src/main/yang/vpp-subinterface-acl@2017-03-15.yang
+++ b/vpp-classifier/api/src/main/yang/vpp-subinterface-acl@2017-03-15.yang
@@ -19,6 +19,32 @@ module vpp-subinterface-acl {
prefix "ext";
}
+ organization
+ "FD.io - The Fast Data Project";
+
+ contact
+ "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
+ Mailing List <hc2vpp@lists.fd.io>";
+
+ description
+ "This module contains a collection of YANG definitions for
+ applying ACLs on VPP sub-interfaces.
+ Uses ACL implementation based on VPP packet classifier.
+
+ Copyright (c) 2017-2018 Cisco and/or its affiliates.
+
+ Licensed under the Apache License, Version 2.0 (the 'License');
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.";
+
revision "2017-03-15" {
description
"Initial revision of vpp-subinterface-acl model.";