Sha256: e1bfd2b21f63c2b961170afb4a5e54ab72d4f22d1306a7901c08e97acf1ddff0
Contents?: true
Size: 782 Bytes
Versions: 6
Compression:
Stored size: 782 Bytes
Contents
module OpenStack module Network class Port attr_reader :id attr_reader :network_id attr_reader :name attr_reader :admin_state_up attr_reader :status attr_reader :mac_address attr_reader :fixed_ips attr_reader :device_id attr_reader :device_owner attr_reader :tenant_id 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 end end end
Version data entries
6 entries across 6 versions & 1 rubygems