Class IsInIPv6Subnet

All Implemented Interfaces:
Serializable

public class IsInIPv6Subnet extends AbstractIsInIPSubnet<IPv6AddressNetmask>
An execution policy rule that encapsulates a test of type IPv6 is in Subnet string.

This policy has the following XML representation:

<IsInIPv6Subnet>
   <Subnet>subnet-1</Subnet>
   ...
   <Subnet>subnet-N</Subnet>
 </IsInIPv6Subnet>
where each subnet-i is a subnet expressed either in CIDR notation or in the representation described in IPv6AddressPattern.
Since:
4.2
Author:
Daniel Widdis
See Also:
  • Constructor Details

    • IsInIPv6Subnet

      public IsInIPv6Subnet(String... subnets)
      Define a membership test using ipv6.addresses property to determine if a node or driver is in one of the specified subnets.
      Parameters:
      subnets - One or more strings representing either a valid IPv6 subnet in CIDR notation or IP address range pattern without double colons ("::") as defined in IPv6AddressPattern
    • IsInIPv6Subnet

      public IsInIPv6Subnet(Collection<String> subnets)
      Define a membership test using ipv6.addresses property to determine if a node is in one of the specified subnets.
      Parameters:
      subnets - One or more strings representing either a valid IPv6 subnet in CIDR notation or IP address range pattern without double colons ("::") as defined in IPv6AddressPattern