NfpRule

NfpRule
NfpRule

The NfpRule data type is an expression of the conditions that shall be met in order for the NFP to be applicable to the packet. The condition acts as a flow classifier and it is met only if all the values expressed in the condition are matched by those in the packet. It shall comply with the provisions defined in Table 6.5.3.40-1.

JSON Example
{
    "protocol": "TCP",
    "vlanTag": [
        null,
        null
    ],
    "dscp": "dscp",
    "sourcePortRange": {
        "upperPort": 0,
        "lowerPort": 0
    },
    "extendedCriteria": [
        {
            "startingPoint": 5,
            "length": 2,
            "value": "value"
        },
        {
            "startingPoint": 5,
            "length": 2,
            "value": "value"
        }
    ],
    "etherSourceAddress": "etherSourceAddress",
    "destinationPortRange": {
        "upperPort": 0,
        "lowerPort": 0
    },
    "etherType": "IPV4",
    "sourceIpAddressPrefix": "sourceIpAddressPrefix",
    "etherDestinationAddress": "etherDestinationAddress",
    "destinationIpAddressPrefix": "destinationIpAddressPrefix"
}
string As MAC As MAC
etherDestinationAddress
Optional

A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.

string As MAC As MAC
etherSourceAddress
Optional

A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.

string
etherType
Optional

Human readable description for the VNFFG.

Possible values are : IPV4, IPV6,
array of String
vlanTag
Optional

Indicates a VLAN identifier in an IEEE 802.1Q-2018 tag [6] Multiple tags can be included for QinQ stacking. See note.

string
protocol
Optional

Indicates the L4 protocol, For IPv4 [7] this corresponds to the field called "Protocol" to identify the next level protocol. For IPv6 [28] this corresponds to the field is called the "Next Header" field. Permitted values: Any keyword defined in the IANA protocol registry [1], e.g.: TCP UDP ICMP

Possible values are : TCP, UDP, ICMP,
string
dscp
Optional

For IPv4 [7] a string of "0" and "1" digits that corresponds to the 6-bit Differentiated Services Code Point (DSCP) field of the IP header. For IPv6 [28] a string of "0" and "1" digits that corresponds to the 6 differentiated services bits of the traffic class header field

sourcePortRange
Optional

sourcePortRange

destinationPortRange
Optional

destinationPortRange

string
sourceIpAddressPrefix
Optional

An IPV4 or IPV6 address range in CIDR format. For IPV4 address range, refer to IETF RFC 4632 [12]. For IPV6 address range, refer to IETF RFC 4291.

string
destinationIpAddressPrefix
Optional

An IPV4 or IPV6 address range in CIDR format. For IPV4 address range, refer to IETF RFC 4632 [12]. For IPV6 address range, refer to IETF RFC 4291.

array of Mask
extendedCriteria
Optional

Indicates values of specific bits in a frame.

Property Of