Class McastConfig
- java.lang.Object
- 
- org.onosproject.net.config.Config<ApplicationId>
- 
- org.onosproject.net.config.basics.McastConfig
 
 
- 
 @Beta public class McastConfig extends Config<ApplicationId> Configuration for multicast.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.onosproject.net.config.ConfigConfig.FieldPresence
 
- 
 - 
Constructor SummaryConstructors Constructor Description McastConfig()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VlanIdegressInnerVlan()Gets egress inner VLAN of multicast traffic.VlanIdegressVlan()Gets egress VLAN of multicast traffic.VlanIdingressVlan()Gets ingress VLAN of multicast traffic.booleanisValid()Indicates whether or not the backing JSON node contains valid data.McastConfigsetEgressInnerVlan(VlanId vlanId)Sets egress inner VLAN of multicast traffic.McastConfigsetEgressVlan(VlanId vlanId)Sets egress VLAN of multicast traffic.McastConfigsetIngressVlan(VlanId vlanId)Sets ingress VLAN of multicast traffic.- 
Methods inherited from class org.onosproject.net.config.Configapply, clear, get, get, get, get, get, get, getList, getList, hasField, hasField, hasFields, hasFields, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isTpPort, isTpPort, isValidLength, key, node, setList, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subject, toString
 
- 
 
- 
- 
- 
Method Detail- 
isValidpublic boolean isValid() Description copied from class:ConfigIndicates whether or not the backing JSON node contains valid data.Default implementation returns true. Subclasses are expected to override this with their own validation. Implementations are free to throw a RuntimeException if data is invalid. - Overrides:
- isValidin class- Config<ApplicationId>
- Returns:
- true if the data is valid; false otherwise
 
 - 
ingressVlanpublic VlanId ingressVlan() Gets ingress VLAN of multicast traffic.- Returns:
- Ingress VLAN ID
 
 - 
setIngressVlanpublic McastConfig setIngressVlan(VlanId vlanId) Sets ingress VLAN of multicast traffic.- Parameters:
- vlanId- Ingress VLAN ID
- Returns:
- this McastConfig
 
 - 
egressVlanpublic VlanId egressVlan() Gets egress VLAN of multicast traffic.- Returns:
- Egress VLAN ID
 
 - 
setEgressVlanpublic McastConfig setEgressVlan(VlanId vlanId) Sets egress VLAN of multicast traffic.- Parameters:
- vlanId- Egress VLAN ID
- Returns:
- this McastConfig
 
 - 
egressInnerVlanpublic VlanId egressInnerVlan() Gets egress inner VLAN of multicast traffic.- Returns:
- Egress inner VLAN ID
 
 - 
setEgressInnerVlanpublic McastConfig setEgressInnerVlan(VlanId vlanId) Sets egress inner VLAN of multicast traffic.- Parameters:
- vlanId- Egress inner VLAN ID
- Returns:
- this McastConfig
 
 
- 
 
-