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 VlanId ingressVlan()
        Gets ingress VLAN of multicast traffic.
        Returns:
        Ingress VLAN ID
      • setIngressVlan

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

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

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

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

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