Add router interface
bycloud networking routers-add-interface --router_id <router_id> [flags]Add an interface (subnet or port) to a router
Options
--router_id
stringrequiredRouter ID
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
--port_id
stringoptionalPort to connect (mutually exclusive with subnet_id)
--subnet_id
stringoptionalSubnet to connect (mutually exclusive with port_id)
Command
bycloud networking routers-add-interface \--router_id "abc-123"
Output
ID 550e8400-e29b-41d4-a716-446655440000SUBNET_ID 550e8400-e29b-41d4-a716-446655440000PORT_ID 550e8400-e29b-41d4-a716-446655440000NETWORK_ID 550e8400-e29b-41d4-a716-446655440000