| Tomás Villaseca | 78f1c93 | 2020-01-28 16:27:35 -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; |
| Tomás Villaseca | b6c0016 | 2020-05-16 17:27:50 -0400 | [diff] [blame] | 20 | namespace "urn:etsi:osm:yang:augments:day1-2"; |
| Tomás Villaseca | 78f1c93 | 2020-01-28 16:27:35 -0300 | [diff] [blame] | 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 { |
| Tomás Villaseca | f3b7774 | 2020-02-22 15:08:21 -0300 | [diff] [blame] | 32 | list vnf-configuration { |
| 33 | key "id"; |
| 34 | leaf id { |
| 35 | description |
| 36 | "Internal identifier for the VNF configuration"; |
| 37 | type string; |
| 38 | } |
| Tomás Villaseca | 78f1c93 | 2020-01-28 16:27:35 -0300 | [diff] [blame] | 39 | uses common:vnfc-configuration; |
| 40 | uses common:vnfc-relations; |
| 41 | uses common:vdu-config-access; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | grouping extended-vdu-configuration { |
| Tomás Villaseca | f3b7774 | 2020-02-22 15:08:21 -0300 | [diff] [blame] | 46 | list vdu-configuration { |
| 47 | key "id"; |
| 48 | leaf id { |
| 49 | description |
| 50 | "Internal identifier for the VDU configuration"; |
| 51 | type string; |
| 52 | } |
| Tomás Villaseca | 78f1c93 | 2020-01-28 16:27:35 -0300 | [diff] [blame] | 53 | uses common:vnfc-configuration; |
| 54 | uses common:vdu-config-access; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | augment "/vnfd:vnfd" { |
| 59 | uses extended-vnf-configuration; |
| 60 | } |
| 61 | |
| Tomás Villaseca | f3b7774 | 2020-02-22 15:08:21 -0300 | [diff] [blame] | 62 | augment "/vnfd:vnfd" { |
| Tomás Villaseca | 78f1c93 | 2020-01-28 16:27:35 -0300 | [diff] [blame] | 63 | uses extended-vdu-configuration; |
| 64 | } |
| 65 | } |