public interface L3vpnData
extends org.opendaylight.yangtools.yang.binding.DataRoot
This class represents the following YANG schema fragment defined in module l3vpn
module l3vpn { yang-version 1; namespace "urn:huawei:params:xml:ns:yang:l3vpn"; prefix "l3vpn"; import ietf-inet-types { prefix "inet"; } import neutronvpn { prefix "nvpn"; } import ietf-interfaces { prefix "if"; } import ietf-yang-types { prefix "yang"; } import bgp { prefix "bgp"; } revision 2014-08-15 { description "This YANG module defines the generic configuration data for L3VPN service.Terms and AcronymsBGP (bgp): Border Gateway ProtocolIPv4 (ipv4):Internet Protocol Version 4IPv6 (ipv6): Internet Protocol Version 6 "; } container vpn-instances { list vpn-instance { key "vpn-instance-name"; leaf vpn-instance-name { type string; } leaf type { type type; } leaf l3vni { type uint32; } leaf description { type string; } container ipv4-family { leaf-list route-distinguisher { type string; } container vpnTargets { list vpnTarget { key "vrfRTValue"; leaf vrfRTValue { type string; } leaf vrfRTType { type enumeration; } } } container apply-label { choice apply-label-mode { case per-instance { leaf apply-label-per-instance { type apply-label-per-instance; } } case per-route { leaf apply-label-per-route { type apply-label-per-route; } } } } leaf import-route-policy { type string; } leaf export-route-policy { type string; } container prefix-limit { leaf prefix-limit-number { type uint32; } choice prefix-limit-action { case enable-alert-percent { leaf alert-percent-value { type uint8; } leaf route-unchanged { type route-unchanged; } } case enable-simple-alert { leaf simple-alert { type simple-alert; } } } } container routing-table-limit { leaf routing-table-limit-number { type uint32; } choice routing-table-limit-action { case enable-alert-percent { leaf alert-percent-value { type uint8; } } case enable-simple-alert { leaf simple-alert { type boolean; } } } } leaf vpn-frr { type vpn-frr; } container l3vpnVrfPipe { leaf pipeMode { type pipeMode; } leaf serviceClass { type serviceClass; } leaf color { type color; } leaf dsName { type dsName; } } container l3vpnTtlMode { leaf ttlMode { type ttlMode; } } leaf tunnel-policy { type string; } container importRibs { leaf protocol { type enumeration; } leaf processId { type processId; } leaf bgp-valid-route { type boolean; } leaf policyName { type string; } } leaf traffic-statistics { type traffic-statistics; } uses vpn-af-config; } container ipv6-family { leaf-list route-distinguisher { type string; } container vpnTargets { list vpnTarget { key "vrfRTValue"; leaf vrfRTValue { type string; } leaf vrfRTType { type enumeration; } } } container apply-label { choice apply-label-mode { case per-instance { leaf apply-label-per-instance { type apply-label-per-instance; } } case per-route { leaf apply-label-per-route { type apply-label-per-route; } } } } leaf import-route-policy { type string; } leaf export-route-policy { type string; } container prefix-limit { leaf prefix-limit-number { type uint32; } choice prefix-limit-action { case enable-alert-percent { leaf alert-percent-value { type uint8; } leaf route-unchanged { type route-unchanged; } } case enable-simple-alert { leaf simple-alert { type simple-alert; } } } } container routing-table-limit { leaf routing-table-limit-number { type uint32; } choice routing-table-limit-action { case enable-alert-percent { leaf alert-percent-value { type uint8; } } case enable-simple-alert { leaf simple-alert { type boolean; } } } } leaf vpn-frr { type vpn-frr; } container l3vpnVrfPipe { leaf pipeMode { type pipeMode; } leaf serviceClass { type serviceClass; } leaf color { type color; } leaf dsName { type dsName; } } container l3vpnTtlMode { leaf ttlMode { type ttlMode; } } leaf tunnel-policy { type string; } container importRibs { leaf protocol { type enumeration; } leaf processId { type processId; } leaf bgp-valid-route { type boolean; } leaf policyName { type string; } } leaf traffic-statistics { type traffic-statistics; } uses vpn-af-config; } } } container vpn-interfaces { list vpn-interface { key "name"; leaf name { type leafref; } list vpn-instance-names { key "vpn-name"; leaf vpn-name { type string; } leaf associated-subnet-type { type enumeration; } } leaf dpn-id { type uint64; } leaf router-interface { type boolean; } leaf network-id { type uuid; } leaf network-type { type enumeration; } leaf segmentation-id { type uint32; } list adjacency { key "ip_address"; leaf-list next-hop-ip-list { type string; } leaf ip_address { type string; } leaf adjacency_type { type adjacency_type; } leaf mac_address { type string; } leaf subnet_id { type uuid; } leaf subnet_gateway_ip { type string; } leaf phys-network-func { type phys-network-func; } leaf label { type uint32; } leaf subnet_gateway_mac_address { type string; } leaf vrf-id { type string; } leaf marked_for_deletion { type boolean; } uses adjacency-op-data; } augment \(urn:huawei:params:xml:ns:yang:l3vpn)vpn-interfaces\(urn:huawei:params:xml:ns:yang:l3vpn)vpn-interface { when "Optional.empty"; status CURRENT; list adjacency { key "ip_address"; leaf-list next-hop-ip-list { type string; } leaf ip_address { type string; } leaf adjacency_type { type adjacency_type; } leaf mac_address { type string; } leaf subnet_id { type uuid; } leaf subnet_gateway_ip { type string; } leaf phys-network-func { type phys-network-func; } leaf label { type uint32; } leaf subnet_gateway_mac_address { type string; } leaf vrf-id { type string; } leaf marked_for_deletion { type boolean; } uses adjacency-op-data; } uses adjacency-list; } uses network-attributes; } } container vrfInfo { leaf vrfCreateTime { type timestamp; } leaf vrfUpTime { type timeticks; } leaf label { type uint32; } leaf vrfStatus { type enumeration; } } grouping augment-bgp-af-vpn-config { leaf apply-label-per-nexthop { type apply-label-per-nexthop; } leaf upeEnable { type upeEnable; } } grouping bgp-af-vpn-instance-config { container router-id { leaf enable { type boolean; } choice config-type { case auto-select { leaf enable-auto-select { type boolean; } } case static { leaf ip-address { type ip-address; } } } } leaf auto-frr { type auto-frr; } container bgpPeers { list bgpPeer { key "peerAddr"; leaf peerAddr { type ip-address; } leaf groupName { type string; } leaf remoteAs { type string; } leaf description { type string; } leaf soo { type string; } leaf substituteAsEnable { type substituteAsEnable; } } } } grouping vpn-af-config { leaf-list route-distinguisher { type string; } container vpnTargets { list vpnTarget { key "vrfRTValue"; leaf vrfRTValue { type string; } leaf vrfRTType { type enumeration; } } } container apply-label { choice apply-label-mode { case per-instance { leaf apply-label-per-instance { type apply-label-per-instance; } } case per-route { leaf apply-label-per-route { type apply-label-per-route; } } } } leaf import-route-policy { type string; } leaf export-route-policy { type string; } container prefix-limit { leaf prefix-limit-number { type uint32; } choice prefix-limit-action { case enable-alert-percent { leaf alert-percent-value { type uint8; } leaf route-unchanged { type route-unchanged; } } case enable-simple-alert { leaf simple-alert { type simple-alert; } } } } container routing-table-limit { leaf routing-table-limit-number { type uint32; } choice routing-table-limit-action { case enable-alert-percent { leaf alert-percent-value { type uint8; } } case enable-simple-alert { leaf simple-alert { type boolean; } } } } leaf vpn-frr { type vpn-frr; } container l3vpnVrfPipe { leaf pipeMode { type pipeMode; } leaf serviceClass { type serviceClass; } leaf color { type color; } leaf dsName { type dsName; } } container l3vpnTtlMode { leaf ttlMode { type ttlMode; } } leaf tunnel-policy { type string; } container importRibs { leaf protocol { type enumeration; } leaf processId { type processId; } leaf bgp-valid-route { type boolean; } leaf policyName { type string; } } leaf traffic-statistics { type traffic-statistics; } } augment \(urn:cisco:params:xml:ns:yang:bgp)bgp-router\(urn:cisco:params:xml:ns:yang:bgp)vpnv4\(urn:cisco:params:xml:ns:yang:bgp)unicast { when "Optional.empty"; status CURRENT; leaf apply-label-per-nexthop { type apply-label-per-nexthop; } leaf upeEnable { type upeEnable; } uses augment-bgp-af-vpn-config; } augment \(urn:cisco:params:xml:ns:yang:bgp)bgp-router\(urn:cisco:params:xml:ns:yang:bgp)vpnv6\(urn:cisco:params:xml:ns:yang:bgp)unicast { when "Optional.empty"; status CURRENT; leaf apply-label-per-nexthop { type apply-label-per-nexthop; } leaf upeEnable { type upeEnable; } uses augment-bgp-af-vpn-config; } augment \(urn:cisco:params:xml:ns:yang:bgp)bgp-router { when "Optional.empty"; status CURRENT; container bgp-af-ipv4-vpn-instances { list bgp-af-ipv4-vpn-instance { key "vpn-instance-name"; leaf vpn-instance-name { type string; } container router-id { leaf enable { type boolean; } choice config-type { case auto-select { leaf enable-auto-select { type boolean; } } case static { leaf ip-address { type ip-address; } } } } leaf auto-frr { type auto-frr; } container bgpPeers { list bgpPeer { key "peerAddr"; leaf peerAddr { type ip-address; } leaf groupName { type string; } leaf remoteAs { type string; } leaf description { type string; } leaf soo { type string; } leaf substituteAsEnable { type substituteAsEnable; } } } uses bgp-af-vpn-instance-config; } } container bgp-af-ipv6-vpn-instances { list bgp-af-ipv6-vpn-instance { key "vpn-instance-name"; leaf vpn-instance-name { type string; } container router-id { leaf enable { type boolean; } choice config-type { case auto-select { leaf enable-auto-select { type boolean; } } case static { leaf ip-address { type ip-address; } } } } leaf auto-frr { type auto-frr; } container bgpPeers { list bgpPeer { key "peerAddr"; leaf peerAddr { type ip-address; } leaf groupName { type string; } leaf remoteAs { type string; } leaf description { type string; } leaf soo { type string; } leaf substituteAsEnable { type substituteAsEnable; } } } uses bgp-af-vpn-instance-config; } } } }
Modifier and Type | Method and Description |
---|---|
VpnInstances |
getVpnInstances()
VPN instances configuration parameters.VPN instances support both the IPv4 and
IPv6 address families.
|
VpnInterfaces |
getVpnInterfaces()
VPN is enabled on interfaces.
|
VrfInfo |
getVrfInfo()
Display the information of the vrf.It is intended that this container may be
augmented by vendors toreflect the vendor-specific operational state parameters.
|
VpnInstances getVpnInstances()
org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.VpnInstances
vpnInstances
, or null
if not presentVpnInterfaces getVpnInterfaces()
org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.VpnInterfaces
vpnInterfaces
, or null
if not presentVrfInfo getVrfInfo()
org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.VrfInfo
vrfInfo
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.