vipruby 0.1.7 → 0.1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardoc/checksums +14 -4
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/{LICENSE.txt → LICENSE} +2 -2
- data/README.md +94 -12
- data/doc/Vipr.html +139 -29
- data/doc/ViprAutoTier.html +426 -0
- data/doc/ViprBase.html +1 -1
- data/doc/ViprBlockVirtualPool.html +859 -0
- data/doc/ViprFileVirtualPool.html +859 -0
- data/doc/ViprHost.html +1 -1
- data/doc/ViprServiceCatalog.html +800 -0
- data/doc/ViprStoragePool.html +664 -0
- data/doc/ViprStoragePort.html +664 -0
- data/doc/ViprStorageSystem.html +2588 -805
- data/doc/ViprStorageTier.html +323 -0
- data/doc/ViprTenant.html +529 -0
- data/doc/ViprVcenter.html +1 -1
- data/doc/ViprVirtualArray.html +1230 -0
- data/doc/ViprVirtualDataCenter.html +407 -0
- data/doc/Vipruby.html +2 -2
- data/doc/_index.html +51 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +71 -26
- data/doc/index.html +71 -26
- data/doc/method_list.html +438 -12
- data/doc/top-level-namespace.html +2 -2
- data/lib/doc/_index.html +88 -0
- data/lib/doc/class_list.html +58 -0
- data/lib/doc/css/common.css +1 -0
- data/lib/doc/css/full_list.css +57 -0
- data/lib/doc/css/style.css +339 -0
- data/lib/doc/file_list.html +57 -0
- data/lib/doc/frames.html +26 -0
- data/lib/doc/index.html +88 -0
- data/lib/doc/js/app.js +219 -0
- data/lib/doc/js/full_list.js +181 -0
- data/lib/doc/js/jquery.js +4 -0
- data/lib/doc/method_list.html +57 -0
- data/lib/doc/top-level-namespace.html +102 -0
- data/lib/vipruby.rb +1 -5
- data/lib/vipruby/objects/autotier.rb +30 -0
- data/lib/vipruby/objects/blockvirtualpool.rb +74 -0
- data/lib/vipruby/objects/filevirtualpool.rb +74 -0
- data/lib/vipruby/objects/servicecatalog.rb +81 -0
- data/lib/vipruby/objects/storagepool.rb +80 -0
- data/lib/vipruby/objects/storageport.rb +62 -0
- data/lib/vipruby/objects/storagesystem.rb +169 -0
- data/lib/vipruby/objects/storagetier.rb +21 -0
- data/lib/vipruby/objects/tenant.rb +39 -0
- data/lib/vipruby/objects/virtualarray.rb +100 -0
- data/lib/vipruby/objects/virtualdatacenter.rb +28 -0
- data/lib/vipruby/version.rb +1 -1
- data/lib/vipruby/vipr.rb +25 -5
- data/vipruby.gemspec +2 -2
- metadata +39 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aceb6a2cb74a707f935c182737ba47a768f2449e
|
4
|
+
data.tar.gz: 2a4c8d977e18298f1bbd3038d7c1027fdb906d5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8b33829f276ef34c8edbed5aadbe4a7f41721eb851c241060b973a8143f5fba41b8f1142e669fb98facc00d3e39662cefc38971806b8d6deea9d0d85ca2ca54
|
7
|
+
data.tar.gz: 66383a2d823f6d4e59dfcaef90aec03b9c85d406f79c409e4a9275e479c166852fc3212f2efb5b1d3bdf62b0a957828235b400239c90ae6d67f174f69787c40c
|
data/.yardoc/checksums
CHANGED
@@ -1,7 +1,17 @@
|
|
1
|
-
lib/vipruby.rb
|
2
|
-
lib/vipruby/vipr.rb
|
3
|
-
lib/vipruby/version.rb
|
1
|
+
lib/vipruby.rb 1bf3a09668b40cb088b266809314db98a264a17d
|
2
|
+
lib/vipruby/vipr.rb 06af2130834f9415802f837b78d024230c6df701
|
3
|
+
lib/vipruby/version.rb 27780327f13b1b6c91e1254e66eb335c50d90f4f
|
4
4
|
lib/vipruby/viprbase.rb 5348c87ee280395164e455ac2dad30e23239babf
|
5
5
|
lib/vipruby/objects/host.rb 3b3d0b5cb4875013b0570c4d96ec5d0a5aaaca98
|
6
|
+
lib/vipruby/objects/tenant.rb 7cd3ff46d3642debb445787ed11128002ce0c5ff
|
6
7
|
lib/vipruby/objects/vcenter.rb 4959dda48861e6de9f9fe162f6a9efda9c6956e8
|
7
|
-
lib/vipruby/objects/
|
8
|
+
lib/vipruby/objects/autotier.rb 1c57d4439927afae5cf4686fe71b1db1b58ecffb
|
9
|
+
lib/vipruby/objects/storagetier.rb 5f772f62cda7163993477f50d7875c5aa6fde5bc
|
10
|
+
lib/vipruby/objects/storageport.rb 69d2b482ec5ee607732c45960a3e89b8443d6c59
|
11
|
+
lib/vipruby/objects/storagepool.rb e2906160709fdbbe3e4d7fad83ab4189cf3fbddb
|
12
|
+
lib/vipruby/objects/virtualarray.rb 6941d8d5ee0c769d825d7e32a12369088b60ccab
|
13
|
+
lib/vipruby/objects/storagesystem.rb 4d4312947354309725bee7288cf017f6a055c13e
|
14
|
+
lib/vipruby/objects/servicecatalog.rb 68fb16c78e147fcd8e9c00acaf397c77abafa238
|
15
|
+
lib/vipruby/objects/filevirtualpool.rb dd7654fda2673d5f5479cd245c94b41fcfa27b67
|
16
|
+
lib/vipruby/objects/blockvirtualpool.rb a5f9f9d9dc55e0efa500c618e953c6f06fc29510
|
17
|
+
lib/vipruby/objects/virtualdatacenter.rb b28ea87aeca2397bf8a7b56124d5f1d80acda3e6
|
data/.yardoc/object_types
CHANGED
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/{LICENSE.txt → LICENSE}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2015, EMC Corporation
|
2
2
|
|
3
3
|
MIT License
|
4
4
|
|
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
19
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
20
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
21
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
[](http://badge.fury.io/rb/vipruby)
|
2
2
|
|
3
3
|
# ViPRuby
|
4
|
-
### A Ruby library for EMCs ViPR
|
4
|
+
### A Ruby library for EMCs ViPR Controller (ViPR-C) REST API
|
5
5
|
------
|
6
6
|
|
7
7
|
## How to use:
|
@@ -23,27 +23,109 @@ vipr = Vipr.new(base_url,user_name,password,verify_cert)
|
|
23
23
|
```
|
24
24
|
|
25
25
|
### Methods Exist for:
|
26
|
-
1.
|
26
|
+
1. vCenters
|
27
27
|
* Add vCenters (to root or specific tenant)
|
28
28
|
* Remove vCenters
|
29
|
-
* Get vCenter
|
29
|
+
* Get vCenter
|
30
30
|
2. Hosts
|
31
31
|
* Add Hosts
|
32
32
|
* Add Host Initators
|
33
33
|
* Remove Hosts
|
34
|
-
* Get Host
|
34
|
+
* Get Host
|
35
35
|
3. Storage Systems
|
36
|
-
*
|
36
|
+
* Get All Storage Systems
|
37
|
+
* Get Single Storage System
|
38
|
+
* Register Single Storage System
|
39
|
+
* Deregister Single Storage System
|
40
|
+
* Activate Single Storage System
|
41
|
+
* Deactivate Single Storage System
|
42
|
+
* Refresh Single Storage System
|
43
|
+
* Get Single Storage System Storage Pools
|
44
|
+
* Get Single Storage System Storage Ports
|
45
|
+
* Get Single Storage System Auto Tier Policy
|
46
|
+
* Get Single Storage System Unmanaged Volumes
|
47
|
+
* Get Single Storage System Unmanaged Filesystems
|
48
|
+
* Get All Storage Providers
|
49
|
+
* Get Single Storage Provider
|
50
|
+
* Get Single Storage Provider Storage Systems
|
51
|
+
* Get Single Storage Provider Single Storage System
|
52
|
+
* Get Single Storage Provider Tasks
|
53
|
+
* Add EMC VNX/VMAX Block, EMC VNX File, Isilon, ScaleIO, VPLEX, NetApp, Hitachi, and other 3rd Party Block Storage Arrays
|
54
|
+
4. Tenants
|
55
|
+
* Get All Tenants
|
56
|
+
* Get One Tenant
|
57
|
+
* Get Subtenants of One Tenant
|
58
|
+
* Get Projects of One Tenant
|
59
|
+
5. Service Catalog
|
60
|
+
* Get Root Service Catalog
|
61
|
+
* Get Categories of a Catalog
|
62
|
+
* Get Services of a Category of a Catalog
|
63
|
+
* Order A Service
|
64
|
+
6. Auto Tier Policies
|
65
|
+
* Get All Auto Tier Policies
|
66
|
+
* Get Single Auto Tier Policy
|
67
|
+
* Get All Storage Tiers of Auto Tier Policy
|
68
|
+
7. Block Virtual Pools
|
69
|
+
* Get All Virtual Block Pools
|
70
|
+
* Get Single Virtual Block Pool
|
71
|
+
* Get Single Virtual Block Pool ACL
|
72
|
+
* Get Single Virtual Block Pool Storage Pools
|
73
|
+
* Refresh Matched Pools of Single Virtual Block Pool
|
74
|
+
* Deactivate a Single Virtual Block Pool
|
75
|
+
8. File Virtual Pools
|
76
|
+
* Get All Virtual File Pools
|
77
|
+
* Get Single Virtual File Pool
|
78
|
+
* Get Single Virtual File Pool ACL
|
79
|
+
* Get Single Virtual File Pool Storage Pools
|
80
|
+
* Refresh Matched Pools of Single Virtual File Pool
|
81
|
+
* Deactivate a Single Virtual File Pool
|
82
|
+
9. Storage Pools
|
83
|
+
* Get All Storage Pools
|
84
|
+
* Get Single Storage Pool
|
85
|
+
* Get Single Storage Pool Storage Tiers
|
86
|
+
* Get Single Storage Pool Resources
|
87
|
+
* Deactivate a Single Storage Pool
|
88
|
+
* Deregister a Single Storage Pool
|
89
|
+
10. Storage Ports
|
90
|
+
* Get All Storage Ports
|
91
|
+
* Get Single Storage Port
|
92
|
+
* Deactivate a Single Storage Port
|
93
|
+
* Deregister a Single Storage Port
|
94
|
+
11. Storage Tiers
|
95
|
+
* Get All Storage Tiers
|
96
|
+
* Get Single Storage Tier
|
97
|
+
12. Virtual Arrays
|
98
|
+
* Get All Virtual Arrays
|
99
|
+
* Get Single Virtual Array
|
100
|
+
* Get Single Virtual Array Auto Tier Policy
|
101
|
+
* Get Single Virtual Array Storage Pools
|
102
|
+
* Get Single Virtual Array Storage Ports
|
103
|
+
* Get Single Virtual Array Virtual Pools
|
104
|
+
* Get Single Virtual Array Networks
|
105
|
+
* Get Single Virtual Array ACL
|
106
|
+
* Get Single Virtual Array Connectivity
|
107
|
+
* Get Single Virtual Array Attributes
|
108
|
+
13. Virtual Data Center
|
109
|
+
* Get All Virtual Data Centers
|
110
|
+
* Get Single Virtual Data Center
|
111
|
+
* Get Virtual Data Centers Secret Key
|
37
112
|
|
38
|
-
|
113
|
+
#### See the [Gem Documentation](http://rubygems.org/gems/vipruby) for all methods and examples
|
39
114
|
|
40
|
-
##
|
115
|
+
## To Do:
|
116
|
+
* Add more methods for more controller specific actions
|
41
117
|
|
42
|
-
|
118
|
+
## Contribute
|
119
|
+
We are actively looking for contributors to this project. This can involve any number of area.
|
120
|
+
* Documentation
|
121
|
+
* More Controller Methods
|
122
|
+
* Refine the current methods
|
123
|
+
* Unit Tests, well, any testing at all!
|
43
124
|
|
44
|
-
|
125
|
+
Fork it, Send a Pull Request, We'll Merge It
|
45
126
|
|
127
|
+
## Licensing
|
128
|
+
ViPRuby is freely distributed under the [MIT License](http://opensource.org/licenses/MIT). See LICENSE for details.
|
46
129
|
|
47
|
-
##
|
48
|
-
|
49
|
-
* Add methods for blob specific actions
|
130
|
+
##Support
|
131
|
+
Please file bugs and issues at the [Github issues page](https://github.com/emccode/Vipruby/issues). For more general discussions you can contact the EMC Code team at [Google Groups](https://groups.google.com/forum/#!forum/emccode-users "EMC Code Users") or tagged with *EMC* on [StackOverflow.com](https://stackoverflow.com/). The code and documentation are released with no warranties or SLAs and are intended to be supported through a community driven process.
|
data/doc/Vipr.html
CHANGED
@@ -91,7 +91,7 @@
|
|
91
91
|
|
92
92
|
|
93
93
|
<dt class="r2">Includes:</dt>
|
94
|
-
<dd class="r2"><span class='object_link'><a href="ViprBase.html" title="ViprBase (module)">ViprBase</a></span>, <span class='object_link'><a href="ViprHost.html" title="ViprHost (module)">ViprHost</a></span>, <span class='object_link'><a href="ViprStorageSystem.html" title="ViprStorageSystem (module)">ViprStorageSystem</a></span>, <span class='object_link'><a href="ViprVcenter.html" title="ViprVcenter (module)">ViprVcenter</a></span></dd>
|
94
|
+
<dd class="r2"><span class='object_link'><a href="ViprAutoTier.html" title="ViprAutoTier (module)">ViprAutoTier</a></span>, <span class='object_link'><a href="ViprBase.html" title="ViprBase (module)">ViprBase</a></span>, <span class='object_link'><a href="ViprBlockVirtualPool.html" title="ViprBlockVirtualPool (module)">ViprBlockVirtualPool</a></span>, <span class='object_link'><a href="ViprFileVirtualPool.html" title="ViprFileVirtualPool (module)">ViprFileVirtualPool</a></span>, <span class='object_link'><a href="ViprHost.html" title="ViprHost (module)">ViprHost</a></span>, <span class='object_link'><a href="ViprServiceCatalog.html" title="ViprServiceCatalog (module)">ViprServiceCatalog</a></span>, <span class='object_link'><a href="ViprStoragePool.html" title="ViprStoragePool (module)">ViprStoragePool</a></span>, <span class='object_link'><a href="ViprStoragePort.html" title="ViprStoragePort (module)">ViprStoragePort</a></span>, <span class='object_link'><a href="ViprStorageSystem.html" title="ViprStorageSystem (module)">ViprStorageSystem</a></span>, <span class='object_link'><a href="ViprStorageTier.html" title="ViprStorageTier (module)">ViprStorageTier</a></span>, <span class='object_link'><a href="ViprTenant.html" title="ViprTenant (module)">ViprTenant</a></span>, <span class='object_link'><a href="ViprVcenter.html" title="ViprVcenter (module)">ViprVcenter</a></span>, <span class='object_link'><a href="ViprVirtualArray.html" title="ViprVirtualArray (module)">ViprVirtualArray</a></span>, <span class='object_link'><a href="ViprVirtualDataCenter.html" title="ViprVirtualDataCenter (module)">ViprVirtualDataCenter</a></span></dd>
|
95
95
|
|
96
96
|
|
97
97
|
|
@@ -281,8 +281,8 @@ object from this class</p>
|
|
281
281
|
|
282
282
|
|
283
283
|
|
284
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="
|
285
|
-
<p class="inherited"><span class='object_link'><a href="
|
284
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprVirtualDataCenter.html" title="ViprVirtualDataCenter (module)">ViprVirtualDataCenter</a></span></h3>
|
285
|
+
<p class="inherited"><span class='object_link'><a href="ViprVirtualDataCenter.html#get_vdc-instance_method" title="ViprVirtualDataCenter#get_vdc (method)">#get_vdc</a></span>, <span class='object_link'><a href="ViprVirtualDataCenter.html#get_vdc_secretkey-instance_method" title="ViprVirtualDataCenter#get_vdc_secretkey (method)">#get_vdc_secretkey</a></span>, <span class='object_link'><a href="ViprVirtualDataCenter.html#get_vdcs-instance_method" title="ViprVirtualDataCenter#get_vdcs (method)">#get_vdcs</a></span></p>
|
286
286
|
|
287
287
|
|
288
288
|
|
@@ -292,8 +292,8 @@ object from this class</p>
|
|
292
292
|
|
293
293
|
|
294
294
|
|
295
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="
|
296
|
-
<p class="inherited"><span class='object_link'><a href="
|
295
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprVirtualArray.html" title="ViprVirtualArray (module)">ViprVirtualArray</a></span></h3>
|
296
|
+
<p class="inherited"><span class='object_link'><a href="ViprVirtualArray.html#get_varray-instance_method" title="ViprVirtualArray#get_varray (method)">#get_varray</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_acl-instance_method" title="ViprVirtualArray#get_varray_acl (method)">#get_varray_acl</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_attributes-instance_method" title="ViprVirtualArray#get_varray_attributes (method)">#get_varray_attributes</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_autotier_policy-instance_method" title="ViprVirtualArray#get_varray_autotier_policy (method)">#get_varray_autotier_policy</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_connectivity-instance_method" title="ViprVirtualArray#get_varray_connectivity (method)">#get_varray_connectivity</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_networks-instance_method" title="ViprVirtualArray#get_varray_networks (method)">#get_varray_networks</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_storage_pools-instance_method" title="ViprVirtualArray#get_varray_storage_pools (method)">#get_varray_storage_pools</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_storage_ports-instance_method" title="ViprVirtualArray#get_varray_storage_ports (method)">#get_varray_storage_ports</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varray_virtual_pools-instance_method" title="ViprVirtualArray#get_varray_virtual_pools (method)">#get_varray_virtual_pools</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#get_varrays-instance_method" title="ViprVirtualArray#get_varrays (method)">#get_varrays</a></span>, <span class='object_link'><a href="ViprVirtualArray.html#search_varrays-instance_method" title="ViprVirtualArray#search_varrays (method)">#search_varrays</a></span></p>
|
297
297
|
|
298
298
|
|
299
299
|
|
@@ -314,6 +314,116 @@ object from this class</p>
|
|
314
314
|
|
315
315
|
|
316
316
|
|
317
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprTenant.html" title="ViprTenant (module)">ViprTenant</a></span></h3>
|
318
|
+
<p class="inherited"><span class='object_link'><a href="ViprTenant.html#get_subtenants-instance_method" title="ViprTenant#get_subtenants (method)">#get_subtenants</a></span>, <span class='object_link'><a href="ViprTenant.html#get_tenant-instance_method" title="ViprTenant#get_tenant (method)">#get_tenant</a></span>, <span class='object_link'><a href="ViprTenant.html#get_tenant_projects-instance_method" title="ViprTenant#get_tenant_projects (method)">#get_tenant_projects</a></span>, <span class='object_link'><a href="ViprTenant.html#get_tenants-instance_method" title="ViprTenant#get_tenants (method)">#get_tenants</a></span></p>
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprStorageTier.html" title="ViprStorageTier (module)">ViprStorageTier</a></span></h3>
|
329
|
+
<p class="inherited"><span class='object_link'><a href="ViprStorageTier.html#get_storage_tier-instance_method" title="ViprStorageTier#get_storage_tier (method)">#get_storage_tier</a></span>, <span class='object_link'><a href="ViprStorageTier.html#get_storage_tiers-instance_method" title="ViprStorageTier#get_storage_tiers (method)">#get_storage_tiers</a></span></p>
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprStorageSystem.html" title="ViprStorageSystem (module)">ViprStorageSystem</a></span></h3>
|
340
|
+
<p class="inherited"><span class='object_link'><a href="ViprStorageSystem.html#add_emc_block-instance_method" title="ViprStorageSystem#add_emc_block (method)">#add_emc_block</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#add_emc_file-instance_method" title="ViprStorageSystem#add_emc_file (method)">#add_emc_file</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#add_hitachi-instance_method" title="ViprStorageSystem#add_hitachi (method)">#add_hitachi</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#add_isilon-instance_method" title="ViprStorageSystem#add_isilon (method)">#add_isilon</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#add_netapp-instance_method" title="ViprStorageSystem#add_netapp (method)">#add_netapp</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#add_scaleio-instance_method" title="ViprStorageSystem#add_scaleio (method)">#add_scaleio</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#add_third_party_block-instance_method" title="ViprStorageSystem#add_third_party_block (method)">#add_third_party_block</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#add_vplex-instance_method" title="ViprStorageSystem#add_vplex (method)">#add_vplex</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#check_storage_provider_payload-instance_method" title="ViprStorageSystem#check_storage_provider_payload (method)">#check_storage_provider_payload</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#check_storage_system_id_post-instance_method" title="ViprStorageSystem#check_storage_system_id_post (method)">#check_storage_system_id_post</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_provider-instance_method" title="ViprStorageSystem#get_storage_provider (method)">#get_storage_provider</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_provider_storage_system-instance_method" title="ViprStorageSystem#get_storage_provider_storage_system (method)">#get_storage_provider_storage_system</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_provider_storage_systems-instance_method" title="ViprStorageSystem#get_storage_provider_storage_systems (method)">#get_storage_provider_storage_systems</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_provider_tasks-instance_method" title="ViprStorageSystem#get_storage_provider_tasks (method)">#get_storage_provider_tasks</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_providers-instance_method" title="ViprStorageSystem#get_storage_providers (method)">#get_storage_providers</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_system-instance_method" title="ViprStorageSystem#get_storage_system (method)">#get_storage_system</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_system_auto_tier_policy-instance_method" title="ViprStorageSystem#get_storage_system_auto_tier_policy (method)">#get_storage_system_auto_tier_policy</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_system_storage_pools-instance_method" title="ViprStorageSystem#get_storage_system_storage_pools (method)">#get_storage_system_storage_pools</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_system_storage_ports-instance_method" title="ViprStorageSystem#get_storage_system_storage_ports (method)">#get_storage_system_storage_ports</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_system_unmanaged_filesystems-instance_method" title="ViprStorageSystem#get_storage_system_unmanaged_filesystems (method)">#get_storage_system_unmanaged_filesystems</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_system_unmanaged_volumes-instance_method" title="ViprStorageSystem#get_storage_system_unmanaged_volumes (method)">#get_storage_system_unmanaged_volumes</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#get_storage_systems-instance_method" title="ViprStorageSystem#get_storage_systems (method)">#get_storage_systems</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#storage_provider_payload-instance_method" title="ViprStorageSystem#storage_provider_payload (method)">#storage_provider_payload</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#storage_system_deactivate-instance_method" title="ViprStorageSystem#storage_system_deactivate (method)">#storage_system_deactivate</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#storage_system_deregister-instance_method" title="ViprStorageSystem#storage_system_deregister (method)">#storage_system_deregister</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#storage_system_discover-instance_method" title="ViprStorageSystem#storage_system_discover (method)">#storage_system_discover</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#storage_system_payload-instance_method" title="ViprStorageSystem#storage_system_payload (method)">#storage_system_payload</a></span>, <span class='object_link'><a href="ViprStorageSystem.html#storage_system_register-instance_method" title="ViprStorageSystem#storage_system_register (method)">#storage_system_register</a></span></p>
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprStoragePort.html" title="ViprStoragePort (module)">ViprStoragePort</a></span></h3>
|
351
|
+
<p class="inherited"><span class='object_link'><a href="ViprStoragePort.html#check_storage_port_id_post-instance_method" title="ViprStoragePort#check_storage_port_id_post (method)">#check_storage_port_id_post</a></span>, <span class='object_link'><a href="ViprStoragePort.html#get_storage_port-instance_method" title="ViprStoragePort#get_storage_port (method)">#get_storage_port</a></span>, <span class='object_link'><a href="ViprStoragePort.html#get_storage_ports-instance_method" title="ViprStoragePort#get_storage_ports (method)">#get_storage_ports</a></span>, <span class='object_link'><a href="ViprStoragePort.html#storage_port_deactivate-instance_method" title="ViprStoragePort#storage_port_deactivate (method)">#storage_port_deactivate</a></span>, <span class='object_link'><a href="ViprStoragePort.html#storage_port_deregister-instance_method" title="ViprStoragePort#storage_port_deregister (method)">#storage_port_deregister</a></span></p>
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprStoragePool.html" title="ViprStoragePool (module)">ViprStoragePool</a></span></h3>
|
362
|
+
<p class="inherited"><span class='object_link'><a href="ViprStoragePool.html#check_storage_pool_id_post-instance_method" title="ViprStoragePool#check_storage_pool_id_post (method)">#check_storage_pool_id_post</a></span>, <span class='object_link'><a href="ViprStoragePool.html#get_storage_pool-instance_method" title="ViprStoragePool#get_storage_pool (method)">#get_storage_pool</a></span>, <span class='object_link'><a href="ViprStoragePool.html#get_storage_pools-instance_method" title="ViprStoragePool#get_storage_pools (method)">#get_storage_pools</a></span>, <span class='object_link'><a href="ViprStoragePool.html#storage_pool_deactivate-instance_method" title="ViprStoragePool#storage_pool_deactivate (method)">#storage_pool_deactivate</a></span>, <span class='object_link'><a href="ViprStoragePool.html#storage_pool_deregister-instance_method" title="ViprStoragePool#storage_pool_deregister (method)">#storage_pool_deregister</a></span></p>
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprServiceCatalog.html" title="ViprServiceCatalog (module)">ViprServiceCatalog</a></span></h3>
|
373
|
+
<p class="inherited"><span class='object_link'><a href="ViprServiceCatalog.html#get_all_sc_services-instance_method" title="ViprServiceCatalog#get_all_sc_services (method)">#get_all_sc_services</a></span>, <span class='object_link'><a href="ViprServiceCatalog.html#get_sc_category_categories-instance_method" title="ViprServiceCatalog#get_sc_category_categories (method)">#get_sc_category_categories</a></span>, <span class='object_link'><a href="ViprServiceCatalog.html#get_sc_category_categories_services-instance_method" title="ViprServiceCatalog#get_sc_category_categories_services (method)">#get_sc_category_categories_services</a></span>, <span class='object_link'><a href="ViprServiceCatalog.html#get_sc_category_root-instance_method" title="ViprServiceCatalog#get_sc_category_root (method)">#get_sc_category_root</a></span>, <span class='object_link'><a href="ViprServiceCatalog.html#get_sc_service-instance_method" title="ViprServiceCatalog#get_sc_service (method)">#get_sc_service</a></span>, <span class='object_link'><a href="ViprServiceCatalog.html#order_service-instance_method" title="ViprServiceCatalog#order_service (method)">#order_service</a></span>, <span class='object_link'><a href="ViprServiceCatalog.html#post_order_service-instance_method" title="ViprServiceCatalog#post_order_service (method)">#post_order_service</a></span></p>
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprHost.html" title="ViprHost (module)">ViprHost</a></span></h3>
|
384
|
+
<p class="inherited"><span class='object_link'><a href="ViprHost.html#add_host-instance_method" title="ViprHost#add_host (method)">#add_host</a></span>, <span class='object_link'><a href="ViprHost.html#add_host_initiator-instance_method" title="ViprHost#add_host_initiator (method)">#add_host_initiator</a></span>, <span class='object_link'><a href="ViprHost.html#check_host_get-instance_method" title="ViprHost#check_host_get (method)">#check_host_get</a></span>, <span class='object_link'><a href="ViprHost.html#check_host_post-instance_method" title="ViprHost#check_host_post (method)">#check_host_post</a></span>, <span class='object_link'><a href="ViprHost.html#check_host_post_initiator-instance_method" title="ViprHost#check_host_post_initiator (method)">#check_host_post_initiator</a></span>, <span class='object_link'><a href="ViprHost.html#deactivate_host-instance_method" title="ViprHost#deactivate_host (method)">#deactivate_host</a></span>, <span class='object_link'><a href="ViprHost.html#find_host_object-instance_method" title="ViprHost#find_host_object (method)">#find_host_object</a></span>, <span class='object_link'><a href="ViprHost.html#generate_host_post_json-instance_method" title="ViprHost#generate_host_post_json (method)">#generate_host_post_json</a></span>, <span class='object_link'><a href="ViprHost.html#generate_initiators_json-instance_method" title="ViprHost#generate_initiators_json (method)">#generate_initiators_json</a></span>, <span class='object_link'><a href="ViprHost.html#get_all_hosts-instance_method" title="ViprHost#get_all_hosts (method)">#get_all_hosts</a></span>, <span class='object_link'><a href="ViprHost.html#get_host-instance_method" title="ViprHost#get_host (method)">#get_host</a></span>, <span class='object_link'><a href="ViprHost.html#host_exists%3F-instance_method" title="ViprHost#host_exists? (method)">#host_exists?</a></span></p>
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprFileVirtualPool.html" title="ViprFileVirtualPool (module)">ViprFileVirtualPool</a></span></h3>
|
395
|
+
<p class="inherited"><span class='object_link'><a href="ViprFileVirtualPool.html#check_file_vpool_id_post-instance_method" title="ViprFileVirtualPool#check_file_vpool_id_post (method)">#check_file_vpool_id_post</a></span>, <span class='object_link'><a href="ViprFileVirtualPool.html#file_vpool_deactivate-instance_method" title="ViprFileVirtualPool#file_vpool_deactivate (method)">#file_vpool_deactivate</a></span>, <span class='object_link'><a href="ViprFileVirtualPool.html#get_file_vpool-instance_method" title="ViprFileVirtualPool#get_file_vpool (method)">#get_file_vpool</a></span>, <span class='object_link'><a href="ViprFileVirtualPool.html#get_file_vpool_acl-instance_method" title="ViprFileVirtualPool#get_file_vpool_acl (method)">#get_file_vpool_acl</a></span>, <span class='object_link'><a href="ViprFileVirtualPool.html#get_file_vpool_refresh_matched_pools-instance_method" title="ViprFileVirtualPool#get_file_vpool_refresh_matched_pools (method)">#get_file_vpool_refresh_matched_pools</a></span>, <span class='object_link'><a href="ViprFileVirtualPool.html#get_file_vpool_storage_pools-instance_method" title="ViprFileVirtualPool#get_file_vpool_storage_pools (method)">#get_file_vpool_storage_pools</a></span>, <span class='object_link'><a href="ViprFileVirtualPool.html#get_file_vpools-instance_method" title="ViprFileVirtualPool#get_file_vpools (method)">#get_file_vpools</a></span></p>
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprBlockVirtualPool.html" title="ViprBlockVirtualPool (module)">ViprBlockVirtualPool</a></span></h3>
|
406
|
+
<p class="inherited"><span class='object_link'><a href="ViprBlockVirtualPool.html#block_vpool_deactivate-instance_method" title="ViprBlockVirtualPool#block_vpool_deactivate (method)">#block_vpool_deactivate</a></span>, <span class='object_link'><a href="ViprBlockVirtualPool.html#check_block_vpool_id_post-instance_method" title="ViprBlockVirtualPool#check_block_vpool_id_post (method)">#check_block_vpool_id_post</a></span>, <span class='object_link'><a href="ViprBlockVirtualPool.html#get_block_vpool-instance_method" title="ViprBlockVirtualPool#get_block_vpool (method)">#get_block_vpool</a></span>, <span class='object_link'><a href="ViprBlockVirtualPool.html#get_block_vpool_acl-instance_method" title="ViprBlockVirtualPool#get_block_vpool_acl (method)">#get_block_vpool_acl</a></span>, <span class='object_link'><a href="ViprBlockVirtualPool.html#get_block_vpool_refresh_matched_pools-instance_method" title="ViprBlockVirtualPool#get_block_vpool_refresh_matched_pools (method)">#get_block_vpool_refresh_matched_pools</a></span>, <span class='object_link'><a href="ViprBlockVirtualPool.html#get_block_vpool_storage_pools-instance_method" title="ViprBlockVirtualPool#get_block_vpool_storage_pools (method)">#get_block_vpool_storage_pools</a></span>, <span class='object_link'><a href="ViprBlockVirtualPool.html#get_block_vpools-instance_method" title="ViprBlockVirtualPool#get_block_vpools (method)">#get_block_vpools</a></span></p>
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprAutoTier.html" title="ViprAutoTier (module)">ViprAutoTier</a></span></h3>
|
417
|
+
<p class="inherited"><span class='object_link'><a href="ViprAutoTier.html#get_auto_tier_policies-instance_method" title="ViprAutoTier#get_auto_tier_policies (method)">#get_auto_tier_policies</a></span>, <span class='object_link'><a href="ViprAutoTier.html#get_auto_tier_policy-instance_method" title="ViprAutoTier#get_auto_tier_policy (method)">#get_auto_tier_policy</a></span>, <span class='object_link'><a href="ViprAutoTier.html#get_auto_tier_policy_storage_tiers-instance_method" title="ViprAutoTier#get_auto_tier_policy_storage_tiers (method)">#get_auto_tier_policy_storage_tiers</a></span></p>
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
317
427
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="ViprBase.html" title="ViprBase (module)">ViprBase</a></span></h3>
|
318
428
|
<p class="inherited"><span class='object_link'><a href="ViprBase.html#generate_base_url-instance_method" title="ViprBase#generate_base_url (method)">#generate_base_url</a></span>, <span class='object_link'><a href="ViprBase.html#get_auth_token-instance_method" title="ViprBase#get_auth_token (method)">#get_auth_token</a></span>, <span class='object_link'><a href="ViprBase.html#get_tenant_uid-instance_method" title="ViprBase#get_tenant_uid (method)">#get_tenant_uid</a></span>, <span class='object_link'><a href="ViprBase.html#login-instance_method" title="ViprBase#login (method)">#login</a></span>, <span class='object_link'><a href="ViprBase.html#rest_get-instance_method" title="ViprBase#rest_get (method)">#rest_get</a></span>, <span class='object_link'><a href="ViprBase.html#rest_post-instance_method" title="ViprBase#rest_post (method)">#rest_post</a></span>, <span class='object_link'><a href="ViprBase.html#to_boolean-instance_method" title="ViprBase#to_boolean (method)">#to_boolean</a></span></p>
|
319
429
|
<div id="constructor_details" class="method_details_list">
|
@@ -443,15 +553,15 @@ development purposes. Should be set to true for production</p>
|
|
443
553
|
<pre class="lines">
|
444
554
|
|
445
555
|
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
556
|
+
58
|
557
|
+
59
|
558
|
+
60
|
559
|
+
61
|
560
|
+
62
|
561
|
+
63</pre>
|
452
562
|
</td>
|
453
563
|
<td>
|
454
|
-
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line
|
564
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line 58</span>
|
455
565
|
|
456
566
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_base_url'>base_url</span><span class='comma'>,</span><span class='id identifier rubyid_user_name'>user_name</span><span class='comma'>,</span><span class='id identifier rubyid_password'>password</span><span class='comma'>,</span><span class='id identifier rubyid_verify_cert'>verify_cert</span><span class='rparen'>)</span>
|
457
567
|
<span class='ivar'>@base_url</span> <span class='op'>=</span> <span class='id identifier rubyid_generate_base_url'>generate_base_url</span><span class='lparen'>(</span><span class='id identifier rubyid_base_url'>base_url</span><span class='rparen'>)</span>
|
@@ -497,12 +607,12 @@ development purposes. Should be set to true for production</p>
|
|
497
607
|
<pre class="lines">
|
498
608
|
|
499
609
|
|
500
|
-
|
501
|
-
|
502
|
-
|
610
|
+
35
|
611
|
+
36
|
612
|
+
37</pre>
|
503
613
|
</td>
|
504
614
|
<td>
|
505
|
-
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line
|
615
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line 35</span>
|
506
616
|
|
507
617
|
<span class='kw'>def</span> <span class='id identifier rubyid_auth_token'>auth_token</span>
|
508
618
|
<span class='ivar'>@auth_token</span>
|
@@ -540,12 +650,12 @@ development purposes. Should be set to true for production</p>
|
|
540
650
|
<pre class="lines">
|
541
651
|
|
542
652
|
|
543
|
-
|
544
|
-
|
545
|
-
|
653
|
+
35
|
654
|
+
36
|
655
|
+
37</pre>
|
546
656
|
</td>
|
547
657
|
<td>
|
548
|
-
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line
|
658
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line 35</span>
|
549
659
|
|
550
660
|
<span class='kw'>def</span> <span class='id identifier rubyid_base_url'>base_url</span>
|
551
661
|
<span class='ivar'>@base_url</span>
|
@@ -583,12 +693,12 @@ development purposes. Should be set to true for production</p>
|
|
583
693
|
<pre class="lines">
|
584
694
|
|
585
695
|
|
586
|
-
|
587
|
-
|
588
|
-
|
696
|
+
35
|
697
|
+
36
|
698
|
+
37</pre>
|
589
699
|
</td>
|
590
700
|
<td>
|
591
|
-
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line
|
701
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line 35</span>
|
592
702
|
|
593
703
|
<span class='kw'>def</span> <span class='id identifier rubyid_tenant_uid'>tenant_uid</span>
|
594
704
|
<span class='ivar'>@tenant_uid</span>
|
@@ -626,12 +736,12 @@ development purposes. Should be set to true for production</p>
|
|
626
736
|
<pre class="lines">
|
627
737
|
|
628
738
|
|
629
|
-
|
630
|
-
|
631
|
-
|
739
|
+
35
|
740
|
+
36
|
741
|
+
37</pre>
|
632
742
|
</td>
|
633
743
|
<td>
|
634
|
-
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line
|
744
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/vipr.rb', line 35</span>
|
635
745
|
|
636
746
|
<span class='kw'>def</span> <span class='id identifier rubyid_verify_cert'>verify_cert</span>
|
637
747
|
<span class='ivar'>@verify_cert</span>
|
@@ -647,7 +757,7 @@ development purposes. Should be set to true for production</p>
|
|
647
757
|
</div>
|
648
758
|
|
649
759
|
<div id="footer">
|
650
|
-
Generated on Mon
|
760
|
+
Generated on Mon Jun 1 15:10:33 2015 by
|
651
761
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
652
762
|
0.8.7.6 (ruby-2.1.2).
|
653
763
|
</div>
|
@@ -0,0 +1,426 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Module: ViprAutoTier
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!ViprAutoTier.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index (V)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">ViprAutoTier</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Module: ViprAutoTier
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<dt class="r1">Included in:</dt>
|
81
|
+
<dd class="r1"><span class='object_link'><a href="Vipr.html" title="Vipr (class)">Vipr</a></span></dd>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<dt class="r2 last">Defined in:</dt>
|
86
|
+
<dd class="r2 last">lib/vipruby/objects/autotier.rb</dd>
|
87
|
+
|
88
|
+
</dl>
|
89
|
+
<div class="clear"></div>
|
90
|
+
|
91
|
+
<h2>Overview</h2><div class="docstring">
|
92
|
+
<div class="discussion">
|
93
|
+
|
94
|
+
<p>The following Auto Tier calls will get and execute Auto Tier items</p>
|
95
|
+
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
<div class="tags">
|
100
|
+
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<h2>
|
111
|
+
Instance Method Summary
|
112
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
113
|
+
</h2>
|
114
|
+
|
115
|
+
<ul class="summary">
|
116
|
+
|
117
|
+
<li class="public ">
|
118
|
+
<span class="summary_signature">
|
119
|
+
|
120
|
+
<a href="#get_auto_tier_policies-instance_method" title="#get_auto_tier_policies (instance method)">- (json) <strong>get_auto_tier_policies</strong>(auth = nil, cert = nil) </a>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
</span>
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<span class="summary_desc"><div class='inline'>
|
135
|
+
<p>Get All Auto Tier Policies.</p>
|
136
|
+
</div></span>
|
137
|
+
|
138
|
+
</li>
|
139
|
+
|
140
|
+
|
141
|
+
<li class="public ">
|
142
|
+
<span class="summary_signature">
|
143
|
+
|
144
|
+
<a href="#get_auto_tier_policy-instance_method" title="#get_auto_tier_policy (instance method)">- (JSON) <strong>get_auto_tier_policy</strong>(auto_tier_policy_id, auth = nil, cert = nil) </a>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
</span>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'>
|
159
|
+
<p>Get Single Auto Tier Policy information.</p>
|
160
|
+
</div></span>
|
161
|
+
|
162
|
+
</li>
|
163
|
+
|
164
|
+
|
165
|
+
<li class="public ">
|
166
|
+
<span class="summary_signature">
|
167
|
+
|
168
|
+
<a href="#get_auto_tier_policy_storage_tiers-instance_method" title="#get_auto_tier_policy_storage_tiers (instance method)">- (JSON) <strong>get_auto_tier_policy_storage_tiers</strong>(auto_tier_policy_id, auth = nil, cert = nil) </a>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
</span>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
<span class="summary_desc"><div class='inline'>
|
183
|
+
<p>List storage tiers for auto tiering policy.</p>
|
184
|
+
</div></span>
|
185
|
+
|
186
|
+
</li>
|
187
|
+
|
188
|
+
|
189
|
+
</ul>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
<div id="instance_method_details" class="method_details_list">
|
195
|
+
<h2>Instance Method Details</h2>
|
196
|
+
|
197
|
+
|
198
|
+
<div class="method_details first">
|
199
|
+
<h3 class="signature first" id="get_auto_tier_policies-instance_method">
|
200
|
+
|
201
|
+
- (<tt>json</tt>) <strong>get_auto_tier_policies</strong>(auth = nil, cert = nil)
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
</h3><div class="docstring">
|
208
|
+
<div class="discussion">
|
209
|
+
|
210
|
+
<p>Get All Auto Tier Policies</p>
|
211
|
+
|
212
|
+
|
213
|
+
</div>
|
214
|
+
</div>
|
215
|
+
<div class="tags">
|
216
|
+
|
217
|
+
<p class="tag_title">Returns:</p>
|
218
|
+
<ul class="return">
|
219
|
+
|
220
|
+
<li>
|
221
|
+
|
222
|
+
|
223
|
+
<span class='type'>(<tt>json</tt>)</span>
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
—
|
228
|
+
<div class='inline'>
|
229
|
+
<p>JSON object of all the Auto Tier Policies</p>
|
230
|
+
</div>
|
231
|
+
|
232
|
+
</li>
|
233
|
+
|
234
|
+
</ul>
|
235
|
+
|
236
|
+
</div><table class="source_code">
|
237
|
+
<tr>
|
238
|
+
<td>
|
239
|
+
<pre class="lines">
|
240
|
+
|
241
|
+
|
242
|
+
8
|
243
|
+
9
|
244
|
+
10</pre>
|
245
|
+
</td>
|
246
|
+
<td>
|
247
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/objects/autotier.rb', line 8</span>
|
248
|
+
|
249
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_auto_tier_policies'>get_auto_tier_policies</span><span class='lparen'>(</span><span class='id identifier rubyid_auth'>auth</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_cert'>cert</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
250
|
+
<span class='id identifier rubyid_rest_get'>rest_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@base_url</span><span class='embexpr_end'>}</span><span class='tstring_content'>/vdc/auto-tier-policies</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_auth'>auth</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@auth_token</span> <span class='op'>:</span> <span class='id identifier rubyid_auth'>auth</span><span class='comma'>,</span> <span class='id identifier rubyid_cert'>cert</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@verify_cert</span> <span class='op'>:</span> <span class='id identifier rubyid_cert'>cert</span><span class='rparen'>)</span>
|
251
|
+
<span class='kw'>end</span></pre>
|
252
|
+
</td>
|
253
|
+
</tr>
|
254
|
+
</table>
|
255
|
+
</div>
|
256
|
+
|
257
|
+
<div class="method_details ">
|
258
|
+
<h3 class="signature " id="get_auto_tier_policy-instance_method">
|
259
|
+
|
260
|
+
- (<tt>JSON</tt>) <strong>get_auto_tier_policy</strong>(auto_tier_policy_id, auth = nil, cert = nil)
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</h3><div class="docstring">
|
267
|
+
<div class="discussion">
|
268
|
+
|
269
|
+
<p>Get Single Auto Tier Policy information</p>
|
270
|
+
|
271
|
+
|
272
|
+
</div>
|
273
|
+
</div>
|
274
|
+
<div class="tags">
|
275
|
+
<p class="tag_title">Parameters:</p>
|
276
|
+
<ul class="param">
|
277
|
+
|
278
|
+
<li>
|
279
|
+
|
280
|
+
<span class='name'>auto_tier_policy_id</span>
|
281
|
+
|
282
|
+
|
283
|
+
<span class='type'>(<tt>urn:id</tt>)</span>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
—
|
288
|
+
<div class='inline'>
|
289
|
+
<p>URN of a auto tier policy. Required Param</p>
|
290
|
+
</div>
|
291
|
+
|
292
|
+
</li>
|
293
|
+
|
294
|
+
</ul>
|
295
|
+
|
296
|
+
<p class="tag_title">Returns:</p>
|
297
|
+
<ul class="return">
|
298
|
+
|
299
|
+
<li>
|
300
|
+
|
301
|
+
|
302
|
+
<span class='type'>(<tt>JSON</tt>)</span>
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
—
|
307
|
+
<div class='inline'>
|
308
|
+
<p>The JSON object of the Auto Tier Policy</p>
|
309
|
+
</div>
|
310
|
+
|
311
|
+
</li>
|
312
|
+
|
313
|
+
</ul>
|
314
|
+
|
315
|
+
</div><table class="source_code">
|
316
|
+
<tr>
|
317
|
+
<td>
|
318
|
+
<pre class="lines">
|
319
|
+
|
320
|
+
|
321
|
+
17
|
322
|
+
18
|
323
|
+
19</pre>
|
324
|
+
</td>
|
325
|
+
<td>
|
326
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/objects/autotier.rb', line 17</span>
|
327
|
+
|
328
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_auto_tier_policy'>get_auto_tier_policy</span><span class='lparen'>(</span><span class='id identifier rubyid_auto_tier_policy_id'>auto_tier_policy_id</span><span class='comma'>,</span><span class='id identifier rubyid_auth'>auth</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_cert'>cert</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
329
|
+
<span class='id identifier rubyid_rest_get'>rest_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@base_url</span><span class='embexpr_end'>}</span><span class='tstring_content'>/vdc/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_auto_tier_policy_id'>auto_tier_policy_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_auth'>auth</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@auth_token</span> <span class='op'>:</span> <span class='id identifier rubyid_auth'>auth</span><span class='comma'>,</span> <span class='id identifier rubyid_cert'>cert</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@verify_cert</span> <span class='op'>:</span> <span class='id identifier rubyid_cert'>cert</span><span class='rparen'>)</span>
|
330
|
+
<span class='kw'>end</span></pre>
|
331
|
+
</td>
|
332
|
+
</tr>
|
333
|
+
</table>
|
334
|
+
</div>
|
335
|
+
|
336
|
+
<div class="method_details ">
|
337
|
+
<h3 class="signature " id="get_auto_tier_policy_storage_tiers-instance_method">
|
338
|
+
|
339
|
+
- (<tt>JSON</tt>) <strong>get_auto_tier_policy_storage_tiers</strong>(auto_tier_policy_id, auth = nil, cert = nil)
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
</h3><div class="docstring">
|
346
|
+
<div class="discussion">
|
347
|
+
|
348
|
+
<p>List storage tiers for auto tiering policy</p>
|
349
|
+
|
350
|
+
|
351
|
+
</div>
|
352
|
+
</div>
|
353
|
+
<div class="tags">
|
354
|
+
<p class="tag_title">Parameters:</p>
|
355
|
+
<ul class="param">
|
356
|
+
|
357
|
+
<li>
|
358
|
+
|
359
|
+
<span class='name'>auto_tier_policy_id</span>
|
360
|
+
|
361
|
+
|
362
|
+
<span class='type'>(<tt>urn:id</tt>)</span>
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
—
|
367
|
+
<div class='inline'>
|
368
|
+
<p>URN of a auto tier policy. Required Param</p>
|
369
|
+
</div>
|
370
|
+
|
371
|
+
</li>
|
372
|
+
|
373
|
+
</ul>
|
374
|
+
|
375
|
+
<p class="tag_title">Returns:</p>
|
376
|
+
<ul class="return">
|
377
|
+
|
378
|
+
<li>
|
379
|
+
|
380
|
+
|
381
|
+
<span class='type'>(<tt>JSON</tt>)</span>
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
—
|
386
|
+
<div class='inline'>
|
387
|
+
<p>The JSON object of the storage tiers for auto tiering policy</p>
|
388
|
+
</div>
|
389
|
+
|
390
|
+
</li>
|
391
|
+
|
392
|
+
</ul>
|
393
|
+
|
394
|
+
</div><table class="source_code">
|
395
|
+
<tr>
|
396
|
+
<td>
|
397
|
+
<pre class="lines">
|
398
|
+
|
399
|
+
|
400
|
+
26
|
401
|
+
27
|
402
|
+
28</pre>
|
403
|
+
</td>
|
404
|
+
<td>
|
405
|
+
<pre class="code"><span class="info file"># File 'lib/vipruby/objects/autotier.rb', line 26</span>
|
406
|
+
|
407
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_auto_tier_policy_storage_tiers'>get_auto_tier_policy_storage_tiers</span><span class='lparen'>(</span><span class='id identifier rubyid_auto_tier_policy_id'>auto_tier_policy_id</span><span class='comma'>,</span><span class='id identifier rubyid_auth'>auth</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_cert'>cert</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
408
|
+
<span class='id identifier rubyid_rest_get'>rest_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@base_url</span><span class='embexpr_end'>}</span><span class='tstring_content'>/vdc/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_auto_tier_policy_id'>auto_tier_policy_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/storage-tiers</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_auth'>auth</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@auth_token</span> <span class='op'>:</span> <span class='id identifier rubyid_auth'>auth</span><span class='comma'>,</span> <span class='id identifier rubyid_cert'>cert</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@verify_cert</span> <span class='op'>:</span> <span class='id identifier rubyid_cert'>cert</span><span class='rparen'>)</span>
|
409
|
+
<span class='kw'>end</span></pre>
|
410
|
+
</td>
|
411
|
+
</tr>
|
412
|
+
</table>
|
413
|
+
</div>
|
414
|
+
|
415
|
+
</div>
|
416
|
+
|
417
|
+
</div>
|
418
|
+
|
419
|
+
<div id="footer">
|
420
|
+
Generated on Mon Jun 1 15:10:33 2015 by
|
421
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
422
|
+
0.8.7.6 (ruby-2.1.2).
|
423
|
+
</div>
|
424
|
+
|
425
|
+
</body>
|
426
|
+
</html>
|