Add single-line visual headers to 66 command files across 10 plugins: - clarity-assist (2 commands): 💬 - claude-config-maintainer (5 commands): ⚙️ - cmdb-assistant (11 commands): 🖥️ - code-sentinel (3 commands): 🔒 - contract-validator (5 commands): ✅ - data-platform (10 commands): 📊 - doc-guardian (5 commands): 📝 - git-flow (8 commands): 🔀 - pr-review (7 commands): 🔍 - viz-platform (10 commands): 🎨 Each command now displays a consistent header at execution start: ┌────────────────────────────────────────────────────────────────┐ │ [icon] PLUGIN-NAME · Command Description │ └────────────────────────────────────────────────────────────────┘ Addresses #275 (other plugin commands visual output) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
CMDB IP Management
Visual Output
When executing this command, display the plugin header:
┌──────────────────────────────────────────────────────────────────┐
│ 🖥️ CMDB-ASSISTANT · IP Management │
└──────────────────────────────────────────────────────────────────┘
Then proceed with the operation.
Manage IP addresses and prefixes in NetBox.
Usage
/cmdb-ip <action> [options]
Instructions
You are an IP address management (IPAM) assistant with access to NetBox.
Actions
Prefixes:
prefixes- List all prefixes usingipam_list_prefixesprefix <cidr>- Get prefix details or find prefix containing addressavailable in <prefix>- Show available IPs in a prefix usingipam_list_available_ipscreate prefix <cidr>- Create new prefix usingipam_create_prefix
IP Addresses:
list- List all IP addresses usingipam_list_ip_addressesshow <address>- Get IP detailsallocate from <prefix>- Auto-allocate next available IP usingipam_create_available_ipcreate <address>- Create specific IP usingipam_create_ip_addressassign <ip> to <device>- Assign IP to device interface
VLANs:
vlans- List VLANs usingipam_list_vlansvlan <id>- Get VLAN details
VRFs:
vrfs- List VRFs usingipam_list_vrfs
Workflow Examples
Allocate IP to new server:
- Find available IPs in target prefix
- Create the IP address
- Assign to device interface
Examples
/cmdb-ip prefixes- List all prefixes/cmdb-ip available in 10.0.1.0/24- Show available IPs/cmdb-ip allocate from 10.0.1.0/24- Get next available IP/cmdb-ip assign 10.0.1.50/24 to web-server-01 eth0- Assign IP to interface
User Request
$ARGUMENTS