VMware Networking Community
CFCSpath
Contributor
Contributor

How to Reset Virtual Wire Increment ID

While experimenting with the product, I created several Logical Switches and subsequently deleted them. I noticed that there is a incremental counter for virtualwire id and that even if I have no logical switches defined -- creating a new logical switch will increment the associated virtualwire id by 1 from the last created logical switch before it was deleted.

I looked with get responses in the API and clearly nothing is defined for virtualwires:

/api/2.0/vdn/virtualwires

<?xml version="1.0" encoding="UTF-8"?>

<virtualWires>

    <dataPage>

        <pagingInfo>

            <pageSize>20</pageSize>

            <startIndex>0</startIndex>

            <totalCount>0</totalCount>

            <sortOrderAscending>true</sortOrderAscending>

        </pagingInfo>

    </dataPage>

</virtualWires>

How can we reset the virtualwire counter to ensure that when I create the next logical switch, it will have an associated virtualwire id of 1.

Tags (1)
0 Kudos
1 Reply
aburke
Contributor
Contributor

No. This is not possible.

There is no need for such a feature. The virtualwire-id is tied to the object for its lifecycle.

0 Kudos