vcloud-edge_gateway 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/README.md +6 -2
- data/bin/vcloud-configure-edge +30 -0
- data/lib/vcloud/edge_gateway/version.rb +1 -1
- metadata +5 -5
- data/bin/vcloud-edge +0 -12
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -18,7 +18,9 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
To configure an Edge Gateway:
|
22
|
+
|
23
|
+
$ vcloud-configure-edge input.yaml
|
22
24
|
|
23
25
|
## Contributing
|
24
26
|
|
@@ -28,7 +30,9 @@ TODO
|
|
28
30
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
31
|
5. Create new Pull Request
|
30
32
|
|
31
|
-
#
|
33
|
+
#Below here, rules are out of date - they will be updated shortly
|
34
|
+
|
35
|
+
###Configure edge gateway services
|
32
36
|
|
33
37
|
You can configure following services on an existing edgegateway using fog.
|
34
38
|
- FirewallService
|
@@ -0,0 +1,30 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'rubygems'
|
5
|
+
require 'methadone'
|
6
|
+
gem 'vcloud-edge_gateway'
|
7
|
+
rescue LoadError
|
8
|
+
end
|
9
|
+
|
10
|
+
require 'vcloud/edge_gateway'
|
11
|
+
|
12
|
+
class App
|
13
|
+
include Methadone::Main
|
14
|
+
include Methadone::CLILogging
|
15
|
+
|
16
|
+
main do |config_file|
|
17
|
+
Vcloud::EdgeGatewayServices.new.update(config_file)
|
18
|
+
end
|
19
|
+
|
20
|
+
arg :resource
|
21
|
+
|
22
|
+
description '
|
23
|
+
vcloud-edge_gateway allows you to configure an EdgeGateway with an input file
|
24
|
+
|
25
|
+
See https://github.com/alphagov/vcloud-edge_gateway for more info'
|
26
|
+
|
27
|
+
version Vcloud::EdgeGateway::VERSION
|
28
|
+
|
29
|
+
go!
|
30
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcloud-edge_gateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fog
|
@@ -127,7 +127,7 @@ description: Tool to configure a VMware vCloud Edge Gateway. Uses vcloud-core.
|
|
127
127
|
email:
|
128
128
|
- anna.shipman@digital.cabinet-office.gov.uk
|
129
129
|
executables:
|
130
|
-
- vcloud-edge
|
130
|
+
- vcloud-configure-edge
|
131
131
|
extensions: []
|
132
132
|
extra_rdoc_files: []
|
133
133
|
files:
|
@@ -137,7 +137,7 @@ files:
|
|
137
137
|
- LICENSE.txt
|
138
138
|
- README.md
|
139
139
|
- Rakefile
|
140
|
-
- bin/vcloud-edge
|
140
|
+
- bin/vcloud-configure-edge
|
141
141
|
- jenkins.sh
|
142
142
|
- jenkins_integration_tests.sh
|
143
143
|
- lib/vcloud/config_loader.rb
|
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
220
|
version: '0'
|
221
221
|
segments:
|
222
222
|
- 0
|
223
|
-
hash:
|
223
|
+
hash: 3594004864363045637
|
224
224
|
requirements: []
|
225
225
|
rubyforge_project:
|
226
226
|
rubygems_version: 1.8.23
|
data/bin/vcloud-edge
DELETED