dyntool 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dyntool.rb +9 -9
- metadata +3 -3
data/lib/dyntool.rb
CHANGED
@@ -373,43 +373,43 @@ class Parameters
|
|
373
373
|
* add: Adding a new record *
|
374
374
|
|
375
375
|
add a fqdn(a) ip example: dynamo.rb add a mynode.example.com 11.12.13.14
|
376
|
-
add cname
|
377
|
-
add txt
|
376
|
+
add cname fqdn(a) fqdn(cname) example: dynamo.rb add cname mycnamenode.example.com mynode.example.com
|
377
|
+
add txt fqdn(a) "some text" example: dynamo.rb add txt mynode.example.com "this is some text"
|
378
378
|
add zone zonename example: dynamo.rb add zone example2.com
|
379
379
|
|
380
380
|
|
381
381
|
* del: Deleting a node or service *
|
382
382
|
|
383
|
-
del
|
384
|
-
del service geoservice
|
383
|
+
del node fqdn(node) - node can be a,cname,txt,geonode,etc example: dynamo.rb del node mynode.example.com
|
384
|
+
del service geoservice example: dynamo.rb del service geo17
|
385
385
|
|
386
386
|
|
387
387
|
* change: Changing a record *
|
388
388
|
|
389
|
-
change cname
|
389
|
+
change cname cname newfqdn example: dynamo.rb change cname mycnamenode.example.com test19.example.com
|
390
390
|
|
391
391
|
|
392
392
|
* generate: Generating Geo service from yaml *
|
393
393
|
|
394
|
-
generate geoservice
|
394
|
+
generate geoservice geonode example: dynamo.rb generate geo11 test11.example.com
|
395
395
|
|
396
396
|
|
397
397
|
* shift: Shifting traffic from dc or from provider on geo service *
|
398
398
|
|
399
|
-
shift geoservice
|
399
|
+
shift geoservice from dc/provider to dc/dcs/provider(in same dc) example1: dynamo.rb shift geo11 from dc chidc1 to nydc1
|
400
400
|
example2: dynamo.rb shift geo11 from dc chidc1 to nydc1 ladc1
|
401
401
|
example3: dynamo.rb shift geo15 from provider amc_chi to inap_chi
|
402
402
|
|
403
403
|
* revert: Reverting a state of geo service to yaml state *
|
404
404
|
|
405
|
-
revert
|
405
|
+
revert geoservice example: dynamo.rb revert geo15
|
406
406
|
|
407
407
|
|
408
408
|
* get: Getting infotmation of geo services, geonodes, cname pointing to geo *
|
409
409
|
|
410
410
|
get services (get all geo services) example: dynamo.rb get services
|
411
411
|
get node geonode example: dynamo.rb get node test1.example.com
|
412
|
-
get cname
|
412
|
+
get cname cname example: dynamo.rb get cname mycnamenode.example.com
|
413
413
|
EOF
|
414
414
|
exit(2)
|
415
415
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 19
|
9
|
+
version: 0.0.19
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ariel Moskovich
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2013-09-
|
17
|
+
date: 2013-09-15 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|