nuri 0.5.4 → 0.5.5

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.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -3
  3. data/VERSION +1 -1
  4. data/bin/nuri +10 -7
  5. data/nuri.gemspec +17 -17
  6. metadata +19 -94
  7. data/examples/.gitignore +0 -4
  8. data/examples/bonfire.sfp +0 -87
  9. data/examples/bonfire/epcc.sfp +0 -43
  10. data/examples/bonfire/epcc0.sfp +0 -49
  11. data/examples/bonfire/epcc2.sfp +0 -52
  12. data/examples/bonfire/epcc2a.sfp +0 -25
  13. data/examples/bonfire/inria.sfp +0 -72
  14. data/examples/bonfire/inria0.sfp +0 -49
  15. data/examples/bonfire/inria2.sfp +0 -71
  16. data/examples/bonfire/inria2a.sfp +0 -44
  17. data/examples/bonfire/inria2b.sfp +0 -54
  18. data/examples/bonfire/inria2c.sfp +0 -62
  19. data/examples/bonfire/inria2d.sfp +0 -71
  20. data/examples/bonfire/inria2e.sfp +0 -80
  21. data/examples/bonfire/main.sfp +0 -33
  22. data/examples/bonfire/old/bonfire-1-1-1.sfp +0 -76
  23. data/examples/bonfire/old/bonfire-1-10-1.sfp +0 -77
  24. data/examples/bonfire/old/bonfire-1-2-1.sfp +0 -58
  25. data/examples/bonfire/old/bonfire-1-3-1.sfp +0 -61
  26. data/examples/bonfire/old/bonfire-1-4-1.sfp +0 -64
  27. data/examples/bonfire/old/bonfire-1-5-1.sfp +0 -67
  28. data/examples/bonfire/old/bonfire-1-6-1.sfp +0 -82
  29. data/examples/bonfire/old/bonfire-1-7-1.sfp +0 -82
  30. data/examples/bonfire/old/bonfire-1-8-1.sfp +0 -79
  31. data/examples/bonfire/old/bonfire-1-9-1.sfp +0 -83
  32. data/examples/bonfire/old/wp-test1a.sfp +0 -38
  33. data/examples/bonfire/old/wp-test1b.sfp +0 -18
  34. data/examples/bonfire/old/wp-test1c.sfp +0 -7
  35. data/examples/bonfire/old/wp-test2.sfp +0 -47
  36. data/examples/bonfire/old3/bonfire-epcc.sfp +0 -57
  37. data/examples/bonfire/old3/bonfire-inria.sfp +0 -72
  38. data/examples/bonfire/old3/bonfire-master.sfp +0 -18
  39. data/examples/bonfire/old3/bonfire.sfp +0 -23
  40. data/examples/bonfire/old3/bonfire2.sfp +0 -49
  41. data/examples/bonfire/old3/bonfire3.sfp +0 -76
  42. data/examples/bonfire/old3/bonfire4.sfp +0 -78
  43. data/examples/bonfire/old3/bonfire5.sfp +0 -34
  44. data/examples/bonfire/old3/bonfire5b.sfp +0 -84
  45. data/examples/bonfire/old3/hpvm6.sfp +0 -22
  46. data/examples/bonfire/old3/model.json +0 -1
  47. data/examples/bonfire/old3/test0.sfp +0 -16
  48. data/examples/bonfire/old3/test1.sfp +0 -5
  49. data/examples/bonfire/old3/test10.sfp +0 -5
  50. data/examples/bonfire/old3/test2.sfp +0 -18
  51. data/examples/bonfire/old3/test3.sfp +0 -10
  52. data/examples/bonfire/old3/test4.sfp +0 -11
  53. data/examples/bonfire/old3/test5.sfp +0 -18
  54. data/examples/bonfire/old3/test6.sfp +0 -19
  55. data/examples/bonfire/old3/test7.sfp +0 -34
  56. data/examples/bonfire/old3/test8.sfp +0 -5
  57. data/examples/bonfire/old3/test9.sfp +0 -16
  58. data/examples/bonfire/old3/wordpress-test-cluster.sfp +0 -38
  59. data/examples/bonfire/old3/wordpress-test.sfp +0 -22
  60. data/examples/bonfire/old3/wp-test-2.sfp +0 -49
  61. data/examples/bonfire/test.sfp +0 -13
  62. data/examples/hadoop1.sfp +0 -21
  63. data/examples/hadoop2.sfp +0 -21
  64. data/examples/hpcloud.sfp +0 -18
  65. data/examples/mockcloud/apache2.sfp +0 -14
  66. data/examples/mockcloud/generator.rb +0 -22
  67. data/examples/mockcloud/generator.rb.bak +0 -66
  68. data/examples/mockcloud/hadoop2.sfp.template +0 -25
  69. data/examples/mockcloud/ping.rb +0 -38
  70. data/examples/mockcloud/run.rb +0 -17
  71. data/examples/openstack/openstack-hadoop1-cluster.sfp +0 -37
  72. data/examples/openstack/openstack-hadoop2-cluster.sfp +0 -39
  73. data/examples/test.inc +0 -0
  74. data/examples/test.sfp +0 -11
  75. data/examples/v2/apache.sfp +0 -30
  76. data/examples/v2/aptpackage.sfp +0 -6
  77. data/examples/v2/mock1.sfp +0 -12
  78. data/examples/v2/package.sfp +0 -22
  79. data/examples/v2/service.sfp +0 -94
  80. data/examples/v2/tarpackage.sfp +0 -5
  81. data/examples/wordpress.sfp +0 -41
@@ -1,64 +0,0 @@
1
- include "../modules/machine/machine.sfp"
2
- include "../modules/bonfire/bonfire.sfp"
3
- include "../modules/vm/vm.sfp"
4
- include "../modules/apache/apache.sfp"
5
- include "../modules/mysql/mysql.sfp"
6
-
7
- master isa Machine {
8
- sfpAddress is "localhost"
9
-
10
- bonfireEPCC isa Bonfire {
11
- experiment is "autocloud"
12
- location is "uk-epcc"
13
- image_name is "BonFIRE Debian Squeeze 10G v5"
14
- wan_name is "BonFIRE WAN"
15
- }
16
- bonfireINRIA isa Bonfire {
17
- experiment is "autocloud"
18
- location is "fr-inria"
19
- image_name is "BonFIRE Debian Squeeze 10G v5"
20
- wan_name is "BonFIRE WAN"
21
- }
22
- }
23
-
24
- vm1 isa VM {
25
- created = true
26
- apache isa Apache {
27
- running is true
28
- is_load_balancer is true
29
- }
30
- in_cloud is master.bonfireINRIA
31
- }
32
-
33
- vm2 isa VM {
34
- created = true
35
- apache isa Apache {
36
- running is true
37
- }
38
- in_cloud is master.bonfireINRIA
39
- }
40
-
41
- vm3 extends vm2
42
- vm4 extends vm2
43
- vm5 extends vm2
44
-
45
- vm7 isa VM {
46
- created = true
47
- mysql isa Mysql {
48
- running is true
49
- }
50
- in_cloud is master.bonfireINRIA
51
- }
52
-
53
- global {
54
- if vm1.apache.running = true then {
55
- vm2.apache.running = true
56
- vm3.apache.running = true
57
- vm4.apache.running = true
58
- vm5.apache.running = true
59
- }
60
- if vm2.apache.running = true then vm7.mysql.running = true
61
- if vm3.apache.running = true then vm7.mysql.running = true
62
- if vm4.apache.running = true then vm7.mysql.running = true
63
- if vm5.apache.running = true then vm7.mysql.running = true
64
- }
@@ -1,67 +0,0 @@
1
- include "../modules/machine/machine.sfp"
2
- include "../modules/bonfire/bonfire.sfp"
3
- include "../modules/vm/vm.sfp"
4
- include "../modules/apache/apache.sfp"
5
- include "../modules/mysql/mysql.sfp"
6
-
7
- master isa Machine {
8
- sfpAddress is "localhost"
9
-
10
- bonfireEPCC isa Bonfire {
11
- experiment is "autocloud"
12
- location is "uk-epcc"
13
- image_name is "BonFIRE Debian Squeeze 10G v5"
14
- wan_name is "BonFIRE WAN"
15
- }
16
- bonfireINRIA isa Bonfire {
17
- experiment is "autocloud"
18
- location is "fr-inria"
19
- image_name is "BonFIRE Debian Squeeze 10G v5"
20
- wan_name is "BonFIRE WAN"
21
- }
22
- }
23
-
24
- vm1 isa VM {
25
- created = true
26
- apache isa Apache {
27
- running is true
28
- is_load_balancer is true
29
- }
30
- in_cloud is master.bonfireEPCC
31
- }
32
-
33
- vm2 isa VM {
34
- created = true
35
- apache isa Apache {
36
- running is true
37
- }
38
- in_cloud is master.bonfireEPCC
39
- }
40
-
41
- vm3 extends vm2
42
- vm4 extends vm2
43
- vm5 extends vm2
44
- vm6 extends vm2
45
-
46
- vm7 isa VM {
47
- created = true
48
- mysql isa Mysql {
49
- running is true
50
- }
51
- in_cloud is master.bonfireEPCC
52
- }
53
-
54
- global {
55
- if vm1.apache.running = true then {
56
- vm2.apache.running = true
57
- vm3.apache.running = true
58
- vm4.apache.running = true
59
- vm5.apache.running = true
60
- vm6.apache.running = true
61
- }
62
- if vm2.apache.running = true then vm7.mysql.running = true
63
- if vm3.apache.running = true then vm7.mysql.running = true
64
- if vm4.apache.running = true then vm7.mysql.running = true
65
- if vm5.apache.running = true then vm7.mysql.running = true
66
- if vm6.apache.running = true then vm7.mysql.running = true
67
- }
@@ -1,82 +0,0 @@
1
- include "../modules/machine/machine.sfp"
2
- include "../modules/bonfire/bonfire.sfp"
3
- include "../modules/vm/vm.sfp"
4
- include "../modules/apache/apache.sfp"
5
- include "../modules/mysql/mysql.sfp"
6
-
7
- master isa Machine {
8
- sfpAddress is "localhost"
9
-
10
- bonfireEPCC isa Bonfire {
11
- experiment is "autocloud"
12
- location is "uk-epcc"
13
- image_name is "BonFIRE Debian Squeeze 10G v5"
14
- wan_name is "BonFIRE WAN"
15
- }
16
- bonfireINRIA extends master.bonfireEPCC {
17
- location is "fr-inria"
18
- }
19
- bonfireHPLABS extends master.bonfireEPCC {
20
- location is "uk-hplabs"
21
- }
22
- }
23
-
24
- vm1 isa VM {
25
- created = true
26
- apache isa Apache {
27
- running is true
28
- is_load_balancer is true
29
- }
30
- in_cloud is master.bonfireEPCC
31
- }
32
-
33
- vm2 isa VM {
34
- created = true
35
- apache isa Apache {
36
- running is true
37
- }
38
- in_cloud is master.bonfireEPCC
39
- }
40
- vm3 extends vm2
41
-
42
- vm4 extends vm2
43
-
44
- vm5 extends vm2
45
-
46
- vm6 extends vm2
47
-
48
- vm7 extends vm2
49
-
50
- //vm8 extends vm2
51
-
52
- //vm9 extends vm2
53
-
54
- vm10 isa VM {
55
- created = true
56
- mysql isa Mysql {
57
- running is true
58
- }
59
- in_cloud is master.bonfireEPCC
60
- }
61
-
62
- global {
63
- if vm1.apache.running = true then {
64
- vm2.apache.running = true
65
- vm3.apache.running = true
66
- vm4.apache.running = true
67
- vm5.apache.running = true
68
- vm6.apache.running = true
69
- vm7.apache.running = true
70
- //vm8.apache.running = true
71
- //vm9.apache.running = true
72
- }
73
-
74
- if vm2.apache.running = true then vm10.mysql.running = true
75
- if vm3.apache.running = true then vm10.mysql.running = true
76
- if vm4.apache.running = true then vm10.mysql.running = true
77
- if vm5.apache.running = true then vm10.mysql.running = true
78
- if vm6.apache.running = true then vm10.mysql.running = true
79
- if vm7.apache.running = true then vm10.mysql.running = true
80
- //if vm8.apache.running = true then vm10.mysql.running = true
81
- //if vm9.apache.running = true then vm10.mysql.running = true
82
- }
@@ -1,82 +0,0 @@
1
- include "../modules/machine/machine.sfp"
2
- include "../modules/bonfire/bonfire.sfp"
3
- include "../modules/vm/vm.sfp"
4
- include "../modules/apache/apache.sfp"
5
- include "../modules/mysql/mysql.sfp"
6
-
7
- master isa Machine {
8
- sfpAddress is "localhost"
9
-
10
- bonfireEPCC isa Bonfire {
11
- experiment is "autocloud"
12
- location is "uk-epcc"
13
- image_name is "BonFIRE Debian Squeeze 10G v5"
14
- wan_name is "BonFIRE WAN"
15
- }
16
- bonfireINRIA extends master.bonfireEPCC {
17
- location is "fr-inria"
18
- }
19
- bonfireHPLABS extends master.bonfireEPCC {
20
- location is "uk-hplabs"
21
- }
22
- }
23
-
24
- vm1 isa VM {
25
- created = true
26
- apache isa Apache {
27
- running is true
28
- is_load_balancer is true
29
- }
30
- in_cloud is master.bonfireEPCC
31
- }
32
-
33
- vm2 isa VM {
34
- created = true
35
- apache isa Apache {
36
- running is true
37
- }
38
- in_cloud is master.bonfireEPCC
39
- }
40
- vm3 extends vm2
41
-
42
- vm4 extends vm2
43
-
44
- vm5 extends vm2
45
-
46
- vm6 extends vm2
47
-
48
- vm7 extends vm2
49
-
50
- vm8 extends vm2
51
-
52
- //vm9 extends vm2
53
-
54
- vm10 isa VM {
55
- created = true
56
- mysql isa Mysql {
57
- running is true
58
- }
59
- in_cloud is master.bonfireEPCC
60
- }
61
-
62
- global {
63
- if vm1.apache.running = true then {
64
- vm2.apache.running = true
65
- vm3.apache.running = true
66
- vm4.apache.running = true
67
- vm5.apache.running = true
68
- vm6.apache.running = true
69
- vm7.apache.running = true
70
- vm8.apache.running = true
71
- //vm9.apache.running = true
72
- }
73
-
74
- if vm2.apache.running = true then vm10.mysql.running = true
75
- if vm3.apache.running = true then vm10.mysql.running = true
76
- if vm4.apache.running = true then vm10.mysql.running = true
77
- if vm5.apache.running = true then vm10.mysql.running = true
78
- if vm6.apache.running = true then vm10.mysql.running = true
79
- if vm7.apache.running = true then vm10.mysql.running = true
80
- if vm8.apache.running = true then vm10.mysql.running = true
81
- //if vm9.apache.running = true then vm10.mysql.running = true
82
- }
@@ -1,79 +0,0 @@
1
- include "../modules/machine/machine.sfp"
2
- include "../modules/bonfire/bonfire.sfp"
3
- include "../modules/vm/vm.sfp"
4
- include "../modules/apache/apache.sfp"
5
- include "../modules/mysql/mysql.sfp"
6
-
7
- master isa Machine {
8
- sfpAddress is "localhost"
9
-
10
- bonfireEPCC isa Bonfire {
11
- experiment is "autocloud"
12
- location is "uk-epcc"
13
- image_name is "BonFIRE Debian Squeeze 10G v5"
14
- wan_name is "BonFIRE WAN"
15
- }
16
- bonfireINRIA extends master.bonfireEPCC {
17
- location is "fr-inria"
18
- }
19
- }
20
-
21
- vm1 isa VM {
22
- created = true
23
- apache isa Apache {
24
- running is true
25
- is_load_balancer is true
26
- }
27
- in_cloud is master.bonfireINRIA
28
- }
29
-
30
- vm2 isa VM {
31
- created = true
32
- apache isa Apache {
33
- running is true
34
- }
35
- in_cloud is master.bonfireINRIA
36
- }
37
- vm3 extends vm2
38
-
39
- vm4 extends vm2
40
-
41
- vm5 extends vm2
42
-
43
- vm6 extends vm2
44
-
45
- vm7 extends vm2
46
-
47
- vm8 extends vm2
48
-
49
- vm9 extends vm2
50
-
51
- vm10 isa VM {
52
- created = true
53
- mysql isa Mysql {
54
- running is true
55
- }
56
- in_cloud is master.bonfireINRIA
57
- }
58
-
59
- global {
60
- if vm1.apache.running = true then {
61
- vm2.apache.running = true
62
- vm3.apache.running = true
63
- vm4.apache.running = true
64
- vm5.apache.running = true
65
- vm6.apache.running = true
66
- vm7.apache.running = true
67
- vm8.apache.running = true
68
- vm9.apache.running = true
69
- }
70
-
71
- if vm2.apache.running = true then vm10.mysql.running = true
72
- if vm3.apache.running = true then vm10.mysql.running = true
73
- if vm4.apache.running = true then vm10.mysql.running = true
74
- if vm5.apache.running = true then vm10.mysql.running = true
75
- if vm6.apache.running = true then vm10.mysql.running = true
76
- if vm7.apache.running = true then vm10.mysql.running = true
77
- if vm8.apache.running = true then vm10.mysql.running = true
78
- if vm9.apache.running = true then vm10.mysql.running = true
79
- }
@@ -1,83 +0,0 @@
1
- include "../modules/machine/machine.sfp"
2
- include "../modules/bonfire/bonfire.sfp"
3
- include "../modules/vm/vm.sfp"
4
- include "../modules/apache/apache.sfp"
5
- include "../modules/mysql/mysql.sfp"
6
-
7
- master isa Machine {
8
- sfpAddress is "localhost"
9
-
10
- bonfireEPCC isa Bonfire {
11
- experiment is "autocloud"
12
- location is "uk-epcc"
13
- image_name is "BonFIRE Debian Squeeze 10G v5"
14
- wan_name is "BonFIRE WAN"
15
- }
16
- bonfireINRIA extends master.bonfireEPCC {
17
- location is "fr-inria"
18
- }
19
- }
20
-
21
- vm1 isa VM {
22
- created = true
23
- apache isa Apache {
24
- running is true
25
- is_load_balancer is true
26
- }
27
- in_cloud is master.bonfireEPCC
28
- }
29
-
30
- vm2 isa VM {
31
- created = true
32
- apache isa Apache {
33
- running is true
34
- }
35
- in_cloud is master.bonfireEPCC
36
- }
37
- vm3 extends vm2
38
-
39
- vm4 extends vm2
40
-
41
- vm5 extends vm2
42
-
43
- vm6 extends vm2
44
-
45
- vm7 extends vm2
46
-
47
- vm8 extends vm2
48
-
49
- vm9 extends vm2
50
-
51
- vm11 extends vm2
52
-
53
- vm10 isa VM {
54
- created = true
55
- mysql isa Mysql {
56
- running is true
57
- }
58
- in_cloud is master.bonfireEPCC
59
- }
60
-
61
- global {
62
- if vm1.apache.running = true then {
63
- vm2.apache.running = true
64
- vm3.apache.running = true
65
- vm4.apache.running = true
66
- vm5.apache.running = true
67
- vm6.apache.running = true
68
- vm7.apache.running = true
69
- vm8.apache.running = true
70
- vm9.apache.running = true
71
- vm11.apache.running = true
72
- }
73
-
74
- if vm2.apache.running = true then vm10.mysql.running = true
75
- if vm3.apache.running = true then vm10.mysql.running = true
76
- if vm4.apache.running = true then vm10.mysql.running = true
77
- if vm5.apache.running = true then vm10.mysql.running = true
78
- if vm6.apache.running = true then vm10.mysql.running = true
79
- if vm7.apache.running = true then vm10.mysql.running = true
80
- if vm8.apache.running = true then vm10.mysql.running = true
81
- if vm9.apache.running = true then vm10.mysql.running = true
82
- if vm11.apache.running = true then vm10.mysql.running = true
83
- }