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
{
    "etherDestinationAddress": "string",
    "etherSourceAddress": "string",
    "etherType": "string",
    "vlanTag": [
        "string"
    ],
    "protocol": "string",
    "dscp": "string",
    "sourcePortRange": {
        "lowerPort": 0,
        "upperPort": 0
    },
    "destinationPortRange": {
        "lowerPort": 0,
        "upperPort": 0
    },
    "sourceIpAddressPrefix": "string",
    "destinationIpAddressPrefix": "string",
    "extendedCriteria": [
        {
            "startingPoint": 0,
            "length": 0,
            "value": "string"
        }
    ]
}
etherDestinationAddress
Optional

etherDestinationAddress

etherSourceAddress
Optional

etherSourceAddress

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

sourceIpAddressPrefix
Optional

sourceIpAddressPrefix

destinationIpAddressPrefix
Optional

destinationIpAddressPrefix

array of Mask
extendedCriteria
Optional

Indicates values of specific bits in a frame.

Property Of