Method: Pec::Handler::Networks.create_port

Defined in:
lib/pec/handler/networks.rb

.create_port(host, network) ⇒ Object



41
42
43
44
# File 'lib/pec/handler/networks.rb', line 41

def create_port(host, network)
  attribute = gen_port_attribute(host, network)
  Yao::Port.create(attribute)
end