X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fnst.yang;h=059d5dd09a31732a0bac0d2357038852d3f011e5;hp=85e2917836a4cd4976ff3ff335c2af0679deb415;hb=c038a8d7a32f350cf88d952b4978bbaf9585d222;hpb=ff4b926e0a81c4010acc2684f4c0e97e565cd57a diff --git a/models/yang/nst.yang b/models/yang/nst.yang index 85e2917..059d5dd 100644 --- a/models/yang/nst.yang +++ b/models/yang/nst.yang @@ -1,13 +1,27 @@ -//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{ @@ -70,15 +84,15 @@ module nst { 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"; } }