Skip to content

Add the environment tools of the POC Onboarding Toolkit (slice 2) - #96

Open
mbomb67 wants to merge 4 commits into
poc-onboarding-diagnosticsfrom
poc-onboarding-environments
Open

mbomb67 wants to merge 4 commits into
poc-onboarding-diagnosticsfrom
poc-onboarding-environments

Conversation

@mbomb67

@mbomb67 mbomb67 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

What

Six more onb_ MCP tool actions so the agent can take a verified resource handler to an orderable environment without the UI (stacked on #95; package 0.2.0):

  • onb_handler_locations lists regions, locations or clusters with what is already imported, plus an AWS region's VPCs.
  • onb_import_environments creates environments the way the Import locations dialog does and brings subnets (AWS, Azure) or cluster networks (vCenter) with them; existing locations are reported, not duplicated.
  • onb_trim_environment shortens the order form: pins key pair, security group, EBS type, resource group, storage type, datastore and subnet to one value (a required single-option field is hidden), removes the optional technology parameters, and constrains the size field to a short list. report profile only lists the form.
  • onb_import_os_build imports an AMI, Azure image or vCenter template into an OS build and attaches it to the environments, reusing a build by name so one blueprint spans clouds.
  • onb_configure_custom_server recreates or activates the Custom Server blueprint, enables every environment and sets a hostname template.
  • onb_remove_environment deletes a wrongly imported environment (refuses while servers live in it).

Tested on mb-dev

Function Evidence
Sync and install JOB-vdxw2owv (6 created, 3 refreshed), JOB-djny01ln (3 tools flipped to synchronous)
onb_handler_locations JOB-ouddnn0n AWS: 17 regions, us-east-2 VPCs listed; JOB-kzqbc76i vCenter: 1 cluster
onb_import_environments JOB-twmiio8i created ENV-1hq55817 for us-east-2 / vpc-3427ae5f with 3 subnets
onb_trim_environment JOB-9r3jz7b1 report on ENV-7tfzykey (10 visible fields); inline poc_minimal on ENV-1hq55817: 11 actions, form reduced to instance_type with 5 sizes
onb_import_os_build JOB-1yydi02r vCenter template into new build "POC Toolkit Test Build" attached to ENV-fli7gxi8; JOB-gjf3o1pw Azure urn in eastus attached to ENV-19d7qhfq (CloudBolt reused its existing "Ubuntu 24.04" build, now reported in notes)
onb_configure_custom_server inline: BP-lnegz32l ACTIVE, orderable, tier all environments
onb_remove_environment inline: ENV-1hq55817 removed after the test

Left on mb-dev: OS build "POC Toolkit Test Build" (OSB-ljzdmegh) attached to the vCenter Coretest environment. AWS AMI import not exercised (no AMI id at hand); the AWS path shares the vCenter code path through add_template.

🤖 Generated with Claude Code

mbomb67 and others added 3 commits October 19, 2026 11:43
onb_handler_locations lists regions, locations or clusters (and an AWS
region's VPCs) with what is already imported; onb_import_environments
creates environments the way the Import locations dialog does and brings
subnets or cluster networks with them; onb_trim_environment pins and
removes technology parameters so the Custom Server order form shows only
the size, network and password a POC needs; onb_import_os_build imports
an AMI, Azure image or vCenter template into an OS build that one
blueprint can use across clouds; onb_configure_custom_server makes the
shipped blueprint orderable with a hostname template; and
onb_remove_environment undoes a wrong import. Package 0.2.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…value pins

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…e duplicated VPC name from environment names

The handler service class is abstract and cannot be instantiated from a plug-in.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant