BgpFsOperatorValuePair Object


Description:

Specifies Base Class for the Operator Value Pairs in the Type-4, Type-5, Type-6 and Type-10 in BGP Flowspec.

Automatically created from: BgpFsType10PacketLength, BgpFsType3IpProtocol, BgpFsType4Port, BgpFsType5DestinationPort, BgpFsType6SourcePort, BgpFsType7IcmpType, BgpFsType8IcmpCode

BgpFsOperatorValuePair Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AndBit

Set if the current operation must be the logical AND of the previous operation

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Specifies current operation must be the logical AND of the previous operation

FALSE

Specifies current operation must be the logical OR of the previous operation

Count

Specifies the number of the values that will be provided for the particular operator value pair in that Type

Type: u32

Default: 1

Range: 1 - 1024

EqualityBit

Specifies the relation between the type and value

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Specifies that Type equals value

FALSE

Specifies that Type not equals value

GreaterThanBit

Specifies the relation between the type and value

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Specifies that Type is greator than value

FALSE

Specifies that Type is lesser than or equal to value

LessThanBit

Specifies the relation between the type and value

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Specifies that Type is lesser than value

FALSE

Specifies that Type is greator than or equal to value

Mode

Enable Port Increment Per Prefix

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable Port Increment

FALSE

Disable Port Increment

Value

Specifies the Value Corresponding to the respective Type in the BGP FlowSpec

Type: u16

Default: 1

ValueIncrement

Specifies whether user will be providing Type value for a particular operator value pair in that Type as increment

Type: u16

Default: 1

Range: 1 - 65535

ValueList

Specifies whether user will be providing Type value for a particular operator value pair in that Type as List

Type: u16

Default: 1

ValueType

Value Type

Type: enum

Default: INCREMENT

Possible Values:

Value Description
INCREMENT

Value is of Type increment

LIST

Value is of Type List

BgpFsOperatorValuePair Read-Only Attributes

There are no read-only attributes.