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
@Generated("mdsal-binding-generator") 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 Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull Bgp thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull Bgp obj)
Default implementation ofObject.hashCode()
contract for this interface.static java.lang.String
bindingToString(@NonNull Bgp obj)
Default implementation ofObject.toString()
contract for this interface.AsId
getAsId()
Return asId, ornull
if it is not present.ConfigServer
getConfigServer()
Return configServer, ornull
if it is not present.DcgwTepList
getDcgwTepList()
Return dcgwTepList, ornull
if it is not present.GracefulRestart
getGracefulRestart()
Return gracefulRestart, ornull
if it is not present.Logging
getLogging()
Return logging, ornull
if it is not present.MultipathContainer
getMultipathContainer()
Return multipathContainer, ornull
if it is not present.NeighborsContainer
getNeighborsContainer()
Return neighborsContainer, ornull
if it is not present.NetworksContainer
getNetworksContainer()
Return networksContainer, ornull
if it is not present.Bgp.VpnType
getVpnType()
Return vpnType, ornull
if it is not present.VrfMaxpathContainer
getVrfMaxpathContainer()
Return vrfMaxpathContainer, ornull
if it is not present.VrfsContainer
getVrfsContainer()
Return vrfsContainer, ornull
if it is not present.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
-
bindingHashCode
static int bindingHashCode(@NonNull Bgp obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
java.lang.NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull Bgp thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
java.lang.NullPointerException
- ifthisObj
is null
-
bindingToString
static java.lang.String bindingToString(@NonNull Bgp obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
java.lang.NullPointerException
- ifobj
is null
-
getConfigServer
ConfigServer getConfigServer()
Return configServer, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.ConfigServer
configServer, ornull
if it is not present.
-
getAsId
AsId getAsId()
Return asId, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.AsId
asId, ornull
if it is not present.
-
getGracefulRestart
GracefulRestart getGracefulRestart()
Return gracefulRestart, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.GracefulRestart
gracefulRestart, ornull
if it is not present.
-
getLogging
Logging getLogging()
Return logging, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.Logging
logging, ornull
if it is not present.
-
getNeighborsContainer
NeighborsContainer getNeighborsContainer()
Return neighborsContainer, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.NeighborsContainer
neighborsContainer, ornull
if it is not present.
-
getNetworksContainer
NetworksContainer getNetworksContainer()
Return networksContainer, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.NetworksContainer
networksContainer, ornull
if it is not present.
-
getVrfsContainer
VrfsContainer getVrfsContainer()
Return vrfsContainer, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.VrfsContainer
vrfsContainer, ornull
if it is not present.
-
getVpnType
Bgp.VpnType getVpnType()
Return vpnType, ornull
if it is not present.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 it is not present.
-
getMultipathContainer
MultipathContainer getMultipathContainer()
Return multipathContainer, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.MultipathContainer
multipathContainer, ornull
if it is not present.
-
getVrfMaxpathContainer
VrfMaxpathContainer getVrfMaxpathContainer()
Return vrfMaxpathContainer, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.VrfMaxpathContainer
vrfMaxpathContainer, ornull
if it is not present.
-
getDcgwTepList
DcgwTepList getDcgwTepList()
Return dcgwTepList, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.DcgwTepList
dcgwTepList, ornull
if it is not present.
-
-