![]() |
Open Kilda Java Documentation
|
Classes | |
class | KildaSwitch |
Functions | |
def | log_to_logger (fn) |
def | required_parameters (pars) |
def | controller_info (controller) |
def | list_controllers () |
def | switch_info (switch) |
def | list_switch (name) |
def | list_switches () |
def | link_name (link) |
def | link_info (link) |
def | list_links () |
def | new_topology () |
def | create_topology () |
def | get_switch (name) |
def | get_switches () |
def | create_switches () |
def | get_links () |
def | create_links () |
def | get_controllers () |
def | create_controller () |
def | mininet_cleanup () |
def | status () |
def | start_server (interface, port) |
def | get_output_actions (in_vlan, out_vlan) |
Flow Debugging Section. More... | |
def | add_single_switch_rules (switch_id, in_port, out_port, in_vlan=0, out_vlan=0) |
def | clear_single_switch_rules (switch_id, in_port, out_port) |
def | pingable (host1, host2) |
def | check_ping_traffic (p) |
def | add_default_flows (p) |
def | add_ingress_flow (p) |
def | add_egress_flow (p) |
def | add_transit_flow (p) |
def | init () |
def | main () |
Variables | |
net = None | |
GLOBALS. More... | |
dictionary | topology_schema |
dictionary | switches_schema |
dictionary | links_schema |
dictionary | controllers_schema |
def kilda.mininet.rest.add_single_switch_rules | ( | switch_id, | |
in_port, | |||
out_port, | |||
in_vlan = 0 , |
|||
out_vlan = 0 |
|||
) |
def kilda.mininet.rest.check_ping_traffic | ( | p | ) |
def kilda.mininet.rest.clear_single_switch_rules | ( | switch_id, | |
in_port, | |||
out_port | |||
) |
def kilda.mininet.rest.get_output_actions | ( | in_vlan, | |
out_vlan | |||
) |
Flow Debugging Section.
This is to setup rules for host to switch / switch to host. It honors what we are trying to accomlish with testing Kilda: 1) Kilda will put rules on one or more switches 2) This code will put rules on the switches outside that set. For instance, if we are testing Kilda in a single switch scenario (s3), then this code will be used to put rules on s2 and s4 so that s3 can be tested properly. 3) To keep things simple, we leverage the host attached to s2 and s4 to do a ping 4) These rules setup the host to switch port as in, and then the switch to be tested as the out port.
def kilda.mininet.rest.init | ( | ) |
def kilda.mininet.rest.log_to_logger | ( | fn | ) |
dictionary kilda.mininet.rest.links_schema |
dictionary kilda.mininet.rest.switches_schema |