# File lib/openstack/network/port.rb, line 16 def initialize(port_hash) @id = port_hash["id"] @network_id = port_hash["network_id"] @name = port_hash["name"] @admin_state_up = port_hash["admin_state_up"] @status = port_hash["status"] @mac_address = port_hash["mac_address"] @fixed_ips = port_hash["fixed_ips"] @device_id = port_hash["device_id"] @device_owner = port_hash["device_owner"] @tenant_id = port_hash["tenant_id"] end