Interface BgpNeighborPeerGroupConfig
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Config1
,NeighborPeerGroupConfig
,State6
@Generated("mdsal-binding-generator")
public interface BgpNeighborPeerGroupConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters indicating whether the specified peer is to be
considered as part of a peer-group - and therefore inherit its configuration
This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor-peer-group_config { leaf peer-group { type leafref { path /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:peer-group-name; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn peerGroup, ornull
if it is not present.Class<? extends BgpNeighborPeerGroupConfig>
default @NonNull String
Return peerGroup, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends BgpNeighborPeerGroupConfig> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPeerGroup
String getPeerGroup()Return peerGroup, ornull
if it is not present.The peer-group with which this neighbor is associated
- Returns:
String
peerGroup, ornull
if it is not present.
-
requirePeerGroup
Return peerGroup, guaranteed to be non-null.The peer-group with which this neighbor is associated
- Returns:
String
peerGroup, guaranteed to be non-null.- Throws:
NoSuchElementException
- if peerGroup is not present
-