X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsr.yang;h=c6bb4ec9a8e492458d68fb2bf0b3a79d17c5d1d1;hb=d0d7b8a40207d7c67e72c65879226c441e443d05;hp=78c86ad3b13bfe6dc94089e8c88e45a4cb9744bc;hpb=56f725b1dab9b60792a49e293b2f06e1aafe58b0;p=osm%2FSO.git diff --git a/models/plugins/yang/nsr.yang b/models/plugins/yang/nsr.yang index 78c86ad3..c6bb4ec9 100644 --- a/models/plugins/yang/nsr.yang +++ b/models/plugins/yang/nsr.yang @@ -98,9 +98,7 @@ module nsr leaf key-pair-ref { description "A reference to the key pair entry in the global key pair table"; - type leafref { - path "/nsr:key-pair/nsr:name"; - } + type string; } } list user { @@ -111,13 +109,24 @@ module nsr description "Name of the user "; type string; } - leaf gecos { + leaf user-info { description "The user name's real name"; type string; } - leaf passwd { - description "The user password"; - type string; + list key-pair { + key "name"; + description "Used to configure the list of public keys to be injected as part + of ns instantiation"; + + leaf name { + description "Name of this key pair"; + type string; + } + + leaf key { + description "Key associated with this key pair"; + type string; + } } } } @@ -161,6 +170,8 @@ module nsr } } + + container ns-instance-config { list nsr {