networkapi.plugins.SDN.ODL package

Submodules

networkapi.plugins.SDN.ODL.Generic module

class networkapi.plugins.SDN.ODL.Generic.FlowTypes[source]

Bases: enum.Enum

Inner class that holds the Enumeration of flow types

ACL = 0
class networkapi.plugins.SDN.ODL.Generic.ODLPlugin(**kwargs)[source]

Bases: networkapi.plugins.SDN.base.BaseSdnPlugin

Plugin base para interação com controlador ODL

add_flow(data=None, flow_id=0, flow_type=<FlowTypes.ACL: 0>, nodes_ids=[])[source]
assertDictsEqual(d1, d2)[source]
del_flow(flow_id=0, nodes_ids=[])[source]
flush_flows()[source]
get_flow(flow_id=0)[source]

HTTP GET method to request flows by id

get_flows()[source]

Returns All flows for table 0 of all switches of a environment

update_all_flows(data, flow_type=<FlowTypes.ACL: 0>)[source]
versions = ['BERYLLIUM', 'BORON', 'CARBON', 'NITROGEN']

Module contents