blob: 811bc64f94b2a9e7540ff976a6212f282ddb9ba0 [file] [log] [blame]
Rajesh Velandye27e0b22017-09-18 17:21:48 -04001
2/*
3 *
4 * Copyright 2016-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
21module vnffgd
22{
garciadeblasc038a8d2019-04-03 13:35:27 +020023 namespace "urn:etsi:osm:yang:vnffgd";
Rajesh Velandye27e0b22017-09-18 17:21:48 -040024 prefix "vnffgd";
25
26 import ietf-yang-types {
27 prefix "yang";
28 }
29
garciadeblasc038a8d2019-04-03 13:35:27 +020030 import osm-project {
31 prefix "osm-project";
Rajesh Velandye27e0b22017-09-18 17:21:48 -040032 }
33
34 revision 2017-02-08 {
35 description
36 "Update model to support projects.";
37 }
38
39 revision 2014-10-27 {
40 description
41 "Initial revision. This YANG file defines
42 the VNF Forwarding Graph Descriptor (VNFFGD)";
43 reference
44 "Derived from earlier versions of base YANG files";
45 }
46
garciadeblasc038a8d2019-04-03 13:35:27 +020047 augment "/osm-project:project" {
Rajesh Velandye27e0b22017-09-18 17:21:48 -040048 container vnffgd-catalog {
49
50 list vnffgd {
51 key "id";
52
53 leaf name {
54 description "VNF Forwarding Graph Descriptor name.";
55 type string;
56 }
57
58 leaf id {
59 description "Identifier for the VNFFGD.";
60 type yang:uuid;
61 }
62
63 leaf provider {
64 description "Provider of the VNFFGD.";
65 type string;
66 }
67
68 leaf description {
69 description "Description of the VNFFGD.";
70 type string;
71 }
72
73 leaf version {
74 description "Version of the VNFFGD";
75 type string;
76 }
77
78 //TODO: Add more content here
79 }
80 }
81 }
82}