From: Tomás Villaseca Date: Wed, 19 Feb 2020 20:04:12 +0000 (-0300) Subject: Add description to multiple descriptors X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F22%2F8622%2F18;p=osm%2FIM.git Add description to multiple descriptors Change-Id: I7dd2064312b6398cd57af5583d5089f76f3b79b0 Signed-off-by: Tomás Villaseca --- diff --git a/augments/additional-info.yang b/augments/additional-info.yang new file mode 100644 index 0000000..2119073 --- /dev/null +++ b/augments/additional-info.yang @@ -0,0 +1,42 @@ +/* + Copyright 2020 Whitestack LLC + + 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. +*/ + +module additional-info { + yang-version 1.1; + namespace "urn:etsi:osm:yang:augments:additional-info"; + prefix "additional-info"; + + import etsi-nfv-vnfd { + prefix vnfd; + } + + import common-augments { + prefix common; + } + + augment "/vnfd:vnfd" { + uses common:description; + } + + augment "/vnfd:vnfd/vnfd:df/vnfd:virtual-link-profile/vnfd:virtual-link-protocol-data/vnfd:l3-protocol-data" { + uses common:description; + } + + augment "/vnfd:vnfd/vnfd:virtual-storage-desc" { + uses common:description; + } +} diff --git a/augments/common-augments.yang b/augments/common-augments.yang index bcb7d47..c0bbb82 100644 --- a/augments/common-augments.yang +++ b/augments/common-augments.yang @@ -506,4 +506,10 @@ module common-augments { } } } + + grouping description { + leaf description { + type string; + } + } } \ No newline at end of file