-//INFORMATION
-//organization "CTTC";
-//contact "Pol Alemany, Ricard Vilalta, Juan Luis de la Cruz";
-//description "Network Slice components definition";
+/*
+ *
+ * Copyright 2018 CTTC
+ * Copyright 2018 Telefonica Investigacion y Desarrollo S.A.U.
+ *
+ * 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 STRUCTURE
module nst {
//header information
yang-version 1;
- namespace "urn:ietf:params:xml:ns:yang:nfvo:nst";
+ namespace "urn:etsi:osm:yang:nst";
prefix "nst";
import nsd-base{
uses nsd-base:vld-common;
- list nsd-connection-point-ref {
+ list nss-connection-point-ref {
description
"A list of references to connection points.";
- key "nsd-ref nsd-connection-point-ref";
+ key "nss-ref nsd-connection-point-ref";
- leaf nsd-ref {
+ leaf nss-ref {
description "Reference to nsd";
type leafref {
- path "/nsd:nsd-catalog/nsd:nsd/nsd:id";
+ path "/nst:nst/nst:netslice-subnet/nst:id";
}
}