esatnad
Contributor
Contributor

Not able to update tenantId for an existing logical switch using NSX API

The logical switch was defined as below,

pastedImage_0.png

And using standard vRO REST workflows,  I am not able to update the tenantId,

pastedImage_2.png

The PUT XML on this REST Url /api/2.0/vdn/virtualwires/virtualwire-939

<virtualWire>

<name>10.173.220.192_29_SW</name>

<description>interconnect logical switch network for Test vRA 10</description>

<tenantId>XXX</tenantId>

<controlPlaneMode>UNICAST_MODE</controlPlaneMode>

</virtualWire>

After the PUT method execution,

pastedImage_3.png

As you can see the Description of the logical switch has changed but not the tenantId.

No errors reported in NSX Manager

[root@nsxmvwells01 /home/secureall/secureall/logs]# less vsm.log

2018-03-21 11:28:11.563 AEDT DEBUG http-nio-127.0.0.1-7441-exec-22 VirtualWireServiceImpl:616 - Updating VirtualWire virtualwire-939 isUniversal false

2018-03-21 11:28:11.564 AEDT DEBUG http-nio-127.0.0.1-7441-exec-22 DomainObjectInterceptor:94 - =====================================afterTransactionBegin:org.hibernate.transaction.JDBCTransaction@258aab40===================

==============

Could anyone shed some light on this issue ? Appreciate the help.

Tags (2)
0 Kudos
0 Replies