NAME
Brocade::BSC::Node::OF::Switch
DESCRIPTION
Query and configure an OpenFlow-capable switch connected to a BSC controller.
METHODS
- new
-
Creates a new ::OFSwitch object and populates fields with values from argument hash, if present, or YAML configuration file.
- get_switch_info
-
# Returns : BSC::Status # : hash ref with basic info on openflow switch
- get_features_info
-
# Returns : BSC::Status # : hash ref of 'switch-features'
- get_ports_list
-
# Returns : BSC::Status # : array ref - list of port numbers
- get_ports_brief_info
-
# Returns : BSC::Status # : array ref - port info hashes
- get_port_detail_info
-
# Parameters: port number # Returns : BSC::Status # : hash ref - port details
- add_modify_flow
-
# Parameters: flow_entry # Returns : BSC::Status - success of operation
- delete_flow
-
# Parameters: table_id # : flow_id # Returns : BSC::Status - success of operation
- delete_flows
-
# Parameters: table_id - to be cleared of all flows # Returns : BSC::Status - success of operation
- get_configured_flow
-
# Parameters: flow table_id # : flow_id # Returns : BSC::Status # : flow as JSON string
- get_operational_FlowEntries
-
# Parameters: table_id - select table to retrieve # Returns : array ref - operational FlowEntry objects
- get_configured_FlowEntries
-
# Parameters: table_id - select table to retrieve # Returns : array ref - configured FlowEntry objects
- get_configured_FlowEntry
-
# Parameters: table_id # : flow_id # Returns : BSC::Status # : FlowEntry object for specified table and flow
COPYRIGHT
Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, INC
All rights reserved.