move_to_location
Move a device or entire location, like a wiring closet, to a new path in a Packet Tracer workspace; devices placed into closets land on racks or tables.
Instructions
Move a device, or a whole location such as a wiring closet, to another place in the physical workspace, for example a switch into Home City/Corporate Office/Main Wiring Closet. Devices moved into a wiring closet land on its rack or table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| into | Yes | Path of the destination, for example `Home City/Corporate Office/Main Wiring Closet`. Devices moved into a wiring closet land on its rack or table, as Packet Tracer places them. | |
| device | No | Device to move, by its name in `list_devices`. Give this or `location`. | |
| location | No | Location to move, by its path in `list_locations`. Give this or `device`. | |
| x_percent | No | Where to leave it inside the destination, as a percentage of the room's width and height: 50 and 50 is the middle. | |
| y_percent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The temporary copy Packet Tracer now has open, when the move went through the network file. Save with `save_network` and a path to keep it. | |
| moved | Yes | The device name or location name that moved. | |
| now_in | Yes | Path of the location it ended up in. |