vinfra service compute router iface remove
Remove an interface from a virtual router:
usage: vinfra service compute router iface remove --interface <network> router
--interface <network>
- Network name or ID
router
- Virtual router name or ID
Example:
# vinfra service compute router iface remove myrouter --interface private2 +--------------------------------------+-------------+-----------------+--------+ | network_id | is_external | ip_addresses | status | +--------------------------------------+-------------+-----------------+--------+ | 720e45bc-4225-49de-9346-26513d8d1262 | True | - 10.94.129.76 | ACTIVE | | e6f146ce-a6d0-48b2-9e4f-64a128ce97ae | False | - 192.168.128.1 | ACTIVE | +--------------------------------------+-------------+-----------------+--------+
This command removes the interface from the virtual network private2
from the virtual router myrouter
.