ADC Advanced Policy Expressions

IPV6_SUBNET_AT

Provides operations for the integral IPv6 subnet address value.

This topic lists the expressions that are provided by this class.

APPEND(text_tstr)

Appends the given string to the string representation of the current

IPv6 subnet address.

Parameters:

str -

                        the string to append.

Returns: text_t

EQ(ipv6_subnet_ati)

Returns Boolean TRUE if the IPv6 subnet address value is same as the

argument.

IPv6 Subnet Address specified must be in following form:

1000:1001:CD10:0000:0000:89AB:4567:CDEF/64

Parameters:

i -

                        IP Subnet Address

Returns: bool_at

GET1

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

then it will return 1000, the first set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET1.EQ(0x1000) will return true.

Returns: num_at

GET2

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

then it will return 1001, the second set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET2.EQ(0x1001) will return true.

Returns: num_at

GET3

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

then it will return CD10, the third set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET3.EQ(0xCD10) will return true.

Returns: num_at

GET4

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

then it will return 0000, the fourth set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET4.EQ(0x0) will return true.

Returns: num_at

GET5

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

then it will return 0010, the fifth set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET5.EQ(0x0010) will return true.

Returns: num_at

GET6

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:00100:89AB:4567:CDEF/64

then it will return 89AB, the sixth set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET6.EQ(0x89AB) will return true.

Returns: num_at

GET7

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

then it will return 4567, the seventh set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET7.EQ(0x4567) will return true.

Returns: num_at

GET8

If the IPv6 subnet address in the current context is

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

then it will return CDEF, the eigth set of 16 bits in the 128 bit

address. The IPv6 address is printed using hexadecimal digits.

If the IPv6 address is 1000:1001:CD10:0000:0010:89AB:4567:CDEF/64 then

RADIUS.REQ.AVP(97).VALUE.TYPECAST_IPV6_SUBNET_AT.GET8.EQ(0xCDEF) will return true.

Returns: num_at

NE(ipv6_subnet_ati)

Returns Boolean TRUE if the IPv6 subnet address value is NOT same as the

argument.

IPv6 Subnet Address specified must be in following form:

1000:1001:CD10:0000:0000:89AB:4567:CDEF/64

Parameters:

i -

                        IP Subnet Address

Returns: bool_at

PREFIXLENGTH

Returns Network Perfix Length from the given IPv6 Network Address

IPv6 Subnet Address specified must be in following form:

1000:1001:CD10:0000:0010:89AB:4567:CDEF/64

Then, this function will return 64

Returns: num_at

TYPECAST_TEXT_T

Typecast the IPv6 Subnet Address Value to its string representation.

Returns: text_t

IPV6_SUBNET_AT

In this article