Skip to content
jonstout edited this page Jan 16, 2013 · 4 revisions

func Connect

flows = Connect(host_mac_a, host_mac_b, path=None)

flows - {'dpid_1' : [fmod, fmod, ...]}

Returns a dict of flows that connect host_mac_a and host_mac_b.

func Disconnect

flows = Disconnect(host_mac_a, host_mac_b, path)

flows - {'dpid_1' : [fmod, fmod, ...]}

Returns a dict of flows that disconnect host_mac_a and host_mac_b.