diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils/packet_builder_interface.py')
-rw-r--r-- | scripts/automation/trex_control_plane/client_utils/packet_builder_interface.py | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/packet_builder_interface.py b/scripts/automation/trex_control_plane/client_utils/packet_builder_interface.py deleted file mode 100644 index b6e7c026..00000000 --- a/scripts/automation/trex_control_plane/client_utils/packet_builder_interface.py +++ /dev/null @@ -1,43 +0,0 @@ - -# base object class for a packet builder -class CTrexPktBuilderInterface(object): - - def compile (self): - """ - Compiles the packet and VM - """ - raise Exception("implement me") - - - def dump_pkt(self): - """ - Dumps the packet as a decimal array of bytes (each item x gets value between 0-255) - - :parameters: - None - - :return: - + packet representation as array of bytes - - :raises: - + :exc:`CTRexPktBuilder.EmptyPacketError`, in case packet is empty. - - """ - - raise Exception("implement me") - - - def get_vm_data(self): - """ - Dumps the instructions - - :parameters: - None - - :return: - + json object of instructions - - """ - - raise Exception("implement me") - |