| This yang model is just for fuction ONOS opensource project demo purpose only, |
| And is subject to change in future, Huawei does not commit provide compatibilty |
| namespace "ne-l3vpn-api"; |
| import ne-l3vpncomm-type { |
| organization "Huawei Technologies Co., Ltd"; |
| contact "Huawei Industrial Base |
| People's Republic of China |
| Website: http://www.huawei.com |
| Email: support@huawei.com"; |
| description "VRP V800R010 Schema"; |
| reference "Huawei VRPV8 Schema"; |
| container l3vpnInstances { |
| description "Address family"; |
| type "l3vpncomm-type:l3vpncommonL3vpnPrefixType"; |
| description "Address family"; |
| when "vrfName != '_public_'"; |
| description "route-distinguisher."; |
| must "vrfName != '_public_' and vpnTarget = '0'"; |
| key "vrfRTValue vrfRTType"; |
| description "L3vpn vpntarget configure class"; |
| type "l3vpncomm-type:l3vpncommonVrfRtType"; |