From 5aa18ee6a61c0ac76c4c6a0fe767ce4f610f7597 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Thu, 22 Mar 2018 14:55:10 +0100 Subject: Update metadata of hc2vpp YANG models Adds organization and contact statements. Includes copyright in the description of modules. Fixes minor formatting issues. Change-Id: I9fa90c24e956d5cb2c3fde8621ed289f383501ac Signed-off-by: Marek Gradzki --- .../src/main/yang/vpp-routing-ra@2017-05-02.yang | 26 +++++++++++++++++++- .../yang/vpp-routing-table-lookup@2017-09-17.yang | 27 +++++++++++++++++++-- .../src/main/yang/vpp-routing@2017-09-17.yang | 28 ++++++++++++++++++++-- 3 files changed, 76 insertions(+), 5 deletions(-) (limited to 'routing/routing-api/src/main') diff --git a/routing/routing-api/src/main/yang/vpp-routing-ra@2017-05-02.yang b/routing/routing-api/src/main/yang/vpp-routing-ra@2017-05-02.yang index 342fbc07a..4b3de5f63 100644 --- a/routing/routing-api/src/main/yang/vpp-routing-ra@2017-05-02.yang +++ b/routing/routing-api/src/main/yang/vpp-routing-ra@2017-05-02.yang @@ -15,7 +15,31 @@ module vpp-routing-ra { prefix "v6ur"; } - description "General extensions for routing advertisments message configuration provided by VPP APIs"; + organization + "FD.io - The Fast Data Project"; + + contact + "Hc2vpp Wiki + Mailing List "; + + description + "This module contains a collection of YANG definitions + that extend hc2vpp-ietf-routing module + with VPP specific routing advertisments features. + + 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-02 { description "Changed namespace"; diff --git a/routing/routing-api/src/main/yang/vpp-routing-table-lookup@2017-09-17.yang b/routing/routing-api/src/main/yang/vpp-routing-table-lookup@2017-09-17.yang index aaef97bd1..997fbee37 100644 --- a/routing/routing-api/src/main/yang/vpp-routing-table-lookup@2017-09-17.yang +++ b/routing/routing-api/src/main/yang/vpp-routing-table-lookup@2017-09-17.yang @@ -7,14 +7,37 @@ module vpp-routing-table-lookup { prefix "vpp-r"; } - description "General extensions for routes to be able to use VPP table lookup option"; + organization + "FD.io - The Fast Data Project"; + + contact + "Hc2vpp Wiki + Mailing List "; + + description + "This module extends hc2vpp-ietf-routing module + with VPP table lookup option. + + 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-09-17 { description "Initial revision"; } grouping table-lookup-case-params { - leaf secondary-vrf{ + leaf secondary-vrf { type vpp-r:vni-reference; mandatory true; description "Secondary vrf used to lookup in"; diff --git a/routing/routing-api/src/main/yang/vpp-routing@2017-09-17.yang b/routing/routing-api/src/main/yang/vpp-routing@2017-09-17.yang index 807d6aab9..dced18f90 100644 --- a/routing/routing-api/src/main/yang/vpp-routing@2017-09-17.yang +++ b/routing/routing-api/src/main/yang/vpp-routing@2017-09-17.yang @@ -1,4 +1,4 @@ -module vpp-routing{ +module vpp-routing { namespace "urn:ietf:params:xml:ns:yang:vpp-routing"; prefix "vpp-routing"; @@ -15,7 +15,31 @@ module vpp-routing{ prefix "ietf-r"; } - description "General extensions for routes to be able to use VPP route defining apis"; + organization + "FD.io - The Fast Data Project"; + + contact + "Hc2vpp Wiki + Mailing List "; + + description + "This module contains a collection of YANG definitions + that extend hc2vpp-ietf-routing module + with VPP specific routing features. + + 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-09-17 { description "Support for table lookup option moved to separate model."; -- cgit 1.2.3-korg