X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsr.yang;h=f7c16fe6325e68946943d5ae9a0652e97a7d4e1c;hb=055eabb8205cf0707a139f394f0afb5dbfa7423c;hp=2e12788e0b3ff00455c5a36247a056b6c8a39088;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/models/plugins/yang/nsr.yang b/models/plugins/yang/nsr.yang index 2e12788e..f7c16fe6 100644 --- a/models/plugins/yang/nsr.yang +++ b/models/plugins/yang/nsr.yang @@ -111,13 +111,22 @@ 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 ssh-authorized-key { + key "key-pair-ref"; + + description "Used to configure the list of public keys to be injected as part + of ns instantiation"; + + 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"; + } + } } } } @@ -163,6 +172,8 @@ module nsr } } + + container ns-instance-config { list nsr { @@ -602,6 +613,14 @@ module nsr type uint32; } + leaf uptime { + description + "Active period of this Network Service. + Uptime is expressed in seconds"; + + type uint32; + } + list connection-point { description "List for external connection points.