| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * |
| 4 | * Copyright 2017 RIFT.IO Inc |
| 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 project-vnfd |
| 22 | { |
| garciadeblas | c038a8d | 2019-04-03 13:35:27 +0200 | [diff] [blame] | 23 | namespace "urn:etsi:osm:yang:project-vnfd"; |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 24 | prefix "project-vnfd"; |
| 25 | |
| garciadeblas | c038a8d | 2019-04-03 13:35:27 +0200 | [diff] [blame] | 26 | import osm-project { |
| 27 | prefix "osm-project"; |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | import vnfd-base { |
| 31 | prefix "vnfd-base"; |
| 32 | } |
| 33 | |
| 34 | revision 2017-02-28 { |
| 35 | description |
| 36 | "Initial revision. This YANG file defines |
| 37 | the Virtual Network Function (VNF) descriptor |
| 38 | under a project"; |
| 39 | reference |
| 40 | "Derived from earlier versions of base YANG files"; |
| 41 | } |
| 42 | |
| garciadeblas | c038a8d | 2019-04-03 13:35:27 +0200 | [diff] [blame] | 43 | augment /osm-project:project { |
| Rajesh Velandy | e27e0b2 | 2017-09-18 17:21:48 -0400 | [diff] [blame] | 44 | container vnfd-catalog { |
| 45 | description |
| 46 | "Virtual Network Function Descriptor (VNFD)."; |
| 47 | |
| 48 | list vnfd { |
| 49 | key "id"; |
| 50 | |
| 51 | uses vnfd-base:vnfd-descriptor; |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // vim: sw=2 |