Class: OvirtSDK4::OpenStackNetworkProvider
- Inherits:
-
OpenStackProvider
- Object
- Struct
- Identified
- ExternalProvider
- OpenStackProvider
- OvirtSDK4::OpenStackNetworkProvider
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (AgentConfiguration) agent_configuration
Returns the value of the
agent_configuration
attribute. -
- (Object) agent_configuration=(value)
Sets the value of the
agent_configuration
attribute. -
- (String) authentication_url
Returns the value of the
authentication_url
attribute. -
- (Object) authentication_url=(value)
Sets the value of the
authentication_url
attribute. -
- (Array<Certificate>) certificates
Returns the value of the
certificates
attribute. -
- (Object) certificates=(list)
Sets the value of the
certificates
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (OpenStackNetworkProvider) initialize(opts = {})
constructor
Creates a new instance of the OpenStackNetworkProvider class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Array<OpenStackNetwork>) networks
Returns the value of the
networks
attribute. -
- (Object) networks=(list)
Sets the value of the
networks
attribute. -
- (String) password
Returns the value of the
password
attribute. -
- (Object) password=(value)
Sets the value of the
password
attribute. -
- (NetworkPluginType) plugin_type
Returns the value of the
plugin_type
attribute. -
- (Object) plugin_type=(value)
Sets the value of the
plugin_type
attribute. -
- (Array<Property>) properties
Returns the value of the
properties
attribute. -
- (Object) properties=(list)
Sets the value of the
properties
attribute. -
- (Boolean) read_only
Returns the value of the
read_only
attribute. -
- (Object) read_only=(value)
Sets the value of the
read_only
attribute. -
- (Boolean) requires_authentication
Returns the value of the
requires_authentication
attribute. -
- (Object) requires_authentication=(value)
Sets the value of the
requires_authentication
attribute. -
- (Array<OpenStackSubnet>) subnets
Returns the value of the
subnets
attribute. -
- (Object) subnets=(list)
Sets the value of the
subnets
attribute. -
- (String) tenant_name
Returns the value of the
tenant_name
attribute. -
- (Object) tenant_name=(value)
Sets the value of the
tenant_name
attribute. -
- (OpenStackNetworkProviderType) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute. -
- (String) url
Returns the value of the
url
attribute. -
- (Object) url=(value)
Sets the value of the
url
attribute. -
- (String) username
Returns the value of the
username
attribute. -
- (Object) username=(value)
Sets the value of the
username
attribute.
Methods included from Type
Constructor Details
- (OpenStackNetworkProvider) initialize(opts = {})
Creates a new instance of the OvirtSDK4::OpenStackNetworkProvider class.
43325 43326 43327 43328 43329 43330 43331 43332 43333 43334 43335 43336 43337 43338 43339 43340 43341 43342 43343 43344 43345 |
# File 'lib/ovirtsdk4/types.rb', line 43325 def initialize(opts = {}) super(opts) self.agent_configuration = opts[:agent_configuration] self.authentication_url = opts[:authentication_url] self.certificates = opts[:certificates] self.comment = opts[:comment] self.description = opts[:description] self.id = opts[:id] self.name = opts[:name] self.networks = opts[:networks] self.password = opts[:password] self.plugin_type = opts[:plugin_type] self.properties = opts[:properties] self.read_only = opts[:read_only] self.requires_authentication = opts[:requires_authentication] self.subnets = opts[:subnets] self.tenant_name = opts[:tenant_name] self.type = opts[:type] self.url = opts[:url] self.username = opts[:username] end |
Instance Method Details
- (AgentConfiguration) agent_configuration
Returns the value of the agent_configuration
attribute.
42927 42928 42929 |
# File 'lib/ovirtsdk4/types.rb', line 42927 def agent_configuration return @agent_configuration end |
- (Object) agent_configuration=(value)
Sets the value of the agent_configuration
attribute.
The value
parameter can be an instance of AgentConfiguration or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
42940 42941 42942 42943 42944 42945 |
# File 'lib/ovirtsdk4/types.rb', line 42940 def agent_configuration=(value) if value.is_a?(Hash) value = AgentConfiguration.new(value) end @agent_configuration = value end |
- (String) authentication_url
Returns the value of the authentication_url
attribute.
42952 42953 42954 |
# File 'lib/ovirtsdk4/types.rb', line 42952 def authentication_url return @authentication_url end |
- (Object) authentication_url=(value)
Sets the value of the authentication_url
attribute.
42961 42962 42963 |
# File 'lib/ovirtsdk4/types.rb', line 42961 def authentication_url=(value) @authentication_url = value end |
- (Array<Certificate>) certificates
Returns the value of the certificates
attribute.
42970 42971 42972 |
# File 'lib/ovirtsdk4/types.rb', line 42970 def certificates return @certificates end |
- (Object) certificates=(list)
Sets the value of the certificates
attribute.
42978 42979 42980 42981 42982 42983 42984 42985 42986 42987 42988 |
# File 'lib/ovirtsdk4/types.rb', line 42978 def certificates=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Certificate.new(value) end end end @certificates = list end |
- (String) comment
Returns the value of the comment
attribute.
42995 42996 42997 |
# File 'lib/ovirtsdk4/types.rb', line 42995 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
43004 43005 43006 |
# File 'lib/ovirtsdk4/types.rb', line 43004 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
43013 43014 43015 |
# File 'lib/ovirtsdk4/types.rb', line 43013 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
43022 43023 43024 |
# File 'lib/ovirtsdk4/types.rb', line 43022 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
43031 43032 43033 |
# File 'lib/ovirtsdk4/types.rb', line 43031 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
43040 43041 43042 |
# File 'lib/ovirtsdk4/types.rb', line 43040 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
43049 43050 43051 |
# File 'lib/ovirtsdk4/types.rb', line 43049 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
43058 43059 43060 |
# File 'lib/ovirtsdk4/types.rb', line 43058 def name=(value) @name = value end |
- (Array<OpenStackNetwork>) networks
Returns the value of the networks
attribute.
43067 43068 43069 |
# File 'lib/ovirtsdk4/types.rb', line 43067 def networks return @networks end |
- (Object) networks=(list)
Sets the value of the networks
attribute.
43075 43076 43077 43078 43079 43080 43081 43082 43083 43084 43085 |
# File 'lib/ovirtsdk4/types.rb', line 43075 def networks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = OpenStackNetwork.new(value) end end end @networks = list end |
- (String) password
Returns the value of the password
attribute.
43092 43093 43094 |
# File 'lib/ovirtsdk4/types.rb', line 43092 def password return @password end |
- (Object) password=(value)
Sets the value of the password
attribute.
43101 43102 43103 |
# File 'lib/ovirtsdk4/types.rb', line 43101 def password=(value) @password = value end |
- (NetworkPluginType) plugin_type
Returns the value of the plugin_type
attribute.
43110 43111 43112 |
# File 'lib/ovirtsdk4/types.rb', line 43110 def plugin_type return @plugin_type end |
- (Object) plugin_type=(value)
Sets the value of the plugin_type
attribute.
43119 43120 43121 |
# File 'lib/ovirtsdk4/types.rb', line 43119 def plugin_type=(value) @plugin_type = value end |
- (Array<Property>) properties
Returns the value of the properties
attribute.
43128 43129 43130 |
# File 'lib/ovirtsdk4/types.rb', line 43128 def properties return @properties end |
- (Object) properties=(list)
Sets the value of the properties
attribute.
43136 43137 43138 43139 43140 43141 43142 43143 43144 43145 43146 |
# File 'lib/ovirtsdk4/types.rb', line 43136 def properties=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Property.new(value) end end end @properties = list end |
- (Boolean) read_only
Returns the value of the read_only
attribute.
43153 43154 43155 |
# File 'lib/ovirtsdk4/types.rb', line 43153 def read_only return @read_only end |
- (Object) read_only=(value)
Sets the value of the read_only
attribute.
43162 43163 43164 |
# File 'lib/ovirtsdk4/types.rb', line 43162 def read_only=(value) @read_only = value end |
- (Boolean) requires_authentication
Returns the value of the requires_authentication
attribute.
43171 43172 43173 |
# File 'lib/ovirtsdk4/types.rb', line 43171 def requires_authentication return @requires_authentication end |
- (Object) requires_authentication=(value)
Sets the value of the requires_authentication
attribute.
43180 43181 43182 |
# File 'lib/ovirtsdk4/types.rb', line 43180 def requires_authentication=(value) @requires_authentication = value end |
- (Array<OpenStackSubnet>) subnets
Returns the value of the subnets
attribute.
43189 43190 43191 |
# File 'lib/ovirtsdk4/types.rb', line 43189 def subnets return @subnets end |
- (Object) subnets=(list)
Sets the value of the subnets
attribute.
43197 43198 43199 43200 43201 43202 43203 43204 43205 43206 43207 |
# File 'lib/ovirtsdk4/types.rb', line 43197 def subnets=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = OpenStackSubnet.new(value) end end end @subnets = list end |
- (String) tenant_name
Returns the value of the tenant_name
attribute.
43214 43215 43216 |
# File 'lib/ovirtsdk4/types.rb', line 43214 def tenant_name return @tenant_name end |
- (Object) tenant_name=(value)
Sets the value of the tenant_name
attribute.
43223 43224 43225 |
# File 'lib/ovirtsdk4/types.rb', line 43223 def tenant_name=(value) @tenant_name = value end |
- (OpenStackNetworkProviderType) type
Returns the value of the type
attribute.
43232 43233 43234 |
# File 'lib/ovirtsdk4/types.rb', line 43232 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
43241 43242 43243 |
# File 'lib/ovirtsdk4/types.rb', line 43241 def type=(value) @type = value end |
- (String) url
Returns the value of the url
attribute.
43250 43251 43252 |
# File 'lib/ovirtsdk4/types.rb', line 43250 def url return @url end |
- (Object) url=(value)
Sets the value of the url
attribute.
43259 43260 43261 |
# File 'lib/ovirtsdk4/types.rb', line 43259 def url=(value) @url = value end |
- (String) username
Returns the value of the username
attribute.
43268 43269 43270 |
# File 'lib/ovirtsdk4/types.rb', line 43268 def username return @username end |
- (Object) username=(value)
Sets the value of the username
attribute.
43277 43278 43279 |
# File 'lib/ovirtsdk4/types.rb', line 43277 def username=(value) @username = value end |