p4e_commands module
This module contains the L47 port packet engine classes.
Port (L47) Packet Engine Commands
- class P4E_ALLOCATE[source]
Bases:
objectSimple mode only: Allocate a number of PEs to this port.
- class GetDataAttr[source]
Bases:
ResponseBodyStruct- pe_count_alloc
byte, the total number of PEs to allocate to this port - including the PEs already allocated to the port.
- class SetDataAttr[source]
Bases:
RequestBodyStruct- pe_count_alloc
byte, the total number of PEs to allocate to this port - including the PEs already allocated to the port.
- class P4E_ALLOCATION_INFO[source]
Bases:
objectDisplay information about which PEs that are available for allocation/assignment and which are currently allocated/assigned to this port.
- class GetDataAttr[source]
Bases:
ResponseBodyStruct- allocated
eight hex bytes (64-bit) mask of PEs assigned to this port
- available
eight hex bytes (64-bit) mask of available PEs
- class P4E_ASSIGN[source]
Bases:
objectAdvanced mode only: Assign previously reserved PEs to a port.
- class GetDataAttr[source]
Bases:
ResponseBodyStruct- mask
eight hex bytes, a bitmask specifying which PEs should be assigned to this port
- class SetDataAttr[source]
Bases:
RequestBodyStruct- mask
eight hex bytes, a bitmask specifying which PEs should be assigned to this port
- class P4E_AVAILABLE[source]
Bases:
objectSimple mode only: Report the number of PEs available for allocation.
- class GetDataAttr[source]
Bases:
ResponseBodyStruct- available_pe_count
byte, total number of PEs that can be allocated to the port - including the PEs already allocated to the port.