Forum Discussion

Prakash_Krishna's avatar
Prakash_Krishna
Icon for Nimbostratus rankNimbostratus
Jul 15, 2016

iControl - how to set 'Inherit traffic group'

->Path in Device ,To set 'Inherit traffic group' from current partition / path in a Virtual Address in LocalTraffic->VirtualServers->VirtualAddress->TrafficGroup.

 

->I am using iControl API's. -> Device version 12.0.0(build 0.0.606)

 

What is the corresponding API to set this field 'Inherited traffic group' in Virtual address.

 

-> In F5 Device, if you choose 'Inherited Traffic Group' then update it. for its corresponding jSON data showing inherited traffic group as 'true' but if you pass 'Inherited Traffic Group' as a 'true' through api then it is always setting as 'false' in device.

 

Please anyone help me for this query , what is the correct API ?

 

2 Replies

  • Hi,

     

    Pls you find more details from here -> https://clouddocs.f5.com/api/icontrol-rest/APIRef_tm_ltm_virtual-address.html

     

  • Here's a populated virtual-address object in iControl REST:

    {
    "kind": "tm:ltm:virtual-address:virtual-addressstate"
    "name": "192.168.102.60"
    "partition": "Common"
    "fullPath": "/Common/192.168.102.60"
    "generation": 1
    "selfLink": "https://localhost/mgmt/tm/ltm/virtual-address/~Common~192.168.102.60?ver=12.1.0"
    "address": "192.168.102.60"
    "arp": "enabled"
    "autoDelete": "true"
    "connectionLimit": 0
    "enabled": "yes"
    "floating": "enabled"
    "icmpEcho": "enabled"
    "inheritedTrafficGroup": "false"
    "mask": "255.255.255.255"
    "routeAdvertisement": "disabled"
    "serverScope": "any"
    "spanning": "disabled"
    "trafficGroup": "/Common/traffic-group-1"
    "trafficGroupReference": {
    "link": "https://localhost/mgmt/tm/cm/traffic-group/~Common~traffic-group-1?ver=12.1.0"
    }-
    "unit": 1
    }
    

    the settings that you would need to modify could include:

    • inheritedTrafficGroup (true or false)
    • floating (enabled or disabled)
    • trafficGroup (the traffic group you wish to inherit)