csle_ryu.constants package

Submodules

csle_ryu.constants.constants module

class csle_ryu.constants.constants.CONTROLLERS[source]

Bases: object

RYU Controllers in CSLE

LEARNING_SWITCH_CONTROLLER = 'learning_switch_controller'
LEARNING_SWITCH_STP_CONTROLLER = 'learning_switch_stp_controller'
class csle_ryu.constants.constants.RYU[source]

Bases: object

String constants related to RYU

APP_LISTS_ARG = '--app-lists'
BITMASK = '255.255.255.248'
BYTE_COUNT = 'byte_count'
CONTROLLERS_PREFIX = 'csle_ryu.controllers.'
CONTROLLER_APP = 'controller_app'
CONTROLLER_PORT_ARG = '--ofp-tcp-listen-port'
DEFAULT_PORT = 6633
DEFAULT_TRANSPORT_PROTOCOL = 'tcp'
ETH_DST = 'eth_dst'
FLOW_COUNT = 'flow_count'
FULL_BITMASK = '255.255.255.0'
FULL_SUBNETMASK_SUFFIX = '.0/24'
IN_PORT = 'in_port'
KAFKA_CONF = 'kafka_conf'
LOG_FILE = 'csle_sdn_controller.log'
LOG_FILE_ARG = '--log-file'
NETWORK_ID_FOURTH_OCTET = 251
NETWORK_ID_THIRD_OCTET = 252
NORTHBOUND_API_APP_NAME = 'csle_api_app'
OFCTL_GUI_TOPOLOGY = 'ryu.app.gui_topology.gui_topology'
OFCTL_REST_APP = 'ryu.app.ofctl_rest'
OFCTL_REST_QOS_APP = 'ryu.app.rest_qos'
OFCTL_REST_TOPOLOGY = 'ryu.app.rest_topology'
OFCTL_WS_TOPOLOGY = 'ryu.app.ws_topology'
PACKET_BUFFER_MAX_LEN = 512
PACKET_COUNT = 'packet_count'
PRODUCER_RUNNING = 'producer_running'
RYU_MANAGER = '/root/miniconda3/bin/ryu-manager'
STATS_AGGREGATE_FLOW_RESOURCE = '/stats/aggregateflow'
STATS_DESC_RESOURCE = '/stats/desc'
STATS_FLOW_RESOURCE = '/stats/flow'
STATS_GROUP_DESC_RESOURCE = '/stats/groupdesc'
STATS_GROUP_FEATURES_RESOURCE = '/stats/groupfeatures'
STATS_GROUP_RESOURCE = '/stats/group'
STATS_METER_CONFIG_RESOURCE = '/stats/meterconfig'
STATS_METER_FEATURES_RESOURCE = '/stats/meterfeatures'
STATS_METER_RESOURCE = '/stats/meter'
STATS_PORT_DESC_RESOURCE = '/stats/portdesc'
STATS_PORT_RESOURCE = '/stats/port'
STATS_QUEUE_CONFIG_RESOURCE = '/stats/queueconfig'
STATS_QUEUE_DESC_RESOURCE = '/stats/queuedesc'
STATS_QUEUE_RESOURCE = '/stats/queue'
STATS_ROLE_RESOURCE = '/stats/role'
STATS_SWITCHES_RESOURCE = '/stats/switches'
STATS_TABLE_FEATURES_RESOURCE = '/stats/tablefeatures'
STATS_TABLE_RESOURCE = '/stats/table'
STPLIB = 'stplib'
SUBNETMASK_SUFFIX = '/29'
SUFFIX = '_1'
TIMEOUT = 5
WEB_APP_PORT_ARG = '--wsapi-port'
WSGI = 'wsgi'

Module contents