Interface Bgp
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Bgp>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<EbgpData>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface Bgp extends org.opendaylight.yangtools.yang.binding.ChildOf<EbgpData>, org.opendaylight.yangtools.yang.binding.Augmentable<Bgp>
This class represents the following YANG schema fragment defined in module ebgp
container bgp { container config-server { leaf host { type inet:ipv4-address; } leaf port { type uint32; } } container as-id { leaf local-as { type uint32; } leaf router-id { type inet:ip-address; } leaf stalepath-time { type uint32; default 360; } leaf announce-fbit { type boolean; } leaf keepalive { type uint32; default 60; } leaf holdtime { type uint32; default 180; } } container graceful-restart { leaf stalepath-time { type uint32; } } container logging { leaf file { type string; } leaf level { type string; } } container neighborsContainer { list neighbors { key address; leaf address { type inet:ipv4-address; } leaf remote-as { type uint32; } uses tcp-security-option-grouping; container ebgp-multihop { leaf nhops { type uint32; } leaf peer-ip { type leafref { path /ericsson-bgp:bgp/neighborsContainer/neighbors/address; } } } container update-source { leaf source-ip { type inet:ipv4-address; } leaf peer-ip { type leafref { path /ericsson-bgp:bgp/neighborsContainer/neighbors/address; } } } list address-families { key "afi safi"; leaf afi { type uint32; } leaf safi { type uint32; } leaf peer-ip { type leafref { path /ericsson-bgp:bgp/neighborsContainer/neighbors/address; } } } } } container networksContainer { list networks { key "rd prefix-len"; leaf rd { type string; } leaf prefix-len { type string; } leaf afi { type uint32; } leaf macaddress { type string; } leaf bgp_control_plane_type { type bgp_control_plane_type; } leaf nexthop { type inet:ipv4-address; } leaf label { type uint32; } leaf ethtag { type uint32; } leaf esi { type string; } leaf encap-type { type encap_type; } leaf routermac { type string; } leaf l3vni { type uint32; } leaf l2vni { type uint32; } } } container vrfsContainer { list vrfs { key rd; leaf rd { type string; } list address-families-vrf { key "afi safi"; leaf afi { type uint32; } leaf safi { type uint32; } } leaf-list import-rts { type string; } leaf-list export-rts { type string; } } } typedef layer_type { type enumeration { enum LAYER_2 { value 1; } enum LAYER_3 { value 2; } } } typedef address_family { type enumeration { enum IPV_4 { value 1; } enum IPV_6 { value 2; } enum L2VPN { value 3; } } } typedef encap_type { type enumeration { enum L2TPV3_OVER_IP { value 1; } enum GRE { value 2; } enum IP_IN_IP { value 7; } enum VXLAN { value 8; } enum MPLS { value 10; } } } typedef bgp_control_plane_type { type enumeration { enum PROTOCOL_LU { value 1; } enum PROTOCOL_L3VPN { value 2; } enum PROTOCOL_EVPN { value 3; } enum PROTOCOL_ANY { value 4; } } } leaf vpn-type { type enumeration { enum l3 { value 0; } enum l2 { value 1; } } default l3; } container multipathContainer { list multipath { key "afi safi"; leaf afi { type uint32; } leaf safi { type uint32; } leaf multipath-enabled { type boolean; } } } container vrfMaxpathContainer { list vrfMaxpath { key rd; leaf rd { type string; } leaf maxpaths { type uint16; } } } container dcgw-tep-list { list dcgw-tep { key dc-gw-ip; leaf dc-gw-ip { type string; } leaf-list tep-ips { type string; } } } }
The schema path to identify an instance is ebgp/bgpTo create instances of this class use
BgpBuilder
.- See Also:
BgpBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Bgp.VpnType
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable AsId
getAsId()
@Nullable ConfigServer
getConfigServer()
@Nullable DcgwTepList
getDcgwTepList()
@Nullable GracefulRestart
getGracefulRestart()
@Nullable Logging
getLogging()
@Nullable MultipathContainer
getMultipathContainer()
@Nullable NeighborsContainer
getNeighborsContainer()
@Nullable NetworksContainer
getNetworksContainer()
@Nullable Bgp.VpnType
getVpnType()
The type of the VPN Instance.@Nullable VrfMaxpathContainer
getVrfMaxpathContainer()
@Nullable VrfsContainer
getVrfsContainer()
default java.lang.Class<Bgp>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<Bgp> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getConfigServer
@Nullable ConfigServer getConfigServer()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.ConfigServer
configServer
, ornull
if not present
-
getAsId
@Nullable AsId getAsId()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.AsId
asId
, ornull
if not present
-
getGracefulRestart
@Nullable GracefulRestart getGracefulRestart()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.GracefulRestart
gracefulRestart
, ornull
if not present
-
getLogging
@Nullable Logging getLogging()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.Logging
logging
, ornull
if not present
-
getNeighborsContainer
@Nullable NeighborsContainer getNeighborsContainer()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.NeighborsContainer
neighborsContainer
, ornull
if not present
-
getNetworksContainer
@Nullable NetworksContainer getNetworksContainer()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.NetworksContainer
networksContainer
, ornull
if not present
-
getVrfsContainer
@Nullable VrfsContainer getVrfsContainer()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.VrfsContainer
vrfsContainer
, ornull
if not present
-
getVpnType
@Nullable Bgp.VpnType getVpnType()
The type of the VPN Instance. L3 indicates it is an L3VPN. L2 indicates it is EVPN- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.Bgp.VpnType
vpnType
, ornull
if not present
-
getMultipathContainer
@Nullable MultipathContainer getMultipathContainer()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.MultipathContainer
multipathContainer
, ornull
if not present
-
getVrfMaxpathContainer
@Nullable VrfMaxpathContainer getVrfMaxpathContainer()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.VrfMaxpathContainer
vrfMaxpathContainer
, ornull
if not present
-
getDcgwTepList
@Nullable DcgwTepList getDcgwTepList()
- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.DcgwTepList
dcgwTepList
, ornull
if not present
-
-