exclude_network_on_port_profile
Exclude a VLAN network from a switch port profile so it stops being tagged on every port using that profile. Confirmation is required to apply.
Instructions
Atomically exclude (untag) a VLAN network from a switch port profile.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.
profile_id: REQUIRED. The port profile id; from list_port_profiles (its _id).
network_id: REQUIRED. The networkconf id to exclude; from list_networks (its id).
confirm: must be True to execute. This is a live PUT to a SHARED port profile
(its exclusion list affects every switch port using it); it refuses with an
error dict when confirm is False, before any controller call.
Inverse of allow_network_on_port_profile: fresh-reads the profile, adds
network_id to excluded_networkconf_ids, PUTs, and returns
{profile, tagged_networks} with names resolved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| confirm | No | ||
| network_id | Yes | ||
| profile_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||