remove_location
Deletes a city, building, wiring closet, or rack with everything inside, after devices are moved out. Save the temporary copy with save_network to keep the change.
Instructions
Delete a city, building, wiring closet or rack with everything inside it. Devices must be moved out first (move_to_location); the power units Packet Tracer puts in racks go with it. Packet Tracer has no call for this, so pktctl edits the network as bytes and opens the result as a temporary copy; save with save_network and a path to keep the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the city, building, wiring closet or rack to delete, as listed by `list_locations`. Everything inside it goes too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The temporary copy Packet Tracer now has open. Your own file is untouched: save with `save_network` and a path to keep the change there. | |
| removed | Yes | ||
| power_units_removed | No | Power Distribution Devices that were inside and were removed with it. |