Skip to content

ostinato.protocols.gmp_pb2 module

Efficiently manage and configure IGMP and MLD multicast management protocol attributes in Ostinato streams

Gmp class

Group Management Protocol (i.e. IGMP and MLD)

Class constants

GroupMode

Gmp.kFixed 
Gmp.kIncrementGroup 
Gmp.kDecrementGroup 
Gmp.kRandomGroup 

RecordType

Gmp.kReserved 
Gmp.kIsInclude 
Gmp.kIsExclude 
Gmp.kToInclude 
Gmp.kToExclude 
Gmp.kAllowNew 
Gmp.kBlockOld 

Class attributes

type

Gmp.type : long
Optional. If not set, defaults to 0.

is_override_rsvd_code

Gmp.is_override_rsvd_code : boolean
Optional. If not set, defaults to False.

rsvd_code

Gmp.rsvd_code : long
Optional. If not set, defaults to 0.

max_response_time

Gmp.max_response_time : long
Optional. If not set, defaults to 100.

is_override_checksum

Gmp.is_override_checksum : boolean
Optional. If not set, defaults to False.

checksum

Gmp.checksum : long
Optional. If not set, defaults to 0.

group_address

Gmp.group_address : IpAddress

See IpAddress

group_mode

Gmp.group_mode : GroupMode
Optional. If not set, defaults to kFixed.

See GroupMode

group_count

Gmp.group_count : long
Optional. If not set, defaults to 16.

group_prefix

Gmp.group_prefix : long
Optional. If not set, defaults to 24.

s_flag

Gmp.s_flag : boolean
Optional. If not set, defaults to False.

qrv

Gmp.qrv : long
Optional. If not set, defaults to 2.

qqi

Gmp.qqi : long
Optional. If not set, defaults to 125.

sources

Gmp.sources : List[IpAddress]

See IpAddress

is_override_source_count

Gmp.is_override_source_count : boolean
Optional. If not set, defaults to False.

source_count

Gmp.source_count : long
Optional. If not set, defaults to 0.

group_records

Gmp.group_records : List[GroupRecord]

See GroupRecord

is_override_group_record_count

Gmp.is_override_group_record_count : boolean
Optional. If not set, defaults to False.

group_record_count

Gmp.group_record_count : long
Optional. If not set, defaults to 0.

GroupRecord class

Class attributes

type

GroupRecord.type : RecordType
Optional. If not set, defaults to kIsInclude.

See RecordType

group_address

GroupRecord.group_address : IpAddress

See IpAddress

sources

GroupRecord.sources : List[IpAddress]

See IpAddress

is_override_source_count

GroupRecord.is_override_source_count : boolean
Optional. If not set, defaults to False.

source_count

GroupRecord.source_count : long
Optional. If not set, defaults to 0.

aux_data

GroupRecord.aux_data : bytes(python3)/str(python2)
Optional. If not set, defaults to "".

is_override_aux_data_length

GroupRecord.is_override_aux_data_length : boolean
Optional. If not set, defaults to False.

aux_data_length

GroupRecord.aux_data_length : long
Optional. If not set, defaults to 0.

IpAddress class

Class attributes

v4

IpAddress.v4 : int
Optional. If not set, defaults to 0.

v6_hi

IpAddress.v6_hi : long
Optional. If not set, defaults to 0.

v6_lo

IpAddress.v6_lo : long
Optional. If not set, defaults to 0.

Back to top