PIF_VLAN_STILL_EXISTS
-
Hi,
I noticed when I create a new PIF and assign a VLAN then want to delete it, I can't do it as long as it has a VLAN. But for example I had VLAN 1000 and I couldn't erase it to have None, and was getting the error PIF_VLAN_STILL_EXISTS. I had to instead write -1 in the VLAN field, then it cleared the VLAN. Otherwise I couldn't do it. I think it's a good place to have an info button or smth that says to delete you need to write -1. Thanks for your tool!!! -
Hi and thanks for the report. Indeed, we could probably add this in XO to automatically clear the VLAN field to remove it if we catch the
PIF_VLAN_STILL_EXISTS
exception.Any objection @julien-f ?
-
@olivierlambert I'm not very familiar with the way VLANs work, but frmo I understand, this should work, it will remove the PIF from the VLAN and then destroy it.
-
@olivierlambert I can do it pretty easily, but there may be a good reason for XAPI to throw this error instead.