morpheus-cli 4.1.5 → 4.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/morpheus/api/api_client.rb +4 -4
- data/lib/morpheus/api/network_subnets_interface.rb +1 -0
- data/lib/morpheus/api/security_groups_interface.rb +1 -1
- data/lib/morpheus/api/{network_subnet_types_interface.rb → subnet_types_interface.rb} +3 -3
- data/lib/morpheus/api/subnets_interface.rb +1 -1
- data/lib/morpheus/cli/appliance_settings_command.rb +1 -3
- data/lib/morpheus/cli/cli_command.rb +4 -0
- data/lib/morpheus/cli/credentials.rb +4 -5
- data/lib/morpheus/cli/error_handler.rb +8 -8
- data/lib/morpheus/cli/groups.rb +1 -1
- data/lib/morpheus/cli/license.rb +6 -12
- data/lib/morpheus/cli/mixins/infrastructure_helper.rb +375 -0
- data/lib/morpheus/cli/monitoring_alerts_command.rb +0 -2
- data/lib/morpheus/cli/network_groups_command.rb +116 -75
- data/lib/morpheus/cli/networks_command.rb +65 -767
- data/lib/morpheus/cli/remote.rb +1 -2
- data/lib/morpheus/cli/security_groups.rb +26 -33
- data/lib/morpheus/cli/shell.rb +12 -16
- data/lib/morpheus/cli/subnets_command.rb +708 -0
- data/lib/morpheus/cli/version.rb +1 -1
- data/lib/morpheus/cli/whitelabel_settings_command.rb +1 -3
- data/lib/morpheus/cli.rb +1 -0
- data/lib/morpheus/terminal.rb +1 -2
- metadata +4 -3
data/lib/morpheus/cli/version.rb
CHANGED
@@ -3,15 +3,13 @@ require 'morpheus/cli/cli_command'
|
|
3
3
|
class Morpheus::Cli::WhitelabelSettingsCommand
|
4
4
|
include Morpheus::Cli::CliCommand
|
5
5
|
# include Morpheus::Cli::AccountsHelper
|
6
|
-
|
6
|
+
set_command_hidden # hide until 4.2.0
|
7
7
|
set_command_name :'whitelabel-settings'
|
8
8
|
|
9
9
|
register_subcommands :get, :update
|
10
10
|
register_subcommands :update_images, :reset_image, :download_image, :view_image
|
11
11
|
set_default_subcommand :get
|
12
12
|
|
13
|
-
set_command_hidden # hiding until 4.2 release
|
14
|
-
|
15
13
|
def initialize()
|
16
14
|
@image_types = {'header-logo' => 'headerLogo', 'footer-logo' => 'footerLogo', 'login-logo' => 'loginLogo', 'favicon' => 'favicon'}
|
17
15
|
end
|
data/lib/morpheus/cli.rb
CHANGED
@@ -129,6 +129,7 @@ module Morpheus
|
|
129
129
|
load 'morpheus/cli/logs_command.rb'
|
130
130
|
load 'morpheus/cli/policies_command.rb'
|
131
131
|
load 'morpheus/cli/networks_command.rb'
|
132
|
+
load 'morpheus/cli/subnets_command.rb'
|
132
133
|
load 'morpheus/cli/network_groups_command.rb'
|
133
134
|
load 'morpheus/cli/network_pools_command.rb'
|
134
135
|
load 'morpheus/cli/network_services_command.rb'
|
data/lib/morpheus/terminal.rb
CHANGED
@@ -433,8 +433,7 @@ module Morpheus
|
|
433
433
|
end
|
434
434
|
exit_code, err = Morpheus::Cli::CliRegistry.parse_command_result(result)
|
435
435
|
rescue => e
|
436
|
-
exit_code = Morpheus::Cli::ErrorHandler.new(@stderr).handle_error(e)
|
437
|
-
err = e
|
436
|
+
exit_code, err = Morpheus::Cli::ErrorHandler.new(@stderr).handle_error(e)
|
438
437
|
ensure
|
439
438
|
# should always try to stop it
|
440
439
|
# if @benchmarking
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morpheus-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Estes
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-
|
14
|
+
date: 2019-11-01 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -217,7 +217,6 @@ files:
|
|
217
217
|
- lib/morpheus/api/network_pools_interface.rb
|
218
218
|
- lib/morpheus/api/network_proxies_interface.rb
|
219
219
|
- lib/morpheus/api/network_services_interface.rb
|
220
|
-
- lib/morpheus/api/network_subnet_types_interface.rb
|
221
220
|
- lib/morpheus/api/network_subnets_interface.rb
|
222
221
|
- lib/morpheus/api/network_types_interface.rb
|
223
222
|
- lib/morpheus/api/networks_interface.rb
|
@@ -239,6 +238,7 @@ files:
|
|
239
238
|
- lib/morpheus/api/service_plans_interface.rb
|
240
239
|
- lib/morpheus/api/setup_interface.rb
|
241
240
|
- lib/morpheus/api/storage_providers_interface.rb
|
241
|
+
- lib/morpheus/api/subnet_types_interface.rb
|
242
242
|
- lib/morpheus/api/subnets_interface.rb
|
243
243
|
- lib/morpheus/api/task_sets_interface.rb
|
244
244
|
- lib/morpheus/api/tasks_interface.rb
|
@@ -362,6 +362,7 @@ files:
|
|
362
362
|
- lib/morpheus/cli/security_groups.rb
|
363
363
|
- lib/morpheus/cli/shell.rb
|
364
364
|
- lib/morpheus/cli/storage_providers_command.rb
|
365
|
+
- lib/morpheus/cli/subnets_command.rb
|
365
366
|
- lib/morpheus/cli/tasks.rb
|
366
367
|
- lib/morpheus/cli/tenants_command.rb
|
367
368
|
- lib/morpheus/cli/user_groups_command.rb
|