fog-oracle 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.ruby-gemset +1 -0
- data/Gemfile +4 -0
- data/LICENSE.md +20 -0
- data/README.md +3 -0
- data/Rakefile +16 -0
- data/fog-oracle.gemspec +27 -0
- data/lib/fog/bin/oracle.rb +29 -0
- data/lib/fog/oracle.rb +1 -0
- data/lib/fog/oracle/compute.rb +320 -0
- data/lib/fog/oracle/core.rb +92 -0
- data/lib/fog/oracle/models/associations.rb +89 -0
- data/lib/fog/oracle/models/collection.rb +47 -0
- data/lib/fog/oracle/models/compute/access_group.rb +18 -0
- data/lib/fog/oracle/models/compute/access_group_type.rb +8 -0
- data/lib/fog/oracle/models/compute/access_groups.rb +22 -0
- data/lib/fog/oracle/models/compute/access_host.rb +14 -0
- data/lib/fog/oracle/models/compute/access_hosts.rb +22 -0
- data/lib/fog/oracle/models/compute/affinity_group.rb +15 -0
- data/lib/fog/oracle/models/compute/affinity_groups.rb +22 -0
- data/lib/fog/oracle/models/compute/affinity_type.rb +9 -0
- data/lib/fog/oracle/models/compute/archive_management_attributes.rb +16 -0
- data/lib/fog/oracle/models/compute/archive_management_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/assemblies.rb +22 -0
- data/lib/fog/oracle/models/compute/assembly.rb +15 -0
- data/lib/fog/oracle/models/compute/assembly_virtual_disk.rb +15 -0
- data/lib/fog/oracle/models/compute/assembly_virtual_disks.rb +22 -0
- data/lib/fog/oracle/models/compute/assembly_vm.rb +12 -0
- data/lib/fog/oracle/models/compute/assembly_vms.rb +22 -0
- data/lib/fog/oracle/models/compute/backing_device_type.rb +12 -0
- data/lib/fog/oracle/models/compute/backup_management_attributes.rb +14 -0
- data/lib/fog/oracle/models/compute/backup_management_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/base_object.rb +26 -0
- data/lib/fog/oracle/models/compute/bond_mode.rb +9 -0
- data/lib/fog/oracle/models/compute/business_selection.rb +13 -0
- data/lib/fog/oracle/models/compute/business_selections.rb +22 -0
- data/lib/fog/oracle/models/compute/clone_target_type.rb +9 -0
- data/lib/fog/oracle/models/compute/clone_type.rb +9 -0
- data/lib/fog/oracle/models/compute/cluster.rb +15 -0
- data/lib/fog/oracle/models/compute/cluster_heartbeat_device.rb +16 -0
- data/lib/fog/oracle/models/compute/cluster_heartbeat_devices.rb +22 -0
- data/lib/fog/oracle/models/compute/cluster_heartbeat_storage_type.rb +9 -0
- data/lib/fog/oracle/models/compute/cluster_storage_fs.rb +11 -0
- data/lib/fog/oracle/models/compute/cluster_storage_fses.rb +22 -0
- data/lib/fog/oracle/models/compute/clusters.rb +22 -0
- data/lib/fog/oracle/models/compute/comparison_type.rb +12 -0
- data/lib/fog/oracle/models/compute/comparison_types.rb +22 -0
- data/lib/fog/oracle/models/compute/control_domain.rb +22 -0
- data/lib/fog/oracle/models/compute/control_domains.rb +22 -0
- data/lib/fog/oracle/models/compute/cpu.rb +19 -0
- data/lib/fog/oracle/models/compute/cpu_compatibility_group.rb +11 -0
- data/lib/fog/oracle/models/compute/cpu_compatibility_groups.rb +22 -0
- data/lib/fog/oracle/models/compute/cpus.rb +22 -0
- data/lib/fog/oracle/models/compute/disk_type.rb +8 -0
- data/lib/fog/oracle/models/compute/disk_write_mode.rb +8 -0
- data/lib/fog/oracle/models/compute/equality_type.rb +14 -0
- data/lib/fog/oracle/models/compute/ethernet_port.rb +23 -0
- data/lib/fog/oracle/models/compute/ethernet_ports.rb +22 -0
- data/lib/fog/oracle/models/compute/event.rb +18 -0
- data/lib/fog/oracle/models/compute/event_field.rb +14 -0
- data/lib/fog/oracle/models/compute/event_management_attributes.rb +11 -0
- data/lib/fog/oracle/models/compute/event_management_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/event_queries.rb +22 -0
- data/lib/fog/oracle/models/compute/event_query.rb +22 -0
- data/lib/fog/oracle/models/compute/event_severity.rb +10 -0
- data/lib/fog/oracle/models/compute/events.rb +22 -0
- data/lib/fog/oracle/models/compute/file_server.rb +21 -0
- data/lib/fog/oracle/models/compute/file_server_plugin.rb +21 -0
- data/lib/fog/oracle/models/compute/file_server_plugins.rb +22 -0
- data/lib/fog/oracle/models/compute/file_server_type.rb +9 -0
- data/lib/fog/oracle/models/compute/file_servers.rb +22 -0
- data/lib/fog/oracle/models/compute/file_system.rb +22 -0
- data/lib/fog/oracle/models/compute/file_system_mount.rb +15 -0
- data/lib/fog/oracle/models/compute/file_system_mounts.rb +22 -0
- data/lib/fog/oracle/models/compute/file_systems.rb +22 -0
- data/lib/fog/oracle/models/compute/hypervisor.rb +13 -0
- data/lib/fog/oracle/models/compute/hypervisor_capability.rb +12 -0
- data/lib/fog/oracle/models/compute/hypervisor_type.rb +9 -0
- data/lib/fog/oracle/models/compute/hypervisors.rb +22 -0
- data/lib/fog/oracle/models/compute/ipaddress.rb +14 -0
- data/lib/fog/oracle/models/compute/ipaddress_config_type.rb +10 -0
- data/lib/fog/oracle/models/compute/ipaddress_type.rb +9 -0
- data/lib/fog/oracle/models/compute/ipaddresses.rb +22 -0
- data/lib/fog/oracle/models/compute/job.rb +26 -0
- data/lib/fog/oracle/models/compute/job_error.rb +12 -0
- data/lib/fog/oracle/models/compute/job_error_type.rb +18 -0
- data/lib/fog/oracle/models/compute/job_errors.rb +22 -0
- data/lib/fog/oracle/models/compute/job_management_attributes.rb +12 -0
- data/lib/fog/oracle/models/compute/job_management_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/job_run_state.rb +13 -0
- data/lib/fog/oracle/models/compute/jobs.rb +22 -0
- data/lib/fog/oracle/models/compute/key_value_pair.rb +12 -0
- data/lib/fog/oracle/models/compute/key_value_pairs.rb +22 -0
- data/lib/fog/oracle/models/compute/log_level.rb +13 -0
- data/lib/fog/oracle/models/compute/logger_management_attributes.rb +14 -0
- data/lib/fog/oracle/models/compute/logger_management_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/login_certificate.rb +13 -0
- data/lib/fog/oracle/models/compute/login_certificates.rb +22 -0
- data/lib/fog/oracle/models/compute/mac_management_attributes.rb +13 -0
- data/lib/fog/oracle/models/compute/mac_management_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/manager.rb +14 -0
- data/lib/fog/oracle/models/compute/manager_run_state.rb +10 -0
- data/lib/fog/oracle/models/compute/managers.rb +22 -0
- data/lib/fog/oracle/models/compute/network.rb +17 -0
- data/lib/fog/oracle/models/compute/networks.rb +22 -0
- data/lib/fog/oracle/models/compute/order_type.rb +8 -0
- data/lib/fog/oracle/models/compute/package_signature_type.rb +9 -0
- data/lib/fog/oracle/models/compute/package_type.rb +8 -0
- data/lib/fog/oracle/models/compute/password_change.rb +13 -0
- data/lib/fog/oracle/models/compute/password_changes.rb +22 -0
- data/lib/fog/oracle/models/compute/path_state.rb +9 -0
- data/lib/fog/oracle/models/compute/periodic_task.rb +12 -0
- data/lib/fog/oracle/models/compute/periodic_tasks.rb +22 -0
- data/lib/fog/oracle/models/compute/policy_mode.rb +9 -0
- data/lib/fog/oracle/models/compute/port_state.rb +9 -0
- data/lib/fog/oracle/models/compute/port_type.rb +10 -0
- data/lib/fog/oracle/models/compute/processor_type.rb +10 -0
- data/lib/fog/oracle/models/compute/qos_value.rb +13 -0
- data/lib/fog/oracle/models/compute/qos_values.rb +22 -0
- data/lib/fog/oracle/models/compute/repositories.rb +22 -0
- data/lib/fog/oracle/models/compute/repository.rb +18 -0
- data/lib/fog/oracle/models/compute/repository_export.rb +16 -0
- data/lib/fog/oracle/models/compute/repository_export_fs_type.rb +7 -0
- data/lib/fog/oracle/models/compute/repository_exports.rb +22 -0
- data/lib/fog/oracle/models/compute/repository_import.rb +12 -0
- data/lib/fog/oracle/models/compute/repository_imports.rb +22 -0
- data/lib/fog/oracle/models/compute/resource_group.rb +12 -0
- data/lib/fog/oracle/models/compute/resource_group_type.rb +8 -0
- data/lib/fog/oracle/models/compute/resource_groups.rb +22 -0
- data/lib/fog/oracle/models/compute/role.rb +11 -0
- data/lib/fog/oracle/models/compute/server.rb +60 -0
- data/lib/fog/oracle/models/compute/server_abilities.rb +34 -0
- data/lib/fog/oracle/models/compute/server_abilitieses.rb +22 -0
- data/lib/fog/oracle/models/compute/server_controller.rb +15 -0
- data/lib/fog/oracle/models/compute/server_controller_type.rb +7 -0
- data/lib/fog/oracle/models/compute/server_controllers.rb +22 -0
- data/lib/fog/oracle/models/compute/server_event_attributes.rb +11 -0
- data/lib/fog/oracle/models/compute/server_event_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/server_pool.rb +23 -0
- data/lib/fog/oracle/models/compute/server_pool_network_policies.rb +22 -0
- data/lib/fog/oracle/models/compute/server_pool_network_policy.rb +14 -0
- data/lib/fog/oracle/models/compute/server_pool_policies.rb +22 -0
- data/lib/fog/oracle/models/compute/server_pool_policy.rb +17 -0
- data/lib/fog/oracle/models/compute/server_pools.rb +22 -0
- data/lib/fog/oracle/models/compute/server_role.rb +9 -0
- data/lib/fog/oracle/models/compute/server_run_state.rb +11 -0
- data/lib/fog/oracle/models/compute/server_update_configuration.rb +14 -0
- data/lib/fog/oracle/models/compute/server_update_configurations.rb +22 -0
- data/lib/fog/oracle/models/compute/server_update_repository_configuration.rb +16 -0
- data/lib/fog/oracle/models/compute/server_update_repository_configurations.rb +22 -0
- data/lib/fog/oracle/models/compute/server_update_repository_type.rb +8 -0
- data/lib/fog/oracle/models/compute/servers.rb +22 -0
- data/lib/fog/oracle/models/compute/session_properties.rb +11 -0
- data/lib/fog/oracle/models/compute/session_propertieses.rb +22 -0
- data/lib/fog/oracle/models/compute/statistic.rb +18 -0
- data/lib/fog/oracle/models/compute/statistic_field.rb +12 -0
- data/lib/fog/oracle/models/compute/statistic_queries.rb +22 -0
- data/lib/fog/oracle/models/compute/statistic_query.rb +18 -0
- data/lib/fog/oracle/models/compute/statistic_type.rb +18 -0
- data/lib/fog/oracle/models/compute/statistics.rb +22 -0
- data/lib/fog/oracle/models/compute/statistics_management_attributes.rb +15 -0
- data/lib/fog/oracle/models/compute/statistics_management_attributeses.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_ability.rb +23 -0
- data/lib/fog/oracle/models/compute/storage_ability_record.rb +12 -0
- data/lib/fog/oracle/models/compute/storage_ability_records.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_ability_value.rb +12 -0
- data/lib/fog/oracle/models/compute/storage_array.rb +34 -0
- data/lib/fog/oracle/models/compute/storage_array_plugin.rb +24 -0
- data/lib/fog/oracle/models/compute/storage_array_plugins.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_arrays.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_element.rb +30 -0
- data/lib/fog/oracle/models/compute/storage_element_state.rb +14 -0
- data/lib/fog/oracle/models/compute/storage_element_type.rb +11 -0
- data/lib/fog/oracle/models/compute/storage_elements.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_initiator.rb +20 -0
- data/lib/fog/oracle/models/compute/storage_initiators.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_path.rb +17 -0
- data/lib/fog/oracle/models/compute/storage_paths.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_target.rb +23 -0
- data/lib/fog/oracle/models/compute/storage_targets.rb +22 -0
- data/lib/fog/oracle/models/compute/storage_type.rb +10 -0
- data/lib/fog/oracle/models/compute/storage_use.rb +8 -0
- data/lib/fog/oracle/models/compute/string_list.rb +11 -0
- data/lib/fog/oracle/models/compute/string_lists.rb +22 -0
- data/lib/fog/oracle/models/compute/unselected_object_details.rb +12 -0
- data/lib/fog/oracle/models/compute/unselected_object_detailses.rb +22 -0
- data/lib/fog/oracle/models/compute/virtual_disk.rb +19 -0
- data/lib/fog/oracle/models/compute/virtual_disks.rb +22 -0
- data/lib/fog/oracle/models/compute/virtual_nic.rb +15 -0
- data/lib/fog/oracle/models/compute/virtual_nics.rb +22 -0
- data/lib/fog/oracle/models/compute/virtual_switch.rb +13 -0
- data/lib/fog/oracle/models/compute/virtual_switches.rb +22 -0
- data/lib/fog/oracle/models/compute/vlan_interface.rb +18 -0
- data/lib/fog/oracle/models/compute/vlan_interfaces.rb +22 -0
- data/lib/fog/oracle/models/compute/vm.rb +48 -0
- data/lib/fog/oracle/models/compute/vm_boot_type.rb +9 -0
- data/lib/fog/oracle/models/compute/vm_clone_definition.rb +13 -0
- data/lib/fog/oracle/models/compute/vm_clone_definitions.rb +22 -0
- data/lib/fog/oracle/models/compute/vm_clone_network_mapping.rb +13 -0
- data/lib/fog/oracle/models/compute/vm_clone_network_mappings.rb +22 -0
- data/lib/fog/oracle/models/compute/vm_clone_storage_mapping.rb +16 -0
- data/lib/fog/oracle/models/compute/vm_clone_storage_mappings.rb +22 -0
- data/lib/fog/oracle/models/compute/vm_disk_mapping.rb +16 -0
- data/lib/fog/oracle/models/compute/vm_disk_mappings.rb +22 -0
- data/lib/fog/oracle/models/compute/vm_domain_type.rb +11 -0
- data/lib/fog/oracle/models/compute/vm_message_type.rb +8 -0
- data/lib/fog/oracle/models/compute/vm_mouse_type.rb +10 -0
- data/lib/fog/oracle/models/compute/vm_restart_action.rb +8 -0
- data/lib/fog/oracle/models/compute/vm_run_state.rb +12 -0
- data/lib/fog/oracle/models/compute/vm_start_policy.rb +9 -0
- data/lib/fog/oracle/models/compute/vms.rb +22 -0
- data/lib/fog/oracle/models/compute/volume_group.rb +18 -0
- data/lib/fog/oracle/models/compute/volume_groups.rb +22 -0
- data/lib/fog/oracle/models/compute/ws_error_code.rb +117 -0
- data/lib/fog/oracle/models/compute/ws_error_details.rb +14 -0
- data/lib/fog/oracle/models/compute/ws_error_detailses.rb +22 -0
- data/lib/fog/oracle/models/compute/ws_exception.rb +11 -0
- data/lib/fog/oracle/models/compute/ws_exceptions.rb +22 -0
- data/lib/fog/oracle/models/compute/zone.rb +13 -0
- data/lib/fog/oracle/models/compute/zones.rb +22 -0
- data/lib/fog/oracle/models/model.rb +26 -0
- data/lib/fog/oracle/requests/compute/get_control_domain.rb +60 -0
- data/lib/fog/oracle/requests/compute/get_cpu.rb +57 -0
- data/lib/fog/oracle/requests/compute/get_cpu_compatibility_group.rb +51 -0
- data/lib/fog/oracle/requests/compute/get_ethernet_port.rb +66 -0
- data/lib/fog/oracle/requests/compute/get_file_server.rb +78 -0
- data/lib/fog/oracle/requests/compute/get_file_server_plugin.rb +129 -0
- data/lib/fog/oracle/requests/compute/get_file_system.rb +81 -0
- data/lib/fog/oracle/requests/compute/get_file_system_mount.rb +58 -0
- data/lib/fog/oracle/requests/compute/get_job.rb +62 -0
- data/lib/fog/oracle/requests/compute/get_manager.rb +47 -0
- data/lib/fog/oracle/requests/compute/get_network.rb +94 -0
- data/lib/fog/oracle/requests/compute/get_repository.rb +149 -0
- data/lib/fog/oracle/requests/compute/get_server.rb +300 -0
- data/lib/fog/oracle/requests/compute/get_server_pool.rb +98 -0
- data/lib/fog/oracle/requests/compute/get_server_pool_policy.rb +55 -0
- data/lib/fog/oracle/requests/compute/get_server_update_configuration.rb +47 -0
- data/lib/fog/oracle/requests/compute/get_storage_array.rb +79 -0
- data/lib/fog/oracle/requests/compute/get_storage_array_plugin.rb +143 -0
- data/lib/fog/oracle/requests/compute/get_storage_element.rb +83 -0
- data/lib/fog/oracle/requests/compute/get_storage_initiator.rb +71 -0
- data/lib/fog/oracle/requests/compute/get_storage_path.rb +60 -0
- data/lib/fog/oracle/requests/compute/get_virtual_disk.rb +64 -0
- data/lib/fog/oracle/requests/compute/get_virtual_nic.rb +58 -0
- data/lib/fog/oracle/requests/compute/get_virtual_switch.rb +56 -0
- data/lib/fog/oracle/requests/compute/get_vm.rb +113 -0
- data/lib/fog/oracle/requests/compute/get_vm_disk_mapping.rb +59 -0
- data/lib/fog/oracle/requests/compute/get_volume_group.rb +56 -0
- data/lib/fog/oracle/requests/compute/list_access_groups.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_affinity_groups.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_assemblies.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_assembly_virtual_disks.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_assembly_vms.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_cluster_heartbeat_devices.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_cluster_storage_fses.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_clusters.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_control_domains.rb +62 -0
- data/lib/fog/oracle/requests/compute/list_cpu_compatibility_groups.rb +53 -0
- data/lib/fog/oracle/requests/compute/list_cpus.rb +262 -0
- data/lib/fog/oracle/requests/compute/list_ethernet_ports.rb +125 -0
- data/lib/fog/oracle/requests/compute/list_file_server_plugins.rb +225 -0
- data/lib/fog/oracle/requests/compute/list_file_servers.rb +80 -0
- data/lib/fog/oracle/requests/compute/list_file_system_mounts.rb +60 -0
- data/lib/fog/oracle/requests/compute/list_file_systems.rb +83 -0
- data/lib/fog/oracle/requests/compute/list_jobs.rb +61 -0
- data/lib/fog/oracle/requests/compute/list_managers.rb +49 -0
- data/lib/fog/oracle/requests/compute/list_networks.rb +96 -0
- data/lib/fog/oracle/requests/compute/list_repositories.rb +151 -0
- data/lib/fog/oracle/requests/compute/list_repository_exports.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_resource_groups.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_server_controllers.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_server_pool_network_policies.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_server_pool_policies.rb +57 -0
- data/lib/fog/oracle/requests/compute/list_server_pools.rb +100 -0
- data/lib/fog/oracle/requests/compute/list_server_update_configurations.rb +68 -0
- data/lib/fog/oracle/requests/compute/list_server_update_repository_configurations.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_servers.rb +302 -0
- data/lib/fog/oracle/requests/compute/list_storage_array_plugins.rb +145 -0
- data/lib/fog/oracle/requests/compute/list_storage_arrays.rb +195 -0
- data/lib/fog/oracle/requests/compute/list_storage_elements.rb +133 -0
- data/lib/fog/oracle/requests/compute/list_storage_initiators.rb +103 -0
- data/lib/fog/oracle/requests/compute/list_storage_paths.rb +94 -0
- data/lib/fog/oracle/requests/compute/list_storage_targets.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_virtual_disks.rb +364 -0
- data/lib/fog/oracle/requests/compute/list_virtual_nics.rb +180 -0
- data/lib/fog/oracle/requests/compute/list_virtual_switches.rb +58 -0
- data/lib/fog/oracle/requests/compute/list_vlan_interfaces.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_vm_clone_definitions.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_vm_clone_network_mappings.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_vm_clone_storage_mappings.rb +29 -0
- data/lib/fog/oracle/requests/compute/list_vm_disk_mappings.rb +247 -0
- data/lib/fog/oracle/requests/compute/list_vms.rb +457 -0
- data/lib/fog/oracle/requests/compute/list_volume_groups.rb +127 -0
- data/lib/fog/oracle/requests/compute/list_zones.rb +29 -0
- data/lib/fog/oracle/requests/compute/login.rb +24 -0
- data/lib/fog/oracle/version.rb +5 -0
- data/tasks/bundler.rake +3 -0
- data/tasks/console.rake +12 -0
- metadata +400 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class StorageElement < BaseObject
|
7
|
+
attribute :device_names, :type => :array # of :string
|
8
|
+
attribute :extra_information, :type => :string
|
9
|
+
attribute :page83_id, :type => :string
|
10
|
+
attribute :qos, :type => :string
|
11
|
+
attribute :server_reserved, :type => :boolean
|
12
|
+
attribute :shareable, :type => :boolean
|
13
|
+
attribute :size, :type => :integer
|
14
|
+
attribute :state, :type => :string # StorageElementState
|
15
|
+
attribute :status, :type => :string
|
16
|
+
attribute :storage_target_names, :type => :array # of :string
|
17
|
+
attribute :thin_provision, :type => :boolean
|
18
|
+
attribute :type, :type => :string # StorageElementType
|
19
|
+
attribute :user_friendly_name, :type => :string
|
20
|
+
attribute :vendor, :type => :string
|
21
|
+
has_many_identities :file_system_ids, :file_systems, :all_name => :file_systems
|
22
|
+
has_many_identities :reserving_server_ids, :servers, :all_name => :reserving_servers
|
23
|
+
has_many_identities :storage_path_ids, :storage_paths, :all_name => :storage_paths
|
24
|
+
has_many_identities :vm_disk_mapping_ids, :vm_disk_mappings, :all_name => :vm_disk_mappings
|
25
|
+
has_one_identity :cluster_heartbeat_device_id, :cluster_heartbeat_devices, :details_name => :cluster_heartbeat_device
|
26
|
+
has_one_identity :volume_group_id, :volume_groups, :details_name => :volume_group
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Fog
|
2
|
+
module Oracle
|
3
|
+
module StorageElementState
|
4
|
+
UNKNOWN = 'UNKNOWN'
|
5
|
+
OFFLINE = 'OFFLINE'
|
6
|
+
BUSY_CREATE = 'BUSY_CREATE'
|
7
|
+
BUSY_CLONE = 'BUSY_CLONE'
|
8
|
+
BUSY_COPY = 'BUSY_COPY'
|
9
|
+
BUSY_CHILD = 'BUSY_CHILD'
|
10
|
+
ERROR = 'ERROR'
|
11
|
+
ONLINE = 'ONLINE'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/storage_element'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class StorageElements < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::StorageElement
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_storage_elements()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_storage_element(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class StorageInitiator < BaseObject
|
7
|
+
attribute :fibre_channel_fabric_name, :type => :string
|
8
|
+
attribute :fibre_channel_node_name, :type => :string
|
9
|
+
attribute :fibre_channel_port_id, :type => :string
|
10
|
+
attribute :fibre_channel_port_speed, :type => :string
|
11
|
+
attribute :fibre_channel_port_type, :type => :string
|
12
|
+
attribute :fibre_channel_supported_speeds, :type => :string
|
13
|
+
attribute :initiator_type, :type => :string # StorageType
|
14
|
+
has_many_identities :access_group_ids, :access_groups, :all_name => :access_groups
|
15
|
+
has_many_identities :storage_path_ids, :storage_paths, :all_name => :storage_paths
|
16
|
+
has_one_identity :server_id, :servers, :details_name => :server
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/storage_initiator'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class StorageInitiators < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::StorageInitiator
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_storage_initiators()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_storage_initiator(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class StoragePath < BaseObject
|
7
|
+
attribute :ipaddress, :type => :string
|
8
|
+
attribute :multipath_device, :type => :string
|
9
|
+
attribute :path_state, :type => :string # PathState
|
10
|
+
attribute :scsi_device_id, :type => :string
|
11
|
+
has_one_identity :storage_element_id, :storage_elements, :details_name => :storage_element
|
12
|
+
has_one_identity :storage_initiator_id, :storage_initiators, :details_name => :storage_initiator
|
13
|
+
has_one_identity :storage_target_id, :storage_targets, :details_name => :storage_target
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/storage_path'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class StoragePaths < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::StoragePath
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_storage_paths()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_storage_path(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class StorageTarget < BaseObject
|
7
|
+
attribute :fibre_channel_model, :type => :string
|
8
|
+
attribute :fibre_channel_node_name, :type => :string
|
9
|
+
attribute :fibre_channel_port_id, :type => :string
|
10
|
+
attribute :fibre_channel_port_timeout, :type => :integer
|
11
|
+
attribute :fibre_channel_queue_depth, :type => :integer
|
12
|
+
attribute :fibre_channel_queue_type, :type => :string
|
13
|
+
attribute :fibre_channel_retries, :type => :integer
|
14
|
+
attribute :fibre_channel_scsi_level, :type => :integer
|
15
|
+
attribute :fibre_channel_vendor, :type => :string
|
16
|
+
attribute :iscsi_ipaddresses, :type => :array # of :string
|
17
|
+
attribute :iscsi_target_name, :type => :string
|
18
|
+
attribute :storage_target_type, :type => :string # StorageType
|
19
|
+
has_many_identities :storage_path_ids, :storage_paths, :all_name => :storage_paths
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/storage_target'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class StorageTargets < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::StorageTarget
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_storage_targets()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_storage_target(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/string_list'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class StringLists < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::StringList
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_string_lists()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_string_list(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/unselected_object_details'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class UnselectedObjectDetailses < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::UnselectedObjectDetails
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_unselected_object_detailses()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_unselected_object_details(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class VirtualDisk < BaseObject
|
7
|
+
attribute :disk_type, :type => :string # DiskType
|
8
|
+
attribute :import_file_name, :type => :string
|
9
|
+
attribute :on_disk_size, :type => :integer
|
10
|
+
attribute :path, :type => :string
|
11
|
+
attribute :shareable, :type => :boolean
|
12
|
+
attribute :size, :type => :integer
|
13
|
+
has_many_identities :vm_disk_mapping_ids, :vm_disk_mappings, :all_name => :vm_disk_mappings
|
14
|
+
has_one_identity :assembly_virtual_disk_id, :assembly_virtual_disks, :details_name => :assembly_virtual_disk
|
15
|
+
has_one_identity :repository_id, :repositories, :details_name => :repository
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/virtual_disk'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class VirtualDisks < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::VirtualDisk
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_virtual_disks()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_virtual_disk(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class VirtualNic < BaseObject
|
7
|
+
attribute :interface_name, :type => :string
|
8
|
+
attribute :mac_address, :type => :string
|
9
|
+
has_many :ip_addresses, :ipaddresses
|
10
|
+
has_one_identity :network_id, :networks, :details_name => :network
|
11
|
+
has_one_identity :vm_id, :vms, :details_name => :vm
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/virtual_nic'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class VirtualNics < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::VirtualNic
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_virtual_nics()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_virtual_nic(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class VirtualSwitch < BaseObject
|
7
|
+
has_one_identity :ethernet_port_id, :ethernet_ports, :details_name => :ethernet_port
|
8
|
+
has_one_identity :network_id, :networks, :details_name => :network
|
9
|
+
has_one_identity :vlan_interface_id, :vlan_interfaces, :details_name => :vlan_interface
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'fog/oracle/models/collection'
|
2
|
+
require 'fog/oracle/models/compute/virtual_switch'
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
class Oracle
|
7
|
+
class VirtualSwitches < Fog::Oracle::Collection
|
8
|
+
model Fog::Compute::Oracle::VirtualSwitch
|
9
|
+
|
10
|
+
def all()
|
11
|
+
data = service.list_virtual_switches()
|
12
|
+
load_response(data)
|
13
|
+
end
|
14
|
+
|
15
|
+
def get(id)
|
16
|
+
data = service.get_virtual_switch(id_value(id))
|
17
|
+
new_from_response(data)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'fog/oracle/models/compute/base_object'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class Oracle
|
6
|
+
class VlanInterface < BaseObject
|
7
|
+
attribute :interface_name, :type => :string
|
8
|
+
attribute :mac_address, :type => :string
|
9
|
+
attribute :mtu, :type => :integer
|
10
|
+
attribute :vlan_id, :type => :integer
|
11
|
+
has_many :addresses, :ipaddresses
|
12
|
+
has_one_identity :network_id, :networks, :details_name => :network
|
13
|
+
has_one_identity :port_id, :ethernet_ports, :details_name => :port
|
14
|
+
has_one_identity :virtual_switch_id, :virtual_switches, :details_name => :virtual_switch
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|