| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 1 | /* |
| 2 | Copyright 2020 Whitestack LLC |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 13 | implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | module day1-2 { |
| 19 | yang-version 1.1; |
| 20 | namespace "urn:etsi:osm:yang:augments:day1-2"; |
| 21 | prefix "day1-2"; |
| 22 | |
| 23 | import etsi-nfv-vnfd { |
| 24 | prefix vnfd; |
| 25 | } |
| 26 | |
| 27 | import common-augments { |
| 28 | prefix common; |
| 29 | } |
| 30 | |
| 31 | grouping extended-vnf-configuration { |
| bravof | 2eccea2 | 2021-02-12 16:17:54 -0300 | [diff] [blame] | 32 | list day1-2 { |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 33 | key "id"; |
| 34 | leaf id { |
| 35 | description |
| garciadeblas | 1ab5b68 | 2021-09-29 17:24:36 +0200 | [diff] [blame] | 36 | "Internal identifier for the VNF/VDU/KDU configuration"; |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 37 | type string; |
| 38 | } |
| 39 | uses common:vnfc-configuration; |
| David Garcia | 608d594 | 2021-09-28 10:28:03 +0200 | [diff] [blame] | 40 | uses common:relations; |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 41 | uses common:vdu-config-access; |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 42 | |
| bravof | 2eccea2 | 2021-02-12 16:17:54 -0300 | [diff] [blame] | 43 | leaf-list blacklist-config-primitive { |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 44 | description |
| bravof | 2eccea2 | 2021-02-12 16:17:54 -0300 | [diff] [blame] | 45 | "List of blacklisted config primitives from the list of |
| 46 | default kdu config primitives"; |
| 47 | |
| 48 | type enumeration { |
| 49 | enum upgrade; |
| 50 | enum rollback; |
| 51 | } |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 52 | } |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 53 | } |
| 54 | } |
| 55 | |
| bravof | 2eccea2 | 2021-02-12 16:17:54 -0300 | [diff] [blame] | 56 | augment "/vnfd:vnfd/vnfd:df/vnfd:lcm-operations-configuration/vnfd:operate-vnf-op-config" { |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 57 | uses extended-vnf-configuration; |
| 58 | } |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 59 | } |