morpheus-cli 9.0.1 → 9.1.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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +1 -1
  3. data/lib/morpheus/api/affinity_groups_interface.rb +46 -0
  4. data/lib/morpheus/api/api_client.rb +17 -0
  5. data/lib/morpheus/api/clouds_interface.rb +42 -0
  6. data/lib/morpheus/api/clusters_interface.rb +55 -1
  7. data/lib/morpheus/api/distributed_workers_interface.rb +41 -0
  8. data/lib/morpheus/api/host_vm_groups_interface.rb +37 -0
  9. data/lib/morpheus/api/servers_interface.rb +8 -0
  10. data/lib/morpheus/api/virtual_switches_interface.rb +9 -0
  11. data/lib/morpheus/cli/commands/affinity_groups_command.rb +554 -0
  12. data/lib/morpheus/cli/commands/backups_command.rb +11 -0
  13. data/lib/morpheus/cli/commands/clouds.rb +421 -29
  14. data/lib/morpheus/cli/commands/clusters.rb +507 -20
  15. data/lib/morpheus/cli/commands/distributed_workers_command.rb +282 -0
  16. data/lib/morpheus/cli/commands/host_vm_groups_command.rb +423 -0
  17. data/lib/morpheus/cli/commands/hosts.rb +72 -1
  18. data/lib/morpheus/cli/commands/instances.rb +12 -1
  19. data/lib/morpheus/cli/commands/networks_command.rb +35 -3
  20. data/lib/morpheus/cli/commands/virtual_switches_command.rb +336 -0
  21. data/lib/morpheus/cli/mixins/affinity_helper.rb +118 -0
  22. data/lib/morpheus/cli/mixins/infrastructure_helper.rb +143 -4
  23. data/lib/morpheus/cli/option_types.rb +36 -1
  24. data/lib/morpheus/cli/version.rb +1 -1
  25. data/test/api/affinity_groups_interface_test.rb +43 -0
  26. data/test/api/clouds_interface_test.rb +67 -0
  27. data/test/api/host_vm_groups_interface_test.rb +35 -0
  28. data/test/cli/affinity_groups_cloud_cluster_scope_test.rb +270 -0
  29. data/test/cli/affinity_groups_cluster_scope_test.rb +171 -0
  30. data/test/cli/affinity_groups_test.rb +57 -0
  31. data/test/cli/affinity_groups_violations_scope_test.rb +141 -0
  32. data/test/cli/affinity_helper_test.rb +367 -0
  33. data/test/cli/backups_test.rb +212 -0
  34. data/test/cli/clusters_uuid_test.rb +131 -0
  35. data/test/cli/distributed_workers_test.rb +68 -0
  36. data/test/cli/host_vm_groups_cluster_scope_test.rb +187 -0
  37. data/test/cli/host_vm_groups_test.rb +63 -0
  38. data/test/cli/infrastructure_helper_cluster_resolver_test.rb +250 -0
  39. metadata +39 -2
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: 9.0.1
4
+ version: 9.1.0
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: 2026-07-24 00:00:00.000000000 Z
14
+ date: 2026-10-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: tins
@@ -218,6 +218,7 @@ files:
218
218
  - lib/morpheus/api/account_users_interface.rb
219
219
  - lib/morpheus/api/accounts_interface.rb
220
220
  - lib/morpheus/api/activity_interface.rb
221
+ - lib/morpheus/api/affinity_groups_interface.rb
221
222
  - lib/morpheus/api/api_client.rb
222
223
  - lib/morpheus/api/appliance_settings_interface.rb
223
224
  - lib/morpheus/api/approvals_interface.rb
@@ -257,6 +258,7 @@ files:
257
258
  - lib/morpheus/api/datastores_interface.rb
258
259
  - lib/morpheus/api/deploy_interface.rb
259
260
  - lib/morpheus/api/deployments_interface.rb
261
+ - lib/morpheus/api/distributed_workers_interface.rb
260
262
  - lib/morpheus/api/email_templates_interface.rb
261
263
  - lib/morpheus/api/environments_interface.rb
262
264
  - lib/morpheus/api/execute_schedules_interface.rb
@@ -268,6 +270,7 @@ files:
268
270
  - lib/morpheus/api/guidance_interface.rb
269
271
  - lib/morpheus/api/guidance_settings_interface.rb
270
272
  - lib/morpheus/api/health_interface.rb
273
+ - lib/morpheus/api/host_vm_groups_interface.rb
271
274
  - lib/morpheus/api/hub_interface.rb
272
275
  - lib/morpheus/api/image_builder_boot_scripts_interface.rb
273
276
  - lib/morpheus/api/image_builder_image_builds_interface.rb
@@ -399,6 +402,7 @@ files:
399
402
  - lib/morpheus/api/vdi_pools_interface.rb
400
403
  - lib/morpheus/api/virtual_images_interface.rb
401
404
  - lib/morpheus/api/virtual_servers_interface.rb
405
+ - lib/morpheus/api/virtual_switches_interface.rb
402
406
  - lib/morpheus/api/whitelabel_settings_interface.rb
403
407
  - lib/morpheus/api/whoami_interface.rb
404
408
  - lib/morpheus/api/wiki_interface.rb
@@ -409,6 +413,7 @@ files:
409
413
  - lib/morpheus/cli/commands/access_token_command.rb
410
414
  - lib/morpheus/cli/commands/account_groups_command.rb
411
415
  - lib/morpheus/cli/commands/activity_command.rb
416
+ - lib/morpheus/cli/commands/affinity_groups_command.rb
412
417
  - lib/morpheus/cli/commands/alias_command.rb
413
418
  - lib/morpheus/cli/commands/appliance_settings_command.rb
414
419
  - lib/morpheus/cli/commands/approvals_command.rb
@@ -449,6 +454,7 @@ files:
449
454
  - lib/morpheus/cli/commands/deploy.rb
450
455
  - lib/morpheus/cli/commands/deployments.rb
451
456
  - lib/morpheus/cli/commands/deploys.rb
457
+ - lib/morpheus/cli/commands/distributed_workers_command.rb
452
458
  - lib/morpheus/cli/commands/echo_command.rb
453
459
  - lib/morpheus/cli/commands/edit_profile_command.rb
454
460
  - lib/morpheus/cli/commands/edit_rc_command.rb
@@ -465,6 +471,7 @@ files:
465
471
  - lib/morpheus/cli/commands/guidance_settings.rb
466
472
  - lib/morpheus/cli/commands/health_command.rb
467
473
  - lib/morpheus/cli/commands/history_command.rb
474
+ - lib/morpheus/cli/commands/host_vm_groups_command.rb
468
475
  - lib/morpheus/cli/commands/hosts.rb
469
476
  - lib/morpheus/cli/commands/hub.rb
470
477
  - lib/morpheus/cli/commands/image_builder_command.rb
@@ -594,6 +601,7 @@ files:
594
601
  - lib/morpheus/cli/commands/version_command.rb
595
602
  - lib/morpheus/cli/commands/view.rb
596
603
  - lib/morpheus/cli/commands/virtual_images.rb
604
+ - lib/morpheus/cli/commands/virtual_switches_command.rb
597
605
  - lib/morpheus/cli/commands/whitelabel_settings_command.rb
598
606
  - lib/morpheus/cli/commands/whoami.rb
599
607
  - lib/morpheus/cli/commands/wiki_command.rb
@@ -604,6 +612,7 @@ files:
604
612
  - lib/morpheus/cli/errors.rb
605
613
  - lib/morpheus/cli/expression_parser.rb
606
614
  - lib/morpheus/cli/mixins/accounts_helper.rb
615
+ - lib/morpheus/cli/mixins/affinity_helper.rb
607
616
  - lib/morpheus/cli/mixins/backups_helper.rb
608
617
  - lib/morpheus/cli/mixins/deployments_helper.rb
609
618
  - lib/morpheus/cli/mixins/execution_request_helper.rb
@@ -643,18 +652,32 @@ files:
643
652
  - lib/morpheus/terminal.rb
644
653
  - lib/morpheus/util.rb
645
654
  - morpheus-cli.gemspec
655
+ - test/api/affinity_groups_interface_test.rb
646
656
  - test/api/clients_interface_test.rb
657
+ - test/api/clouds_interface_test.rb
647
658
  - test/api/containers_interface_test.rb
659
+ - test/api/host_vm_groups_interface_test.rb
648
660
  - test/api/instances_interface_test.rb
649
661
  - test/api/network_routers_interface_test.rb
650
662
  - test/api/systems_interface_test.rb
651
663
  - test/api/whoami_interface_test.rb
652
664
  - test/cli/access_token_test.rb
665
+ - test/cli/affinity_groups_cloud_cluster_scope_test.rb
666
+ - test/cli/affinity_groups_cluster_scope_test.rb
667
+ - test/cli/affinity_groups_test.rb
668
+ - test/cli/affinity_groups_violations_scope_test.rb
669
+ - test/cli/affinity_helper_test.rb
653
670
  - test/cli/auth_test.rb
671
+ - test/cli/backups_test.rb
654
672
  - test/cli/cli_test.rb
655
673
  - test/cli/clients_test.rb
674
+ - test/cli/clusters_uuid_test.rb
656
675
  - test/cli/containers_test.rb
676
+ - test/cli/distributed_workers_test.rb
657
677
  - test/cli/help_test.rb
678
+ - test/cli/host_vm_groups_cluster_scope_test.rb
679
+ - test/cli/host_vm_groups_test.rb
680
+ - test/cli/infrastructure_helper_cluster_resolver_test.rb
658
681
  - test/cli/instances_test.rb
659
682
  - test/cli/man_test.rb
660
683
  - test/cli/migrations_test.rb
@@ -695,18 +718,32 @@ signing_key:
695
718
  specification_version: 4
696
719
  summary: Provides CLI Interface to the Morpheus Public/Private Cloud Appliance
697
720
  test_files:
721
+ - test/api/affinity_groups_interface_test.rb
698
722
  - test/api/clients_interface_test.rb
723
+ - test/api/clouds_interface_test.rb
699
724
  - test/api/containers_interface_test.rb
725
+ - test/api/host_vm_groups_interface_test.rb
700
726
  - test/api/instances_interface_test.rb
701
727
  - test/api/network_routers_interface_test.rb
702
728
  - test/api/systems_interface_test.rb
703
729
  - test/api/whoami_interface_test.rb
704
730
  - test/cli/access_token_test.rb
731
+ - test/cli/affinity_groups_cloud_cluster_scope_test.rb
732
+ - test/cli/affinity_groups_cluster_scope_test.rb
733
+ - test/cli/affinity_groups_test.rb
734
+ - test/cli/affinity_groups_violations_scope_test.rb
735
+ - test/cli/affinity_helper_test.rb
705
736
  - test/cli/auth_test.rb
737
+ - test/cli/backups_test.rb
706
738
  - test/cli/cli_test.rb
707
739
  - test/cli/clients_test.rb
740
+ - test/cli/clusters_uuid_test.rb
708
741
  - test/cli/containers_test.rb
742
+ - test/cli/distributed_workers_test.rb
709
743
  - test/cli/help_test.rb
744
+ - test/cli/host_vm_groups_cluster_scope_test.rb
745
+ - test/cli/host_vm_groups_test.rb
746
+ - test/cli/infrastructure_helper_cluster_resolver_test.rb
710
747
  - test/cli/instances_test.rb
711
748
  - test/cli/man_test.rb
712
749
  - test/cli/migrations_test.rb