| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 4 | * Copyright 2016-2017 RIFT.IO Inc |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | * |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | module vnfd |
| 22 | { |
| garciadeblas | c038a8d | 2019-04-03 13:35:27 +0200 | [diff] [blame] | 23 | namespace "urn:etsi:osm:yang:vnfd"; |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 24 | prefix "vnfd"; |
| 25 | |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 26 | import vnfd-base { |
| 27 | prefix "vnfd-base"; |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 28 | } |
| 29 | |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 30 | revision 2017-02-28 { |
| 31 | description |
| 32 | "Update model to support projects."; |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | revision 2015-09-10 { |
| 36 | description |
| 37 | "Initial revision. This YANG file defines |
| 38 | the Virtual Network Function (VNF)"; |
| 39 | reference |
| 40 | "Derived from earlier versions of base YANG files"; |
| 41 | } |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 42 | container vnfd-catalog { |
| 43 | description |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 44 | "Virtual Network Function Descriptor (VNFD)."; |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 45 | |
| garciadeblas | 781fe34 | 2017-12-18 11:34:47 +0100 | [diff] [blame] | 46 | leaf schema-version { |
| 47 | description "Schema version for the VNFD. If unspecified, it assumes v3.0"; |
| 48 | type string; |
| 49 | default "v3.0"; |
| 50 | } |
| 51 | |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 52 | list vnfd { |
| 53 | key "id"; |
| 54 | |
| garciadeblas | 0ec676d | 2017-12-18 18:22:27 +0100 | [diff] [blame] | 55 | uses vnfd-base:vnfd-descriptor; |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 56 | } |
| velandy | 793e5ea | 2017-06-07 13:01:55 -0400 | [diff] [blame] | 57 | } |
| 58 | } |
| 59 | |
| 60 | // vim: sw=2 |