ec.set(port, "port_name", port_name)
ec.set(port, "network", network)
ec.register_connection(port, ovs)
return port
def add_tap(ec, endpoint_ip, endpoint_prefix, pointopoint, node):
ec.set(port, "port_name", port_name)
ec.set(port, "network", network)
ec.register_connection(port, ovs)
return port
def add_tap(ec, endpoint_ip, endpoint_prefix, pointopoint, node):