Revisited KDU augment to follow previous structure in old IM
[osm/IM.git] / models / augments / ns-configuration.yang
1 /*
2   Copyright 2020 Whitestack LLC
3
4   Licensed under the Apache License, Version 2.0 (the "License");
5   you may not use this file except in compliance with the License.
6   You may obtain a copy of the License at
7
8     http://www.apache.org/licenses/LICENSE-2.0
9
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13   implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16 */
17
18 module ns-configuration {
19     yang-version 1.1;
20     namespace "urn:etsi:osm:yang:augments:ns-configuration";
21     prefix "ns-configuration";
22
23     import etsi-nfv-nsd {
24         prefix nsd;
25     }
26
27     import common-augments {
28         prefix common;
29     }
30
31     grouping extended-ns-configuration {
32         container ns-configuration {
33             description
34               "Information about NS configuration.";
35
36             uses common:vnfc-configuration;
37             uses common:vnfc-relations;
38         }
39     }
40
41     augment "/nsd:nsd/nsd:nsd" {
42         uses extended-ns-configuration;
43     }
44 }