public class DefaultRoutingProtocol extends org.onosproject.yang.model.InnerModelObject implements RoutingProtocol, org.onosproject.yang.model.MultiInstanceObject<RoutingProtocolKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeRoutingProtocol.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected Bgp |
bgp |
protected Ospf |
ospf |
protected Rip |
rip |
protected Class<? extends RoutingProtocolType> |
type |
protected BitSet |
valueLeafFlags |
protected Vrrp |
vrrp |
protected YangAutoPrefixStatic |
yangAutoPrefixStatic |
| Constructor and Description |
|---|
DefaultRoutingProtocol()
Creates an instance of defaultRoutingProtocol.
|
| Modifier and Type | Method and Description |
|---|---|
Bgp |
bgp()
Returns the attribute bgp.
|
void |
bgp(Bgp bgp)
Sets the attribute bgp.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(RoutingProtocol.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Ospf |
ospf()
Returns the attribute ospf.
|
void |
ospf(Ospf ospf)
Sets the attribute ospf.
|
Rip |
rip()
Returns the attribute rip.
|
void |
rip(Rip rip)
Sets the attribute rip.
|
String |
toString() |
Class<? extends RoutingProtocolType> |
type()
Returns the attribute type.
|
void |
type(Class<? extends RoutingProtocolType> type)
Sets the attribute type.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
Vrrp |
vrrp()
Returns the attribute vrrp.
|
void |
vrrp(Vrrp vrrp)
Sets the attribute vrrp.
|
YangAutoPrefixStatic |
yangAutoPrefixStatic()
Returns the attribute yangAutoPrefixStatic.
|
void |
yangAutoPrefixStatic(YangAutoPrefixStatic yangAutoPrefixStatic)
Sets the attribute yangAutoPrefixStatic.
|
protected Class<? extends RoutingProtocolType> type
protected BitSet valueLeafFlags
protected Ospf ospf
protected Bgp bgp
protected YangAutoPrefixStatic yangAutoPrefixStatic
protected Rip rip
protected Vrrp vrrp
public DefaultRoutingProtocol()
public Class<? extends RoutingProtocolType> type()
RoutingProtocoltype in interface RoutingProtocolpublic BitSet valueLeafFlags()
RoutingProtocolvalueLeafFlags in interface RoutingProtocolpublic Ospf ospf()
RoutingProtocolospf in interface RoutingProtocolpublic Bgp bgp()
RoutingProtocolbgp in interface RoutingProtocolpublic YangAutoPrefixStatic yangAutoPrefixStatic()
RoutingProtocolyangAutoPrefixStatic in interface RoutingProtocolpublic Rip rip()
RoutingProtocolrip in interface RoutingProtocolpublic Vrrp vrrp()
RoutingProtocolvrrp in interface RoutingProtocolpublic void type(Class<? extends RoutingProtocolType> type)
RoutingProtocoltype in interface RoutingProtocoltype - value of typepublic void ospf(Ospf ospf)
RoutingProtocolospf in interface RoutingProtocolospf - value of ospfpublic void bgp(Bgp bgp)
RoutingProtocolbgp in interface RoutingProtocolbgp - value of bgppublic void yangAutoPrefixStatic(YangAutoPrefixStatic yangAutoPrefixStatic)
RoutingProtocolyangAutoPrefixStatic in interface RoutingProtocolyangAutoPrefixStatic - value of yangAutoPrefixStaticpublic void rip(Rip rip)
RoutingProtocolrip in interface RoutingProtocolrip - value of rippublic void vrrp(Vrrp vrrp)
RoutingProtocolvrrp in interface RoutingProtocolvrrp - value of vrrppublic boolean isLeafValueSet(RoutingProtocol.LeafIdentifier leaf)
RoutingProtocolisLeafValueSet in interface RoutingProtocolleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.