Class: Megam::Mixins::InputGroupData

Inherits:
Object
  • Object
show all
Includes:
Nilavu::MegamAttributes
Defined in:
lib/megam/mixins/common_deployable.rb

Constant Summary collapse

ATTRIBUTES =
[
  :domain,
  :keypairoption,
  :root_password,
  :sshkey,
  :provider,
  :version,
  :display_name,
  :password,
  :region,
  :flavor_id,
  :storage_hddtype,
  :private_ipv4,
  :public_ipv4,
  :private_ipv6,
  :public_ipv6,
  :bitnami_password,
  :bitnami_username,
  :app_username,
  :app_password,
  :root_username,
  :backup,
  :backup_name,
  :backup_id,
  :quota_ids,
:user_launch_patternname,]

Constants included from Nilavu::MegamAttributes

Nilavu::MegamAttributes::KEY, Nilavu::MegamAttributes::VALUE

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Nilavu::MegamAttributes

#set_attributes, #to_hash

Constructor Details

#initialize(params) ⇒ InputGroupData

Returns a new instance of InputGroupData.



72
73
74
# File 'lib/megam/mixins/common_deployable.rb', line 72

def initialize(params)
    set_attributes(params)
end

Instance Attribute Details

#app_passwordObject (readonly)

Returns the value of attribute app_password.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def app_password
  @app_password
end

#app_usernameObject (readonly)

Returns the value of attribute app_username.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def app_username
  @app_username
end

#backupObject (readonly)

Returns the value of attribute backup.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def backup
  @backup
end

#backup_idObject (readonly)

Returns the value of attribute backup_id.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def backup_id
  @backup_id
end

#backup_nameObject (readonly)

Returns the value of attribute backup_name.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def backup_name
  @backup_name
end

#bitnami_passwordObject (readonly)

Returns the value of attribute bitnami_password.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def bitnami_password
  @bitnami_password
end

#bitnami_usernameObject (readonly)

Returns the value of attribute bitnami_username.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def bitnami_username
  @bitnami_username
end

#cpuObject (readonly)

Returns the value of attribute cpu.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def cpu
  @cpu
end

#display_nameObject (readonly)

Returns the value of attribute display_name.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def display_name
  @display_name
end

#domainObject (readonly)

Returns the value of attribute domain.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def domain
  @domain
end

#flavor_idObject (readonly)

Returns the value of attribute flavor_id.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def flavor_id
  @flavor_id
end

#hddObject (readonly)

Returns the value of attribute hdd.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def hdd
  @hdd
end

#keypairoptionObject (readonly)

Returns the value of attribute keypairoption.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def keypairoption
  @keypairoption
end

#passwordObject (readonly)

Returns the value of attribute password.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def password
  @password
end

#private_ipv4Object (readonly)

Returns the value of attribute private_ipv4.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def private_ipv4
  @private_ipv4
end

#private_ipv6Object (readonly)

Returns the value of attribute private_ipv6.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def private_ipv6
  @private_ipv6
end

#providerObject (readonly)

Returns the value of attribute provider.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def provider
  @provider
end

#public_ipv4Object (readonly)

Returns the value of attribute public_ipv4.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def public_ipv4
  @public_ipv4
end

#public_ipv6Object (readonly)

Returns the value of attribute public_ipv6.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def public_ipv6
  @public_ipv6
end

#quota_idsObject (readonly)

Returns the value of attribute quota_ids.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def quota_ids
  @quota_ids
end

#ramObject (readonly)

Returns the value of attribute ram.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def ram
  @ram
end

#regionObject (readonly)

Returns the value of attribute region.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def region
  @region
end

#root_passwordObject (readonly)

Returns the value of attribute root_password.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def root_password
  @root_password
end

#root_usernameObject (readonly)

Returns the value of attribute root_username.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def root_username
  @root_username
end

#sshkeyObject (readonly)

Returns the value of attribute sshkey.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def sshkey
  @sshkey
end

#storage_hddtypeObject (readonly)

Returns the value of attribute storage_hddtype.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def storage_hddtype
  @storage_hddtype
end

#user_launch_patternnameObject (readonly)

Returns the value of attribute user_launch_patternname.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def user_launch_patternname
  @user_launch_patternname
end

#versionObject (readonly)

Returns the value of attribute version.



37
38
39
# File 'lib/megam/mixins/common_deployable.rb', line 37

def version
  @version
end

Instance Method Details

#attributesObject



68
69
70
# File 'lib/megam/mixins/common_deployable.rb', line 68

def attributes
    ATTRIBUTES
end