summaryrefslogtreecommitdiffstats
path: root/vpp-management/api/src/main/yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-03-22 14:55:10 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-04-03 13:39:28 +0200
commit5aa18ee6a61c0ac76c4c6a0fe767ce4f610f7597 (patch)
tree2eeeace0bb14f76a3802c27419fc94cc10406e24 /vpp-management/api/src/main/yang
parent8e00316d48d1424f311b9da653521f0adbc3f7f7 (diff)
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 <mgradzki@cisco.com>
Diffstat (limited to 'vpp-management/api/src/main/yang')
-rw-r--r--vpp-management/api/src/main/yang/vpp-management@2017-03-15.yang77
1 files changed, 51 insertions, 26 deletions
diff --git a/vpp-management/api/src/main/yang/vpp-management@2017-03-15.yang b/vpp-management/api/src/main/yang/vpp-management@2017-03-15.yang
index 2582cbea4..b1ad8d8fb 100644
--- a/vpp-management/api/src/main/yang/vpp-management@2017-03-15.yang
+++ b/vpp-management/api/src/main/yang/vpp-management@2017-03-15.yang
@@ -3,40 +3,65 @@ module vpp-management {
namespace "urn:opendaylight:params:xml:ns:yang:vpp:management";
prefix "vpp-m";
+ 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
+ that expose VPP operational state.
+
+ 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
- "This revision add support for
- - Vpp state attributes read
- - RPC cli support";
+ "This revision add support for
+ - Vpp state attributes read
+ - RPC cli support";
}
container vpp-state {
- config false;
+ config false;
- description
- "VPP operational data";
-
- container version {
- leaf name {
- type string;
- }
- leaf build-directory {
- type string;
- }
- leaf build-date {
- type string;
- }
- leaf branch {
- type string;
- }
- leaf pid {
- type uint32;
- description
- "PID of the vpp process";
- }
+ description
+ "VPP operational data";
+
+ container version {
+ leaf name {
+ type string;
+ }
+ leaf build-directory {
+ type string;
+ }
+ leaf build-date {
+ type string;
+ }
+ leaf branch {
+ type string;
+ }
+ leaf pid {
+ type uint32;
description
- "vlib version info";
+ "PID of the vpp process";
}
+ description
+ "vlib version info";
+ }
}
rpc cli-inband {