ruby_nsx_cli 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea5a7c3e8920fdecd69b2d7c68c9dc1f4161723a
4
- data.tar.gz: 0be7de6169fcce0f5fdb3fbed4ad4eeef7381983
3
+ metadata.gz: 025a3647bf29bdca9ec4dbb3c44afcac877938d1
4
+ data.tar.gz: 6e58e781382b1573271178e70bb99402f43b80c3
5
5
  SHA512:
6
- metadata.gz: 7237a4b0d3dce365628c2bd3d8f2f2474c5e9396607bd836d15632d50de0fe93080f136c0883f6dbac9eaaa488559f176050d64086a3fa505bd99cf92845e4eb
7
- data.tar.gz: c333cb4153d6b02deca934522295a5e2cd3b80b2c241c0967ceab3da8c0d714a0dd56ba9064efa8c5914531019dd6be6bc954d515c0e38c6cd4c215d22dd7e3c
6
+ metadata.gz: f47528cc68c619fdc368a2bfea64b3db78740c35449feb4c969800b9ad8ef26bf5167ae9be6d2e658d7f00bf6f76426c303bb299ce917c5694ac838870e43dd7
7
+ data.tar.gz: 4d93a22e7dcf2174be99a991493442b074217f5a75d9d3567001b5f84a2cc59dc0b0b309530910097fc45b6c29ac552fb7c57394176b82aa05205a6d10fe700b
data/.gitignore CHANGED
@@ -6,4 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
- .idea/
9
+ .idea/**
@@ -98,13 +98,14 @@ module RubyNsxCli
98
98
  # @param secondary_name_server [String] Secondary DNS
99
99
  # @param lease_time [Integer] DHCP lease time. Defaults to 3600
100
100
  # @return [RestClient::Response] Response from the NSX API
101
- def add_simple_dhcp_pool(edge_id:, ip_range:, default_gateway:, domain_name:, primary_name_server:, secondary_name_server:, lease_time:)
101
+ def add_simple_dhcp_pool(edge_id:, ip_range:, subnet_mask:, default_gateway:, domain_name:, primary_name_server:, secondary_name_server:, lease_time:)
102
102
 
103
103
  api_endpoint = "/api/4.0/edges/#{edge_id}/dhcp/config/ippools"
104
104
 
105
105
  simple_dhcp_pool_hash = {
106
106
  :ip_range => ip_range,
107
107
  :default_gateway => default_gateway,
108
+ :subnet_mask => subnet_mask,
108
109
  :domain_name => domain_name,
109
110
  :primary_name_server => primary_name_server,
110
111
  :secondary_name_server => secondary_name_server,
@@ -1,5 +1,6 @@
1
1
  <ipPool>
2
2
  <ipRange><%= ip_range %></ipRange>
3
+ <subnetMask><%= subnet_mask %></subnetMask>
3
4
  <defaultGateway><%= default_gateway %></defaultGateway>
4
5
  <domainName><%= domain_name %></domainName>
5
6
  <primaryNameServer><%= primary_name_server %></primaryNameServer>
@@ -1,3 +1,3 @@
1
1
  module RubyNsxCli
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Daniel Cole"]
10
10
  spec.email = ["dannycole12@gmail.com"]
11
11
 
12
- spec.summary = %q{Simple Ruby VMWare NSX API Client to create}
12
+ spec.summary = %q{UNDER DEVELOPMENT: Simple Ruby VMWare NSX API Client to create and interact with NSX objects}
13
13
  spec.homepage = "https://github.com/daniel-cole"
14
14
  spec.license = "MIT"
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_nsx_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Cole
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-11 00:00:00.000000000 Z
11
+ date: 2017-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -88,14 +88,6 @@ extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
- - ".idea/.rakeTasks"
92
- - ".idea/dictionaries/dancole.xml"
93
- - ".idea/inspectionProfiles/Project_Default.xml"
94
- - ".idea/misc.xml"
95
- - ".idea/modules.xml"
96
- - ".idea/ruby_nsx_cli.iml"
97
- - ".idea/vcs.xml"
98
- - ".idea/workspace.xml"
99
91
  - CODE_OF_CONDUCT.md
100
92
  - Gemfile
101
93
  - Gemfile.lock
@@ -137,5 +129,6 @@ rubyforge_project:
137
129
  rubygems_version: 2.6.14
138
130
  signing_key:
139
131
  specification_version: 4
140
- summary: Simple Ruby VMWare NSX API Client to create
132
+ summary: 'UNDER DEVELOPMENT: Simple Ruby VMWare NSX API Client to create and interact
133
+ with NSX objects'
141
134
  test_files: []