networkapi.plugins.SDN.ODL.flows package¶
Submodules¶
networkapi.plugins.SDN.ODL.flows.acl module¶
-
class
networkapi.plugins.SDN.ODL.flows.acl.AclFlowBuilder(data, environment=0, version='BERYLLIUM')[source]¶ Bases:
objectClass responsible for build json data for Access control list flow at OpenDayLight controller
-
ALLOWED_FLOWS_SIZE= 5¶
-
LOG_FORMAT= '%(levelname)s:%(message)s'¶
-
MALFORMED_MESSAGE= 'Error building ACL Json. Malformed input data: \n%s'¶
-
MAX_RANGE_LENGTH= 120¶
-
PRIORITY_DEFAULT= 65000¶
-
TABLE= 0¶
-
-
class
networkapi.plugins.SDN.ODL.flows.acl.Tokens[source]¶ Bases:
objectClass that holds all key words from the source json that identifies a valid ACL to be translated to a OpenDayLight json format
-
action= 'action'¶
-
description= 'description'¶
-
destination= 'destination'¶
-
dst_port= 'dest-port-start'¶
-
dst_port_end= 'dest-port-end'¶
-
dst_port_op= 'dest-port-op'¶
-
eq= 'eq'¶
-
flags= 'flags'¶
-
icmp_code= 'icmp-code'¶
-
icmp_options= 'icmp-options'¶
-
icmp_type= 'icmp-type'¶
-
id_= 'id'¶
-
kind= 'kind'¶
-
l4_options= 'l4-options'¶
-
priority= 'priority'¶
-
protocol= 'protocol'¶
-
range= 'range'¶
-
rules= 'rules'¶
-
sequence= 'sequence'¶
-
source= 'source'¶
-
src_port= 'src-port-start'¶
-
src_port_end= 'src-port-end'¶
-
src_port_op= 'src-port-op'¶
-