X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fnsd.yang;h=6c8b8c57b0bbe854dfc450b9f888c9f72868ca0a;hp=4a88eac47db4cd1ce5872b8a9b73832fe073226a;hb=1edb98c576ebd4e2438f319b76aa27b9eefdbe98;hpb=e304a4dfc53b76d714238e42a52f45422d478ae0 diff --git a/models/yang/nsd.yang b/models/yang/nsd.yang index 4a88eac..6c8b8c5 100644 --- a/models/yang/nsd.yang +++ b/models/yang/nsd.yang @@ -35,6 +35,10 @@ module nsd prefix "manotypes"; } + import ietf-inet-types { + prefix "inet"; + } + revision 2017-02-28 { description "Update model to support projects."; @@ -100,6 +104,15 @@ module nsd } } + leaf vnfd-connection-point-ref { + description "A reference to a connection point name"; + type leafref { + path "/vnfd:vnfd-catalog/vnfd:vnfd" + + "[vnfd:id = current()/../vnfd-id-ref]/" + + "vnfd:connection-point/vnfd:name"; + } + } + leaf vnfd-id-ref { description "A reference to a VNFD"; @@ -110,14 +123,11 @@ module nsd } } - leaf vnfd-connection-point-ref { - description "A reference to a connection point name"; - type leafref { - path "/vnfd:vnfd-catalog/vnfd:vnfd" + - "[vnfd:id = current()/../vnfd-id-ref]/" + - "vnfd:connection-point/vnfd:name"; - } + leaf ip-address { + description "IP address of the connection point"; + type inet:ip-address; } + } } }