vcloud-edge_gateway 0.1.0 → 0.2.0

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.2.0 (2014-02-21)
2
+
3
+ Features:
4
+
5
+ - Add very basic CLI. Only configures - does not yet diff
6
+
1
7
  ## 0.1.0 (2014-02-20)
2
8
 
3
9
  Features:
data/README.md CHANGED
@@ -18,7 +18,9 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO
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
- #Configure edge gateway services
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
@@ -1,6 +1,6 @@
1
1
  module Vcloud
2
2
  module EdgeGateway
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
6
6
 
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.1.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-20 00:00:00.000000000 Z
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: -2116252486927951456
223
+ hash: 3594004864363045637
224
224
  requirements: []
225
225
  rubyforge_project:
226
226
  rubygems_version: 1.8.23
data/bin/vcloud-edge DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- begin
4
- require 'rubygems'
5
- gem 'vcloud-edge_gateway'
6
- rescue LoadError
7
- end
8
-
9
- require 'vcloud/edge_gateway'
10
-
11
- puts "Test message just to string this together"
12
- puts "No CLI for vCloud Edge Gateway yet"