#How to remove a port from broadcast-domain using REST API?

1 messages · Page 1 of 1 (latest)

wraith veldt
#

As per the API docs (attached the screenshot), we can patch the port to remove it from the broadcast domain. But, i am not able to find the correct payload to be used for removing the port from broadcast domain. Tried passing "none/None/-/Cluster/cluster/EMPTY_STRING" as the broadcast domain "name", but it errors out reporting "Broadcast Domain Name "-" does not exist in IPspace "Default"., target: broadcast_domain.ipspace.name (code: 1967088)"

Can someone help me in this regards?

Thank you

heavy cosmos
#

As far as I can see, despite it saying remove ports there, it is (now) intended that REST API does not remove ports from broadcast domains.

Instead, if you're intending to move the port into an ifgrp, just do so and the broadcast domain should automatically switch. Or if you have an already existing broadcast domain you want to move it to, you can move it into that BD by specifying it.

To move, all you need is this:

wraith veldt
#

I am aware how to move a port between broadcast domain. I need a way to remove port from existing broadcast domain and thats what i am trying with rest api