2 # Copyright 2019 Whitestack LLC
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 --- /tmp/sol006_model/src/yang/etsi-nfv-ns.yang 2019-12-04 13:56:05.510072421 +0000
18 +++ /tmp/sol006_model/src/yang/etsi-nfv-ns_new.yang 2019-12-04 13:59:32.675856579 +0000
21 container vnf-profile {
23 - must ". = deref(../../vnfd-profile-id)" {
25 + // must ". = deref(../../vnfd-profile-id)" {
28 path "../../../../../nsd/df/vnf-profile/id";
32 container pnf-profile {
34 - must ". = deref(../../pnfd-profile-id)" {
36 + // must ". = deref(../../pnfd-profile-id)" {
39 path "../../../../../nsd/df/pnf-profile/id";
43 container ns-profile {
45 - must ". = deref(../../ns-profile-id)" {
47 + // must ". = deref(../../ns-profile-id)" {
50 path "../../../../../nsd/df/ns-profile/id";
53 choice constituent-cpd-id {
56 - must ". = deref(../../vnfd-profile-id)/../vnfd-id" {
58 + // must ". = deref(../../vnfd-profile-id)/../vnfd-id" {
61 path "../../../../../vnfd/id";
67 - must ". = deref(../../pnfd-profile-id)/../pnfd-id" {
69 + // must ". = deref(../../pnfd-profile-id)/../pnfd-id" {
72 path "../../../../../pnfd/id";
78 - must ". = deref(../../nested-ns-profile-id)/" +
81 + // must ". = deref(../../nested-ns-profile-id)/" +
86 path "../../../../../nsd/id";