• This topic has 1 reply, 1 voice, and was last updated March 27, 2024 by Tech W.

Retrieving ‘Protected Network’ for a NIC in a VPG

  • I have spent some time on this and cannot seem to see anyone in the swagger API where it retrieves the ‘protected network’ property that shows what network settings of the VMs Nics are at present. NOT ITS FAILOVER OR TEST NETWORK.

    The reason I want to query this is because I want to iterate through a list of Nics in VPG, check that the failover network matches the protected network and where not match, update. If I could query the current protected network this script would be much more efficient than me just blanket  setting all every single run of the script.

    I will try and post a picture of the property i am looking to retrieve.

    I have already tried swagger items below – they dont retrieve the protected network property, only failover and test networks.

    ​/v1​/vpgSettings​/{vpgSettingsIdentifier}​/vms​/{vmIdentifier}​/nics

    ​/v1​/vpgSettings​/{vpgSettingsIdentifier}​/vms​/{vmIdentifier}​/nics​/{nicIdentifier}

    seems you cant post pictures…sigh.

    The protected network property is visible in the GUI under edit vpg > nics.

You must be logged in to create new topics. Click here to login