ostinato.protocols.llc_pb2 module¶
Customize and configure the 802.2 LLC protocol attributes within Ostinato streams by accessing and modifying these properties using the Llc object.
To add and configure Llc in a stream, add a protocol to the stream, set the protocol id to ost_pb.Protocol.kLlcFieldNumber
and access the Llc object from the Protocol object's Extensions
dictionary using the key llc_pb2.llc
from ostinato.protocols import llc_pb2
...
# stream is an object of type ost_pb.Stream
proto = stream.protocol.add()
proto.protocol_id.id = ost_pb.Protocol.kLlcFieldNumber
my_llc = proto.Extensions[llc_pb2.llc]
my_llc.<attribute>
Llc class¶
Class attributes¶
is_override_dsap¶
Llc.is_override_dsap : boolean
is_override_ssap¶
Llc.is_override_ssap : boolean
is_override_ctl¶
Llc.is_override_ctl : boolean
dsap¶
Llc.dsap : long
ssap¶
Llc.ssap : long
ctl¶
Llc.ctl : long