Class McastConfig

    • Constructor Detail

      • McastConfig

        public McastConfig()
    • Method Detail

      • isValid

        public boolean isValid()
        Description copied from class: Config
        Indicates 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:
        isValid in class Config<ApplicationId>
        Returns:
        true if the data is valid; false otherwise
      • ingressVlan

        public org.onlab.packet.VlanId ingressVlan()
        Gets ingress VLAN of multicast traffic.
        Returns:
        Ingress VLAN ID
      • setIngressVlan

        public McastConfig setIngressVlan​(org.onlab.packet.VlanId vlanId)
        Sets ingress VLAN of multicast traffic.
        Parameters:
        vlanId - Ingress VLAN ID
        Returns:
        this McastConfig
      • egressVlan

        public org.onlab.packet.VlanId egressVlan()
        Gets egress VLAN of multicast traffic.
        Returns:
        Egress VLAN ID
      • setEgressVlan

        public McastConfig setEgressVlan​(org.onlab.packet.VlanId vlanId)
        Sets egress VLAN of multicast traffic.
        Parameters:
        vlanId - Egress VLAN ID
        Returns:
        this McastConfig
      • egressInnerVlan

        public org.onlab.packet.VlanId egressInnerVlan()
        Gets egress inner VLAN of multicast traffic.
        Returns:
        Egress inner VLAN ID
      • setEgressInnerVlan

        public McastConfig setEgressInnerVlan​(org.onlab.packet.VlanId vlanId)
        Sets egress inner VLAN of multicast traffic.
        Parameters:
        vlanId - Egress inner VLAN ID
        Returns:
        this McastConfig