blob: b03c382f52713d32b8b77d209f00d470a4e9ca0b [file] [log] [blame]
janani bf7060cd2017-03-28 19:06:30 +05301/*
2WARNING:
3This yang model is just for fuction ONOS opensource project demo purpose only,
4And is subject to change in future, Huawei does not commit provide compatibilty
5in commercial product.
6*/
7module ne-l3vpncomm {
8 namespace "ne-l3vpn-comm";
9 prefix "l3vpncomm";
10 import ne-l3vpncomm-type {
11 prefix l3vpncomm-type;
12 }
13 organization "Huawei Technologies Co., Ltd";
14 contact "Huawei Industrial Base
15 Bantian, Longgang
16 Shenzhen 518129
17 People's Republic of China
18 Website: http://www.huawei.com
19 Email: support@huawei.com";
20 description "";
21 revision "2014-12-25" {
22 description "Initial version";
23 }
24 grouping l3vpnIfs {
25 container l3vpnIfs {
26 description "";
27 list l3vpnIf {
28 key "ifName";
29 description "interface Name.";
30 leaf ifName {
31 type string;
32 description "interface Name";
33 }
34 leaf ipv4Addr {
35 when "subnetMask != null";
36 mandatory "true";
37 type "l3vpncomm-type:ipv4Address";
38 description "Interface Address.";
39 }
40 leaf subnetMask {
41 when "ipv4Addr != null";
42 mandatory "true";
43 type "l3vpncomm-type:ipv4Address";
44 description "Interface address mask.";
45 }
46 }
47 }
48 }
49}