networkapi.plugins.SDN.ODL.utils package

Submodules

networkapi.plugins.SDN.ODL.utils.cookie_handler module

class networkapi.plugins.SDN.ODL.utils.cookie_handler.CookieHandler(id_acl, id_env=0)[source]

Bases: object

This class intends to Handle the cookie field described by the OpenFlow Specification and present in OpenVSwitch.

Cookie field has 64 bits. The first 32-bits are assigned to the id of ACL input. The next 32 bits are assigned to the ID of the environment.

cookie
get_id_acl()[source]
get_id_environment()[source]
raw()[source]

networkapi.plugins.SDN.ODL.utils.odl_plugin_masks module

class networkapi.plugins.SDN.ODL.utils.odl_plugin_masks.ODLPluginMasks[source]

Bases: object

description = '{} - {}:{}'
description_both = '{} - {}:{} - {}:{}'
id_ = '{}_{}'
id_both = '{}_{}_{}'
static to_str_description(arg1, arg2, arg3)[source]
static to_str_description_both(arg1, arg2, arg3, arg4, arg5)[source]
static to_str_id(arg1, arg2)[source]
static to_str_id_both(arg1, arg2, arg3)[source]

networkapi.plugins.SDN.ODL.utils.tcp_control_bits module

class networkapi.plugins.SDN.ODL.utils.tcp_control_bits.TCPControlBits(flags_list=None)[source]

Bases: object

Class to handle all format of the TCP IP control bits

to_bin()[source]
to_dict()[source]
to_hex()[source]
to_int()[source]
to_list()[source]
to_str()[source]

Module contents