test_class.declarator: s_logger = LoggerFactory.getLogger(NetUtilsTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger s_logger = LoggerFactory.getLogger(NetUtilsTest.class);
test_class.type: Logger
test_class.var_name: s_logger
test_class.file: utils/src/test/java/com/cloud/utils/net/NetUtilsTest.java
test_class.identifier: NetUtilsTest
test_case.body: @Test
      public void testIsValidIpv6() {
          assertTrue(NetUtils.isValidIpv6("fc00::1"));
          assertFalse(NetUtils.isValidIpv6(""));
          assertFalse(NetUtils.isValidIpv6(null));
          assertFalse(NetUtils.isValidIpv6("1234:5678::1/64"));
      }
test_case.class_method_signature: NetUtilsTest.testIsValidIpv6()
test_case.full_signature: @Test public void testIsValidIpv6()
test_case.identifier: testIsValidIpv6
test_case.invocations: assertTrue isValidIpv6 assertFalse isValidIpv6 assertFalse isValidIpv6 assertFalse isValidIpv6
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsValidIpv6()
focal_class.declarator: s_logger = LoggerFactory.getLogger(NetUtils.class)
focal_class.modifier: protected final static
focal_class.original_string: protected final static Logger s_logger = LoggerFactory.getLogger(NetUtils.class);
focal_class.type: Logger
focal_class.var_name: s_logger
focal_class.declarator: MAX_CIDR = 32
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_CIDR = 32;
focal_class.type: int
focal_class.var_name: MAX_CIDR
focal_class.declarator: RFC_3021_31_BIT_CIDR = 31
focal_class.modifier: private static final
focal_class.original_string: private static final int RFC_3021_31_BIT_CIDR = 31;
focal_class.type: int
focal_class.var_name: RFC_3021_31_BIT_CIDR
focal_class.declarator: HTTP_PORT = "80"
focal_class.modifier: public final static
focal_class.original_string: public final static String HTTP_PORT = "80";
focal_class.type: String
focal_class.var_name: HTTP_PORT
focal_class.declarator: HTTPS_PORT = "443"
focal_class.modifier: public final static
focal_class.original_string: public final static String HTTPS_PORT = "443";
focal_class.type: String
focal_class.var_name: HTTPS_PORT
focal_class.declarator: VPN_PORT = 500
focal_class.modifier: public final static
focal_class.original_string: public final static int VPN_PORT = 500;
focal_class.type: int
focal_class.var_name: VPN_PORT
focal_class.declarator: VPN_NATT_PORT = 4500
focal_class.modifier: public final static
focal_class.original_string: public final static int VPN_NATT_PORT = 4500;
focal_class.type: int
focal_class.var_name: VPN_NATT_PORT
focal_class.declarator: VPN_L2TP_PORT = 1701
focal_class.modifier: public final static
focal_class.original_string: public final static int VPN_L2TP_PORT = 1701;
focal_class.type: int
focal_class.var_name: VPN_L2TP_PORT
focal_class.declarator: HAPROXY_STATS_PORT = 8081
focal_class.modifier: public final static
focal_class.original_string: public final static int HAPROXY_STATS_PORT = 8081;
focal_class.type: int
focal_class.var_name: HAPROXY_STATS_PORT
focal_class.declarator: UDP_PROTO = "udp"
focal_class.modifier: public final static
focal_class.original_string: public final static String UDP_PROTO = "udp";
focal_class.type: String
focal_class.var_name: UDP_PROTO
focal_class.declarator: TCP_PROTO = "tcp"
focal_class.modifier: public final static
focal_class.original_string: public final static String TCP_PROTO = "tcp";
focal_class.type: String
focal_class.var_name: TCP_PROTO
focal_class.declarator: ANY_PROTO = "any"
focal_class.modifier: public final static
focal_class.original_string: public final static String ANY_PROTO = "any";
focal_class.type: String
focal_class.var_name: ANY_PROTO
focal_class.declarator: ICMP_PROTO = "icmp"
focal_class.modifier: public final static
focal_class.original_string: public final static String ICMP_PROTO = "icmp";
focal_class.type: String
focal_class.var_name: ICMP_PROTO
focal_class.declarator: ALL_PROTO = "all"
focal_class.modifier: public final static
focal_class.original_string: public final static String ALL_PROTO = "all";
focal_class.type: String
focal_class.var_name: ALL_PROTO
focal_class.declarator: HTTP_PROTO = "http"
focal_class.modifier: public final static
focal_class.original_string: public final static String HTTP_PROTO = "http";
focal_class.type: String
focal_class.var_name: HTTP_PROTO
focal_class.declarator: SSL_PROTO = "ssl"
focal_class.modifier: public final static
focal_class.original_string: public final static String SSL_PROTO = "ssl";
focal_class.type: String
focal_class.var_name: SSL_PROTO
focal_class.declarator: ALL_CIDRS = "0.0.0.0/0"
focal_class.modifier: public final static
focal_class.original_string: public final static String ALL_CIDRS = "0.0.0.0/0";
focal_class.type: String
focal_class.var_name: ALL_CIDRS
focal_class.declarator: PORT_RANGE_MIN = 0
focal_class.modifier: public final static
focal_class.original_string: public final static int PORT_RANGE_MIN = 0;
focal_class.type: int
focal_class.var_name: PORT_RANGE_MIN
focal_class.declarator: PORT_RANGE_MAX = 65535
focal_class.modifier: public final static
focal_class.original_string: public final static int PORT_RANGE_MAX = 65535;
focal_class.type: int
focal_class.var_name: PORT_RANGE_MAX
focal_class.declarator: DEFAULT_AUTOSCALE_VM_DESTROY_TIME = 2 * 60
focal_class.modifier: public final static
focal_class.original_string: public final static int DEFAULT_AUTOSCALE_VM_DESTROY_TIME = 2 * 60;
focal_class.type: int
focal_class.var_name: DEFAULT_AUTOSCALE_VM_DESTROY_TIME
focal_class.declarator: DEFAULT_AUTOSCALE_POLICY_INTERVAL_TIME = 30
focal_class.modifier: public final static
focal_class.original_string: public final static int DEFAULT_AUTOSCALE_POLICY_INTERVAL_TIME = 30;
focal_class.type: int
focal_class.var_name: DEFAULT_AUTOSCALE_POLICY_INTERVAL_TIME
focal_class.declarator: DEFAULT_AUTOSCALE_POLICY_QUIET_TIME = 5 * 60
focal_class.modifier: public final static
focal_class.original_string: public final static int DEFAULT_AUTOSCALE_POLICY_QUIET_TIME = 5 * 60;
focal_class.type: int
focal_class.var_name: DEFAULT_AUTOSCALE_POLICY_QUIET_TIME
focal_class.declarator: s_rand = new Random(System.currentTimeMillis())
focal_class.modifier: private final static
focal_class.original_string: private final static Random s_rand = new Random(System.currentTimeMillis());
focal_class.type: Random
focal_class.var_name: s_rand
focal_class.declarator: VLAN_PREFIX = "vlan://"
focal_class.modifier: static final
focal_class.original_string: static final String VLAN_PREFIX = "vlan://";
focal_class.type: String
focal_class.var_name: VLAN_PREFIX
focal_class.declarator: VLAN_PREFIX_LENGTH = VLAN_PREFIX.length()
focal_class.modifier: static final
focal_class.original_string: static final int VLAN_PREFIX_LENGTH = VLAN_PREFIX.length();
focal_class.type: int
focal_class.var_name: VLAN_PREFIX_LENGTH
focal_class.declarator: VLAN_UNTAGGED = "untagged"
focal_class.modifier: static final
focal_class.original_string: static final String VLAN_UNTAGGED = "untagged";
focal_class.type: String
focal_class.var_name: VLAN_UNTAGGED
focal_class.file: utils/src/main/java/com/cloud/utils/net/NetUtils.java
focal_class.identifier: NetUtils
focal_class.class_method_signature: NetUtils.createSequenceBasedMacAddress(final long macAddress)
focal_class.full_signature: public static long createSequenceBasedMacAddress(final long macAddress)
focal_class.identifier: createSequenceBasedMacAddress
focal_class.modifiers: public static
focal_class.parameters: (final long macAddress)
focal_class.return: long
focal_class.signature: long createSequenceBasedMacAddress(final long macAddress)
focal_class.class_method_signature: NetUtils.getHostName()
focal_class.full_signature: public static String getHostName()
focal_class.identifier: getHostName
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHostName()
focal_class.class_method_signature: NetUtils.getLocalInetAddress()
focal_class.full_signature: public static InetAddress getLocalInetAddress()
focal_class.identifier: getLocalInetAddress
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: InetAddress
focal_class.signature: InetAddress getLocalInetAddress()
focal_class.class_method_signature: NetUtils.resolveToIp(final String host)
focal_class.full_signature: public static String resolveToIp(final String host)
focal_class.identifier: resolveToIp
focal_class.modifiers: public static
focal_class.parameters: (final String host)
focal_class.return: String
focal_class.signature: String resolveToIp(final String host)
focal_class.class_method_signature: NetUtils.getAllLocalInetAddresses()
focal_class.full_signature: public static InetAddress[] getAllLocalInetAddresses()
focal_class.identifier: getAllLocalInetAddresses
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: InetAddress[]
focal_class.signature: InetAddress[] getAllLocalInetAddresses()
focal_class.class_method_signature: NetUtils.getLocalCidrs()
focal_class.full_signature: public static String[] getLocalCidrs()
focal_class.identifier: getLocalCidrs
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getLocalCidrs()
focal_class.class_method_signature: NetUtils.getDefaultHostIp()
focal_class.full_signature: public static String getDefaultHostIp()
focal_class.identifier: getDefaultHostIp
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDefaultHostIp()
focal_class.class_method_signature: NetUtils.getDefaultEthDevice()
focal_class.full_signature: public static String getDefaultEthDevice()
focal_class.identifier: getDefaultEthDevice
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDefaultEthDevice()
focal_class.class_method_signature: NetUtils.getFirstNonLoopbackLocalInetAddress()
focal_class.full_signature: public static InetAddress getFirstNonLoopbackLocalInetAddress()
focal_class.identifier: getFirstNonLoopbackLocalInetAddress
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: InetAddress
focal_class.signature: InetAddress getFirstNonLoopbackLocalInetAddress()
focal_class.class_method_signature: NetUtils.getInterfaceInetAddresses(final String ifName)
focal_class.full_signature: public static InetAddress[] getInterfaceInetAddresses(final String ifName)
focal_class.identifier: getInterfaceInetAddresses
focal_class.modifiers: public static
focal_class.parameters: (final String ifName)
focal_class.return: InetAddress[]
focal_class.signature: InetAddress[] getInterfaceInetAddresses(final String ifName)
focal_class.class_method_signature: NetUtils.getLocalIPString()
focal_class.full_signature: public static String getLocalIPString()
focal_class.identifier: getLocalIPString
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLocalIPString()
focal_class.class_method_signature: NetUtils.ipFromInetAddress(final InetAddress addr)
focal_class.full_signature: public static String ipFromInetAddress(final InetAddress addr)
focal_class.identifier: ipFromInetAddress
focal_class.modifiers: public static
focal_class.parameters: (final InetAddress addr)
focal_class.return: String
focal_class.signature: String ipFromInetAddress(final InetAddress addr)
focal_class.class_method_signature: NetUtils.isLocalAddress(final InetAddress addr)
focal_class.full_signature: public static boolean isLocalAddress(final InetAddress addr)
focal_class.identifier: isLocalAddress
focal_class.modifiers: public static
focal_class.parameters: (final InetAddress addr)
focal_class.return: boolean
focal_class.signature: boolean isLocalAddress(final InetAddress addr)
focal_class.class_method_signature: NetUtils.isLocalAddress(final String strAddress)
focal_class.full_signature: public static boolean isLocalAddress(final String strAddress)
focal_class.identifier: isLocalAddress
focal_class.modifiers: public static
focal_class.parameters: (final String strAddress)
focal_class.return: boolean
focal_class.signature: boolean isLocalAddress(final String strAddress)
focal_class.class_method_signature: NetUtils.getMacAddress(final InetAddress address)
focal_class.full_signature: public static String getMacAddress(final InetAddress address)
focal_class.identifier: getMacAddress
focal_class.modifiers: public static
focal_class.parameters: (final InetAddress address)
focal_class.return: String
focal_class.signature: String getMacAddress(final InetAddress address)
focal_class.class_method_signature: NetUtils.getMacAddressAsLong(final InetAddress address)
focal_class.full_signature: public static long getMacAddressAsLong(final InetAddress address)
focal_class.identifier: getMacAddressAsLong
focal_class.modifiers: public static
focal_class.parameters: (final InetAddress address)
focal_class.return: long
focal_class.signature: long getMacAddressAsLong(final InetAddress address)
focal_class.class_method_signature: NetUtils.ipRangesOverlap(final String startIp1, final String endIp1, final String startIp2, final String endIp2)
focal_class.full_signature: public static boolean ipRangesOverlap(final String startIp1, final String endIp1, final String startIp2, final String endIp2)
focal_class.identifier: ipRangesOverlap
focal_class.modifiers: public static
focal_class.parameters: (final String startIp1, final String endIp1, final String startIp2, final String endIp2)
focal_class.return: boolean
focal_class.signature: boolean ipRangesOverlap(final String startIp1, final String endIp1, final String startIp2, final String endIp2)
focal_class.class_method_signature: NetUtils.ip2Long(final String ip)
focal_class.full_signature: public static long ip2Long(final String ip)
focal_class.identifier: ip2Long
focal_class.modifiers: public static
focal_class.parameters: (final String ip)
focal_class.return: long
focal_class.signature: long ip2Long(final String ip)
focal_class.class_method_signature: NetUtils.long2Ip(final long ip)
focal_class.full_signature: public static String long2Ip(final long ip)
focal_class.identifier: long2Ip
focal_class.modifiers: public static
focal_class.parameters: (final long ip)
focal_class.return: String
focal_class.signature: String long2Ip(final long ip)
focal_class.class_method_signature: NetUtils.mac2Long(final String macAddress)
focal_class.full_signature: public static long mac2Long(final String macAddress)
focal_class.identifier: mac2Long
focal_class.modifiers: public static
focal_class.parameters: (final String macAddress)
focal_class.return: long
focal_class.signature: long mac2Long(final String macAddress)
focal_class.class_method_signature: NetUtils.getNicParams(final String nicName)
focal_class.full_signature: public static String[] getNicParams(final String nicName)
focal_class.identifier: getNicParams
focal_class.modifiers: public static
focal_class.parameters: (final String nicName)
focal_class.return: String[]
focal_class.signature: String[] getNicParams(final String nicName)
focal_class.class_method_signature: NetUtils.getNetworkParams(final NetworkInterface nic)
focal_class.full_signature: public static String[] getNetworkParams(final NetworkInterface nic)
focal_class.identifier: getNetworkParams
focal_class.modifiers: public static
focal_class.parameters: (final NetworkInterface nic)
focal_class.return: String[]
focal_class.signature: String[] getNetworkParams(final NetworkInterface nic)
focal_class.class_method_signature: NetUtils.prefix2Netmask(final short prefix)
focal_class.full_signature: public static String prefix2Netmask(final short prefix)
focal_class.identifier: prefix2Netmask
focal_class.modifiers: public static
focal_class.parameters: (final short prefix)
focal_class.return: String
focal_class.signature: String prefix2Netmask(final short prefix)
focal_class.class_method_signature: NetUtils.byte2Mac(final byte[] m)
focal_class.full_signature: public static String byte2Mac(final byte[] m)
focal_class.identifier: byte2Mac
focal_class.modifiers: public static
focal_class.parameters: (final byte[] m)
focal_class.return: String
focal_class.signature: String byte2Mac(final byte[] m)
focal_class.class_method_signature: NetUtils.long2Mac(final long macAddress)
focal_class.full_signature: public static String long2Mac(final long macAddress)
focal_class.identifier: long2Mac
focal_class.modifiers: public static
focal_class.parameters: (final long macAddress)
focal_class.return: String
focal_class.signature: String long2Mac(final long macAddress)
focal_class.class_method_signature: NetUtils.isValidPrivateIp(final String ipAddress, final String guestIPAddress)
focal_class.full_signature: public static boolean isValidPrivateIp(final String ipAddress, final String guestIPAddress)
focal_class.identifier: isValidPrivateIp
focal_class.modifiers: public static
focal_class.parameters: (final String ipAddress, final String guestIPAddress)
focal_class.return: boolean
focal_class.signature: boolean isValidPrivateIp(final String ipAddress, final String guestIPAddress)
focal_class.class_method_signature: NetUtils.isSiteLocalAddress(final String ipAddress)
focal_class.full_signature: public static boolean isSiteLocalAddress(final String ipAddress)
focal_class.identifier: isSiteLocalAddress
focal_class.modifiers: public static
focal_class.parameters: (final String ipAddress)
focal_class.return: boolean
focal_class.signature: boolean isSiteLocalAddress(final String ipAddress)
focal_class.class_method_signature: NetUtils.validIpRange(final String startIP, final String endIP)
focal_class.full_signature: public static boolean validIpRange(final String startIP, final String endIP)
focal_class.identifier: validIpRange
focal_class.modifiers: public static
focal_class.parameters: (final String startIP, final String endIP)
focal_class.return: boolean
focal_class.signature: boolean validIpRange(final String startIP, final String endIP)
focal_class.class_method_signature: NetUtils.isValidIp(final String ip)
focal_class.full_signature: public static boolean isValidIp(final String ip)
focal_class.identifier: isValidIp
focal_class.modifiers: public static
focal_class.parameters: (final String ip)
focal_class.return: boolean
focal_class.signature: boolean isValidIp(final String ip)
focal_class.class_method_signature: NetUtils.is31PrefixCidr(final String cidr)
focal_class.full_signature: public static boolean is31PrefixCidr(final String cidr)
focal_class.identifier: is31PrefixCidr
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: boolean
focal_class.signature: boolean is31PrefixCidr(final String cidr)
focal_class.class_method_signature: NetUtils.isValidCIDR(final String cidr)
focal_class.full_signature: public static boolean isValidCIDR(final String cidr)
focal_class.identifier: isValidCIDR
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: boolean
focal_class.signature: boolean isValidCIDR(final String cidr)
focal_class.class_method_signature: NetUtils.isValidNetmask(final String netmask)
focal_class.full_signature: public static boolean isValidNetmask(final String netmask)
focal_class.identifier: isValidNetmask
focal_class.modifiers: public static
focal_class.parameters: (final String netmask)
focal_class.return: boolean
focal_class.signature: boolean isValidNetmask(final String netmask)
focal_class.class_method_signature: NetUtils.parseIpAddress(final String address)
focal_class.full_signature: private static InetAddress parseIpAddress(final String address)
focal_class.identifier: parseIpAddress
focal_class.modifiers: private static
focal_class.parameters: (final String address)
focal_class.return: InetAddress
focal_class.signature: InetAddress parseIpAddress(final String address)
focal_class.class_method_signature: NetUtils.getCidrFromGatewayAndNetmask(final String gatewayStr, final String netmaskStr)
focal_class.full_signature: public static String getCidrFromGatewayAndNetmask(final String gatewayStr, final String netmaskStr)
focal_class.identifier: getCidrFromGatewayAndNetmask
focal_class.modifiers: public static
focal_class.parameters: (final String gatewayStr, final String netmaskStr)
focal_class.return: String
focal_class.signature: String getCidrFromGatewayAndNetmask(final String gatewayStr, final String netmaskStr)
focal_class.class_method_signature: NetUtils.getIpRangeFromCidr(final String cidr, final long size)
focal_class.full_signature: public static String[] getIpRangeFromCidr(final String cidr, final long size)
focal_class.identifier: getIpRangeFromCidr
focal_class.modifiers: public static
focal_class.parameters: (final String cidr, final long size)
focal_class.return: String[]
focal_class.signature: String[] getIpRangeFromCidr(final String cidr, final long size)
focal_class.class_method_signature: NetUtils.getAllIpsFromCidr(final String cidr, final long size, final Set<Long> usedIps)
focal_class.full_signature: public static Set<Long> getAllIpsFromCidr(final String cidr, final long size, final Set<Long> usedIps)
focal_class.identifier: getAllIpsFromCidr
focal_class.modifiers: public static
focal_class.parameters: (final String cidr, final long size, final Set<Long> usedIps)
focal_class.return: Set<Long>
focal_class.signature: Set<Long> getAllIpsFromCidr(final String cidr, final long size, final Set<Long> usedIps)
focal_class.class_method_signature: NetUtils.getRandomIpFromCidr(final String startIp, final int size, final SortedSet<Long> avoid)
focal_class.full_signature: public static long getRandomIpFromCidr(final String startIp, final int size, final SortedSet<Long> avoid)
focal_class.identifier: getRandomIpFromCidr
focal_class.modifiers: public static
focal_class.parameters: (final String startIp, final int size, final SortedSet<Long> avoid)
focal_class.return: long
focal_class.signature: long getRandomIpFromCidr(final String startIp, final int size, final SortedSet<Long> avoid)
focal_class.class_method_signature: NetUtils.getRandomIpFromCidr(final long cidr, final int size, final SortedSet<Long> avoid)
focal_class.full_signature: public static long getRandomIpFromCidr(final long cidr, final int size, final SortedSet<Long> avoid)
focal_class.identifier: getRandomIpFromCidr
focal_class.modifiers: public static
focal_class.parameters: (final long cidr, final int size, final SortedSet<Long> avoid)
focal_class.return: long
focal_class.signature: long getRandomIpFromCidr(final long cidr, final int size, final SortedSet<Long> avoid)
focal_class.class_method_signature: NetUtils.getIpRangeStartIpFromCidr(final String cidr, final long size)
focal_class.full_signature: public static String getIpRangeStartIpFromCidr(final String cidr, final long size)
focal_class.identifier: getIpRangeStartIpFromCidr
focal_class.modifiers: public static
focal_class.parameters: (final String cidr, final long size)
focal_class.return: String
focal_class.signature: String getIpRangeStartIpFromCidr(final String cidr, final long size)
focal_class.class_method_signature: NetUtils.getIpRangeEndIpFromCidr(final String cidr, final long size)
focal_class.full_signature: public static String getIpRangeEndIpFromCidr(final String cidr, final long size)
focal_class.identifier: getIpRangeEndIpFromCidr
focal_class.modifiers: public static
focal_class.parameters: (final String cidr, final long size)
focal_class.return: String
focal_class.signature: String getIpRangeEndIpFromCidr(final String cidr, final long size)
focal_class.class_method_signature: NetUtils.sameSubnet(final String ip1, final String ip2, final String netmask)
focal_class.full_signature: public static boolean sameSubnet(final String ip1, final String ip2, final String netmask)
focal_class.identifier: sameSubnet
focal_class.modifiers: public static
focal_class.parameters: (final String ip1, final String ip2, final String netmask)
focal_class.return: boolean
focal_class.signature: boolean sameSubnet(final String ip1, final String ip2, final String netmask)
focal_class.class_method_signature: NetUtils.sameSubnetCIDR(final String ip1, final String ip2, final long cidrSize)
focal_class.full_signature: public static boolean sameSubnetCIDR(final String ip1, final String ip2, final long cidrSize)
focal_class.identifier: sameSubnetCIDR
focal_class.modifiers: public static
focal_class.parameters: (final String ip1, final String ip2, final long cidrSize)
focal_class.return: boolean
focal_class.signature: boolean sameSubnetCIDR(final String ip1, final String ip2, final long cidrSize)
focal_class.class_method_signature: NetUtils.getSubNet(final String ip, final String netmask)
focal_class.full_signature: public static String getSubNet(final String ip, final String netmask)
focal_class.identifier: getSubNet
focal_class.modifiers: public static
focal_class.parameters: (final String ip, final String netmask)
focal_class.return: String
focal_class.signature: String getSubNet(final String ip, final String netmask)
focal_class.class_method_signature: NetUtils.getCidrSubNet(final String ip, final long cidrSize)
focal_class.full_signature: public static String getCidrSubNet(final String ip, final long cidrSize)
focal_class.identifier: getCidrSubNet
focal_class.modifiers: public static
focal_class.parameters: (final String ip, final long cidrSize)
focal_class.return: String
focal_class.signature: String getCidrSubNet(final String ip, final long cidrSize)
focal_class.class_method_signature: NetUtils.netMaskFromCidr(final long cidrSize)
focal_class.full_signature: static long netMaskFromCidr(final long cidrSize)
focal_class.identifier: netMaskFromCidr
focal_class.modifiers: static
focal_class.parameters: (final long cidrSize)
focal_class.return: long
focal_class.signature: long netMaskFromCidr(final long cidrSize)
focal_class.class_method_signature: NetUtils.ipAndNetMaskToCidr(final String ip, final String netmask)
focal_class.full_signature: public static String ipAndNetMaskToCidr(final String ip, final String netmask)
focal_class.identifier: ipAndNetMaskToCidr
focal_class.modifiers: public static
focal_class.parameters: (final String ip, final String netmask)
focal_class.return: String
focal_class.signature: String ipAndNetMaskToCidr(final String ip, final String netmask)
focal_class.class_method_signature: NetUtils.ipAndNetMaskToRange(final String ip, final String netmask)
focal_class.full_signature: public static String[] ipAndNetMaskToRange(final String ip, final String netmask)
focal_class.identifier: ipAndNetMaskToRange
focal_class.modifiers: public static
focal_class.parameters: (final String ip, final String netmask)
focal_class.return: String[]
focal_class.signature: String[] ipAndNetMaskToRange(final String ip, final String netmask)
focal_class.class_method_signature: NetUtils.getCidr(final String cidr)
focal_class.full_signature: public static Pair<String, Integer> getCidr(final String cidr)
focal_class.identifier: getCidr
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: Pair<String, Integer>
focal_class.signature: Pair<String, Integer> getCidr(final String cidr)
focal_class.class_method_signature: NetUtils.isNetowrkASubsetOrSupersetOfNetworkB(final String cidrA, final String cidrB)
focal_class.full_signature: public static SupersetOrSubset isNetowrkASubsetOrSupersetOfNetworkB(final String cidrA, final String cidrB)
focal_class.identifier: isNetowrkASubsetOrSupersetOfNetworkB
focal_class.modifiers: public static
focal_class.parameters: (final String cidrA, final String cidrB)
focal_class.return: SupersetOrSubset
focal_class.signature: SupersetOrSubset isNetowrkASubsetOrSupersetOfNetworkB(final String cidrA, final String cidrB)
focal_class.class_method_signature: NetUtils.isNetworkAWithinNetworkB(final String cidrA, final String cidrB)
focal_class.full_signature: public static boolean isNetworkAWithinNetworkB(final String cidrA, final String cidrB)
focal_class.identifier: isNetworkAWithinNetworkB
focal_class.modifiers: public static
focal_class.parameters: (final String cidrA, final String cidrB)
focal_class.return: boolean
focal_class.signature: boolean isNetworkAWithinNetworkB(final String cidrA, final String cidrB)
focal_class.class_method_signature: NetUtils.areCidrsNotEmpty(String cidrA, String cidrB)
focal_class.full_signature: static boolean areCidrsNotEmpty(String cidrA, String cidrB)
focal_class.identifier: areCidrsNotEmpty
focal_class.modifiers: static
focal_class.parameters: (String cidrA, String cidrB)
focal_class.return: boolean
focal_class.signature: boolean areCidrsNotEmpty(String cidrA, String cidrB)
focal_class.class_method_signature: NetUtils.cidrToLong(final String cidr)
focal_class.full_signature: public static Long[] cidrToLong(final String cidr)
focal_class.identifier: cidrToLong
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: Long[]
focal_class.signature: Long[] cidrToLong(final String cidr)
focal_class.class_method_signature: NetUtils.getCidrSizeFromString(final String cidrSize)
focal_class.full_signature: static long getCidrSizeFromString(final String cidrSize)
focal_class.identifier: getCidrSizeFromString
focal_class.modifiers: static
focal_class.parameters: (final String cidrSize)
focal_class.return: long
focal_class.signature: long getCidrSizeFromString(final String cidrSize)
focal_class.class_method_signature: NetUtils.getCidrSubNet(final String cidr)
focal_class.full_signature: public static String getCidrSubNet(final String cidr)
focal_class.identifier: getCidrSubNet
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: String
focal_class.signature: String getCidrSubNet(final String cidr)
focal_class.class_method_signature: NetUtils.getCidrNetmask(final long cidrSize)
focal_class.full_signature: public static String getCidrNetmask(final long cidrSize)
focal_class.identifier: getCidrNetmask
focal_class.modifiers: public static
focal_class.parameters: (final long cidrSize)
focal_class.return: String
focal_class.signature: String getCidrNetmask(final long cidrSize)
focal_class.class_method_signature: NetUtils.getCidrNetmask(final String cidr)
focal_class.full_signature: public static String getCidrNetmask(final String cidr)
focal_class.identifier: getCidrNetmask
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: String
focal_class.signature: String getCidrNetmask(final String cidr)
focal_class.class_method_signature: NetUtils.cidr2Netmask(final String cidr)
focal_class.full_signature: public static String cidr2Netmask(final String cidr)
focal_class.identifier: cidr2Netmask
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: String
focal_class.signature: String cidr2Netmask(final String cidr)
focal_class.class_method_signature: NetUtils.getCidrSize(final String netmask)
focal_class.full_signature: public static long getCidrSize(final String netmask)
focal_class.identifier: getCidrSize
focal_class.modifiers: public static
focal_class.parameters: (final String netmask)
focal_class.return: long
focal_class.signature: long getCidrSize(final String netmask)
focal_class.class_method_signature: NetUtils.isValidPort(final String p)
focal_class.full_signature: public static boolean isValidPort(final String p)
focal_class.identifier: isValidPort
focal_class.modifiers: public static
focal_class.parameters: (final String p)
focal_class.return: boolean
focal_class.signature: boolean isValidPort(final String p)
focal_class.class_method_signature: NetUtils.isValidPort(final int p)
focal_class.full_signature: public static boolean isValidPort(final int p)
focal_class.identifier: isValidPort
focal_class.modifiers: public static
focal_class.parameters: (final int p)
focal_class.return: boolean
focal_class.signature: boolean isValidPort(final int p)
focal_class.class_method_signature: NetUtils.isValidLBPort(final String p)
focal_class.full_signature: public static boolean isValidLBPort(final String p)
focal_class.identifier: isValidLBPort
focal_class.modifiers: public static
focal_class.parameters: (final String p)
focal_class.return: boolean
focal_class.signature: boolean isValidLBPort(final String p)
focal_class.class_method_signature: NetUtils.isValidProto(final String p)
focal_class.full_signature: public static boolean isValidProto(final String p)
focal_class.identifier: isValidProto
focal_class.modifiers: public static
focal_class.parameters: (final String p)
focal_class.return: boolean
focal_class.signature: boolean isValidProto(final String p)
focal_class.class_method_signature: NetUtils.isValidSecurityGroupProto(final String p)
focal_class.full_signature: public static boolean isValidSecurityGroupProto(final String p)
focal_class.identifier: isValidSecurityGroupProto
focal_class.modifiers: public static
focal_class.parameters: (final String p)
focal_class.return: boolean
focal_class.signature: boolean isValidSecurityGroupProto(final String p)
focal_class.class_method_signature: NetUtils.isValidAlgorithm(final String p)
focal_class.full_signature: public static boolean isValidAlgorithm(final String p)
focal_class.identifier: isValidAlgorithm
focal_class.modifiers: public static
focal_class.parameters: (final String p)
focal_class.return: boolean
focal_class.signature: boolean isValidAlgorithm(final String p)
focal_class.class_method_signature: NetUtils.isValidAutoScaleAction(final String p)
focal_class.full_signature: public static boolean isValidAutoScaleAction(final String p)
focal_class.identifier: isValidAutoScaleAction
focal_class.modifiers: public static
focal_class.parameters: (final String p)
focal_class.return: boolean
focal_class.signature: boolean isValidAutoScaleAction(final String p)
focal_class.class_method_signature: NetUtils.getLinkLocalNetMask()
focal_class.full_signature: public static String getLinkLocalNetMask()
focal_class.identifier: getLinkLocalNetMask
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLinkLocalNetMask()
focal_class.class_method_signature: NetUtils.getLinkLocalGateway()
focal_class.full_signature: public static String getLinkLocalGateway()
focal_class.identifier: getLinkLocalGateway
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLinkLocalGateway()
focal_class.class_method_signature: NetUtils.getLinkLocalCIDR()
focal_class.full_signature: public static String getLinkLocalCIDR()
focal_class.identifier: getLinkLocalCIDR
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLinkLocalCIDR()
focal_class.class_method_signature: NetUtils.getLinkLocalIPRange(final int size)
focal_class.full_signature: public static String[] getLinkLocalIPRange(final int size)
focal_class.identifier: getLinkLocalIPRange
focal_class.modifiers: public static
focal_class.parameters: (final int size)
focal_class.return: String[]
focal_class.signature: String[] getLinkLocalIPRange(final int size)
focal_class.class_method_signature: NetUtils.getLinkLocalIpEnd()
focal_class.full_signature: public static String getLinkLocalIpEnd()
focal_class.identifier: getLinkLocalIpEnd
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLinkLocalIpEnd()
focal_class.class_method_signature: NetUtils.portRangeToString(final int portRange[])
focal_class.full_signature: public static String portRangeToString(final int portRange[])
focal_class.identifier: portRangeToString
focal_class.modifiers: public static
focal_class.parameters: (final int portRange[])
focal_class.return: String
focal_class.signature: String portRangeToString(final int portRange[])
focal_class.class_method_signature: NetUtils.verifyDomainNameLabel(final String hostName, final boolean isHostName)
focal_class.full_signature: public static boolean verifyDomainNameLabel(final String hostName, final boolean isHostName)
focal_class.identifier: verifyDomainNameLabel
focal_class.modifiers: public static
focal_class.parameters: (final String hostName, final boolean isHostName)
focal_class.return: boolean
focal_class.signature: boolean verifyDomainNameLabel(final String hostName, final boolean isHostName)
focal_class.class_method_signature: NetUtils.verifyDomainName(final String domainName)
focal_class.full_signature: public static boolean verifyDomainName(final String domainName)
focal_class.identifier: verifyDomainName
focal_class.modifiers: public static
focal_class.parameters: (final String domainName)
focal_class.return: boolean
focal_class.signature: boolean verifyDomainName(final String domainName)
focal_class.class_method_signature: NetUtils.getDhcpRange(final String cidr)
focal_class.full_signature: public static String getDhcpRange(final String cidr)
focal_class.identifier: getDhcpRange
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: String
focal_class.signature: String getDhcpRange(final String cidr)
focal_class.class_method_signature: NetUtils.isSameIpRange(final String cidrA, final String cidrB)
focal_class.full_signature: public static boolean isSameIpRange(final String cidrA, final String cidrB)
focal_class.identifier: isSameIpRange
focal_class.modifiers: public static
focal_class.parameters: (final String cidrA, final String cidrB)
focal_class.return: boolean
focal_class.signature: boolean isSameIpRange(final String cidrA, final String cidrB)
focal_class.class_method_signature: NetUtils.validateGuestCidr(final String cidr)
focal_class.full_signature: public static boolean validateGuestCidr(final String cidr)
focal_class.identifier: validateGuestCidr
focal_class.modifiers: public static
focal_class.parameters: (final String cidr)
focal_class.return: boolean
focal_class.signature: boolean validateGuestCidr(final String cidr)
focal_class.class_method_signature: NetUtils.verifyInstanceName(final String instanceName)
focal_class.full_signature: public static boolean verifyInstanceName(final String instanceName)
focal_class.identifier: verifyInstanceName
focal_class.modifiers: public static
focal_class.parameters: (final String instanceName)
focal_class.return: boolean
focal_class.signature: boolean verifyInstanceName(final String instanceName)
focal_class.class_method_signature: NetUtils.isNetworksOverlap(final String cidrA, final String cidrB)
focal_class.full_signature: public static boolean isNetworksOverlap(final String cidrA, final String cidrB)
focal_class.identifier: isNetworksOverlap
focal_class.modifiers: public static
focal_class.parameters: (final String cidrA, final String cidrB)
focal_class.return: boolean
focal_class.signature: boolean isNetworksOverlap(final String cidrA, final String cidrB)
focal_class.class_method_signature: NetUtils.isValidS2SVpnPolicy(final String policys)
focal_class.full_signature: public static boolean isValidS2SVpnPolicy(final String policys)
focal_class.identifier: isValidS2SVpnPolicy
focal_class.modifiers: public static
focal_class.parameters: (final String policys)
focal_class.return: boolean
focal_class.signature: boolean isValidS2SVpnPolicy(final String policys)
focal_class.class_method_signature: NetUtils.isValidCidrList(final String cidrList)
focal_class.full_signature: public static boolean isValidCidrList(final String cidrList)
focal_class.identifier: isValidCidrList
focal_class.modifiers: public static
focal_class.parameters: (final String cidrList)
focal_class.return: boolean
focal_class.signature: boolean isValidCidrList(final String cidrList)
focal_class.class_method_signature: NetUtils.validateGuestCidrList(final String guestCidrList)
focal_class.full_signature: public static boolean validateGuestCidrList(final String guestCidrList)
focal_class.identifier: validateGuestCidrList
focal_class.modifiers: public static
focal_class.parameters: (final String guestCidrList)
focal_class.return: boolean
focal_class.signature: boolean validateGuestCidrList(final String guestCidrList)
focal_class.class_method_signature: NetUtils.validateIcmpType(final long icmpType)
focal_class.full_signature: public static boolean validateIcmpType(final long icmpType)
focal_class.identifier: validateIcmpType
focal_class.modifiers: public static
focal_class.parameters: (final long icmpType)
focal_class.return: boolean
focal_class.signature: boolean validateIcmpType(final long icmpType)
focal_class.class_method_signature: NetUtils.validateIcmpCode(final long icmpCode)
focal_class.full_signature: public static boolean validateIcmpCode(final long icmpCode)
focal_class.identifier: validateIcmpCode
focal_class.modifiers: public static
focal_class.parameters: (final long icmpCode)
focal_class.return: boolean
focal_class.signature: boolean validateIcmpCode(final long icmpCode)
focal_class.class_method_signature: NetUtils.isValidIpv6(final String ip)
focal_class.full_signature: public static boolean isValidIpv6(final String ip)
focal_class.identifier: isValidIpv6
focal_class.modifiers: public static
focal_class.parameters: (final String ip)
focal_class.return: boolean
focal_class.signature: boolean isValidIpv6(final String ip)
focal_class.class_method_signature: NetUtils.isValidIp6Cidr(final String ip6Cidr)
focal_class.full_signature: public static boolean isValidIp6Cidr(final String ip6Cidr)
focal_class.identifier: isValidIp6Cidr
focal_class.modifiers: public static
focal_class.parameters: (final String ip6Cidr)
focal_class.return: boolean
focal_class.signature: boolean isValidIp6Cidr(final String ip6Cidr)
focal_class.class_method_signature: NetUtils.getIp6CidrSize(final String ip6Cidr)
focal_class.full_signature: public static int getIp6CidrSize(final String ip6Cidr)
focal_class.identifier: getIp6CidrSize
focal_class.modifiers: public static
focal_class.parameters: (final String ip6Cidr)
focal_class.return: int
focal_class.signature: int getIp6CidrSize(final String ip6Cidr)
focal_class.class_method_signature: NetUtils.getIp6FromRange(final String ip6Range)
focal_class.full_signature: public static String getIp6FromRange(final String ip6Range)
focal_class.identifier: getIp6FromRange
focal_class.modifiers: public static
focal_class.parameters: (final String ip6Range)
focal_class.return: String
focal_class.signature: String getIp6FromRange(final String ip6Range)
focal_class.class_method_signature: NetUtils.getDuidLL(final String macAddress)
focal_class.full_signature: public static String getDuidLL(final String macAddress)
focal_class.identifier: getDuidLL
focal_class.modifiers: public static
focal_class.parameters: (final String macAddress)
focal_class.return: String
focal_class.signature: String getDuidLL(final String macAddress)
focal_class.class_method_signature: NetUtils.convertIPv6AddressToBigInteger(final IPv6Address addr)
focal_class.full_signature: private static BigInteger convertIPv6AddressToBigInteger(final IPv6Address addr)
focal_class.identifier: convertIPv6AddressToBigInteger
focal_class.modifiers: private static
focal_class.parameters: (final IPv6Address addr)
focal_class.return: BigInteger
focal_class.signature: BigInteger convertIPv6AddressToBigInteger(final IPv6Address addr)
focal_class.class_method_signature: NetUtils.countIp6InRange(final String ip6Range)
focal_class.full_signature: public static BigInteger countIp6InRange(final String ip6Range)
focal_class.identifier: countIp6InRange
focal_class.modifiers: public static
focal_class.parameters: (final String ip6Range)
focal_class.return: BigInteger
focal_class.signature: BigInteger countIp6InRange(final String ip6Range)
focal_class.class_method_signature: NetUtils.isIp6InRange(final String ip6, final String ip6Range)
focal_class.full_signature: public static boolean isIp6InRange(final String ip6, final String ip6Range)
focal_class.identifier: isIp6InRange
focal_class.modifiers: public static
focal_class.parameters: (final String ip6, final String ip6Range)
focal_class.return: boolean
focal_class.signature: boolean isIp6InRange(final String ip6, final String ip6Range)
focal_class.class_method_signature: NetUtils.isIp6InNetwork(final String ip6, final String ip6Cidr)
focal_class.full_signature: public static boolean isIp6InNetwork(final String ip6, final String ip6Cidr)
focal_class.identifier: isIp6InNetwork
focal_class.modifiers: public static
focal_class.parameters: (final String ip6, final String ip6Cidr)
focal_class.return: boolean
focal_class.signature: boolean isIp6InNetwork(final String ip6, final String ip6Cidr)
focal_class.class_method_signature: NetUtils.isIp6RangeOverlap(final String ipRange1, final String ipRange2)
focal_class.full_signature: public static boolean isIp6RangeOverlap(final String ipRange1, final String ipRange2)
focal_class.identifier: isIp6RangeOverlap
focal_class.modifiers: public static
focal_class.parameters: (final String ipRange1, final String ipRange2)
focal_class.return: boolean
focal_class.signature: boolean isIp6RangeOverlap(final String ipRange1, final String ipRange2)
focal_class.class_method_signature: NetUtils.getNextIp6InRange(final String currentIp, final String ipRange)
focal_class.full_signature: public static String getNextIp6InRange(final String currentIp, final String ipRange)
focal_class.identifier: getNextIp6InRange
focal_class.modifiers: public static
focal_class.parameters: (final String currentIp, final String ipRange)
focal_class.return: String
focal_class.signature: String getNextIp6InRange(final String currentIp, final String ipRange)
focal_class.class_method_signature: NetUtils.standardizeIp6Address(final String ip6Addr)
focal_class.full_signature: public static String standardizeIp6Address(final String ip6Addr)
focal_class.identifier: standardizeIp6Address
focal_class.modifiers: public static
focal_class.parameters: (final String ip6Addr)
focal_class.return: String
focal_class.signature: String standardizeIp6Address(final String ip6Addr)
focal_class.class_method_signature: NetUtils.standardizeIp6Cidr(final String ip6Cidr)
focal_class.full_signature: public static String standardizeIp6Cidr(final String ip6Cidr)
focal_class.identifier: standardizeIp6Cidr
focal_class.modifiers: public static
focal_class.parameters: (final String ip6Cidr)
focal_class.return: String
focal_class.signature: String standardizeIp6Cidr(final String ip6Cidr)
focal_class.class_method_signature: NetUtils.isValidVlan(String vlan)
focal_class.full_signature: public static boolean isValidVlan(String vlan)
focal_class.identifier: isValidVlan
focal_class.modifiers: public static
focal_class.parameters: (String vlan)
focal_class.return: boolean
focal_class.signature: boolean isValidVlan(String vlan)
focal_class.class_method_signature: NetUtils.isSameIsolationId(String one, String other)
focal_class.full_signature: public static boolean isSameIsolationId(String one, String other)
focal_class.identifier: isSameIsolationId
focal_class.modifiers: public static
focal_class.parameters: (String one, String other)
focal_class.return: boolean
focal_class.signature: boolean isSameIsolationId(String one, String other)
focal_class.class_method_signature: NetUtils.generateUriForPvlan(final String primaryVlan, final String isolatedPvlan)
focal_class.full_signature: public static URI generateUriForPvlan(final String primaryVlan, final String isolatedPvlan)
focal_class.identifier: generateUriForPvlan
focal_class.modifiers: public static
focal_class.parameters: (final String primaryVlan, final String isolatedPvlan)
focal_class.return: URI
focal_class.signature: URI generateUriForPvlan(final String primaryVlan, final String isolatedPvlan)
focal_class.class_method_signature: NetUtils.getPrimaryPvlanFromUri(final URI uri)
focal_class.full_signature: public static String getPrimaryPvlanFromUri(final URI uri)
focal_class.identifier: getPrimaryPvlanFromUri
focal_class.modifiers: public static
focal_class.parameters: (final URI uri)
focal_class.return: String
focal_class.signature: String getPrimaryPvlanFromUri(final URI uri)
focal_class.class_method_signature: NetUtils.getIsolatedPvlanFromUri(final URI uri)
focal_class.full_signature: public static String getIsolatedPvlanFromUri(final URI uri)
focal_class.identifier: getIsolatedPvlanFromUri
focal_class.modifiers: public static
focal_class.parameters: (final URI uri)
focal_class.return: String
focal_class.signature: String getIsolatedPvlanFromUri(final URI uri)
focal_class.class_method_signature: NetUtils.generateMacOnIncrease(final String baseMac, final long l)
focal_class.full_signature: public static String generateMacOnIncrease(final String baseMac, final long l)
focal_class.identifier: generateMacOnIncrease
focal_class.modifiers: public static
focal_class.parameters: (final String baseMac, final long l)
focal_class.return: String
focal_class.signature: String generateMacOnIncrease(final String baseMac, final long l)
focal_class.class_method_signature: NetUtils.isIpWithtInCidrRange(final String ipAddress, final String cidr)
focal_class.full_signature: public static boolean isIpWithtInCidrRange(final String ipAddress, final String cidr)
focal_class.identifier: isIpWithtInCidrRange
focal_class.modifiers: public static
focal_class.parameters: (final String ipAddress, final String cidr)
focal_class.return: boolean
focal_class.signature: boolean isIpWithtInCidrRange(final String ipAddress, final String cidr)
focal_class.class_method_signature: NetUtils.IsIpEqualToNetworkOrBroadCastIp(final String requestedIp, final String cidr, final long size)
focal_class.full_signature: public static Boolean IsIpEqualToNetworkOrBroadCastIp(final String requestedIp, final String cidr, final long size)
focal_class.identifier: IsIpEqualToNetworkOrBroadCastIp
focal_class.modifiers: public static
focal_class.parameters: (final String requestedIp, final String cidr, final long size)
focal_class.return: Boolean
focal_class.signature: Boolean IsIpEqualToNetworkOrBroadCastIp(final String requestedIp, final String cidr, final long size)
focal_class.class_method_signature: NetUtils.isNetworkorBroadcastIP(String ip, String netmask)
focal_class.full_signature: public static boolean isNetworkorBroadcastIP(String ip, String netmask)
focal_class.identifier: isNetworkorBroadcastIP
focal_class.modifiers: public static
focal_class.parameters: (String ip, String netmask)
focal_class.return: boolean
focal_class.signature: boolean isNetworkorBroadcastIP(String ip, String netmask)
focal_method.body: public static boolean isValidIpv6(final String ip) {
          try {
              IPv6Address.fromString(ip);
          } catch (final IllegalArgumentException ex) {
              return false;
          }
          return true;
      }
focal_method.class_method_signature: NetUtils.isValidIpv6(final String ip)
focal_method.full_signature: public static boolean isValidIpv6(final String ip)
focal_method.identifier: isValidIpv6
focal_method.invocations: fromString
focal_method.modifiers: public static
focal_method.parameters: (final String ip)
focal_method.return: boolean
focal_method.signature: boolean isValidIpv6(final String ip)