Reply to Message

View discussion in a popup

Replying to:
mhops
Enthusiast
Enthusiast

Hello LucD, I apologize for the late answer, I have investigated and tried to modify the code you provided, but I had no success. There's no error either, just info saying the configuration was completed, but nothing has changed on the vspanSession.

In Taks Events GUI:---------------------------------------------------------
Task: Reconfigure vSphere Distributed Switch
05/25/2021, 3:22:42 PM The vSphere Distributed Switch FE-LAB-VDS01 in LAB was reconfigured. Modified: config.configVersion: "244" -> "245"; Added: Deleted: 

In vpxd log:-------------------------------------------------------------------

 BEGIN task-340194 -- dvs-1426 -- vim.DistributedVirtualSwitch.reconfigure -- 525030df-85d6-6884-ecde-731f47070f12(52ef6c61-8e71-1f06-4c06-337154a72fbd)
2021-05-25T13:22:42.806Z info vpxd[07339] [Originator@6876 sub=vspan opID=53f92c34] Updating vspanSession config in VDS [FE-LAB-VDS01] from configSpec
2021-05-25T13:22:42.811Z info vpxd[07339] [Originator@6876 sub=ipfix opID=53f92c34] [Ipfix::ApplySpecToConfigInfo] updating ipfixConfig in VDS [FE-LAB-VDS01] configInfo based on what is set in the configSpec.
2021-05-25T13:22:42.858Z info vpxd[07612] [Originator@6876 sub=MoCluster opID=HB-host-7344@32208-243b5ee3] Host [vim.HostSystem:host-7344,vsan-lab-esx01.ubisoft.org] has 1 HDCS
resources
2021-05-25T13:22:42.873Z info vpxd[07333] [Originator@6876 sub=vpxLro opID=klkrlhvw-dcdn-h5:70218441-ea] [VpxLRO] -- FINISH lro-54326244
2021-05-25T13:22:42.926Z info vpxd[07339] [Originator@6876 sub=vpxLro opID=53f92c34] [VpxLRO] -- FINISH task-340194

---------------------------------


To give a bit of context if it helps, the VM has 2 NetowrkDevices, but only one of them was configured in the PortMirroring session, which is the one I would like to remove whit this script.  

Thanks a lot for your time.

Reply
0 Kudos