Forum Discussion

cjunior_138458's avatar
cjunior_138458
Icon for Altostratus rankAltostratus
May 11, 2015
Solved

iControl REST - vs profile type

Hi,

 

for another occasion, I made an vba spreadsheet that exports a script to run on tmsh and publish a virtual server and adjacents. Someone asked me to export the virtual server to a spreadsheet. I did it with powershell and iControl SOAP. Now I'm writing another version using iControl REST to include LTM policies and other benefits.

 

My question is:

 

How do I do a reverse engineering to know, e.g.

 

/mgmt/tm/ltm/virtual/~Common~MyVS/profiles/~Common~tcp/ belongs to /mgmt/tm/ltm/profile/tcp/~Common~tcp/ ?

 

I did not see in the virtual server result anything to indicate which way I have to go through to get the profile, just your own reference and context... Am I doing something wrong here?

 

I intend to separate in columns, types of profiles e.g. http, tcp, ssl.

 

For now, I did a workaround with approach profile name, search for affinity and try-catch for dummy exceptions.

 

Any help I thank you.

 

  • i understand it is not available in current version but is targeted in 12.0.0.

     

6 Replies

  • i understand it is not available in current version but is targeted in 12.0.0.

     

    • cjunior's avatar
      cjunior
      Icon for Nacreous rankNacreous
      OK, let's wait for this new tick/tock version. I wanted to have shared the script for you evaluate where to improve, but some problem occurs here, so thank you.
    • cjunior's avatar
      cjunior
      Icon for Nacreous rankNacreous
      I'm able to post the script in codeshare now, if someone are interested in looking at where I can improve the code, I thank you.     https://devcentral.f5.com/s/articles/bigip-inventory-icontrol-rest
  • i understand it is not available in current version but is targeted in 12.0.0.

     

    • cjunior's avatar
      cjunior
      Icon for Nacreous rankNacreous
      OK, let's wait for this new tick/tock version. I wanted to have shared the script for you evaluate where to improve, but some problem occurs here, so thank you.
    • cjunior's avatar
      cjunior
      Icon for Nacreous rankNacreous
      I'm able to post the script in codeshare now, if someone are interested in looking at where I can improve the code, I thank you. https://devcentral.f5.com/s/articles/bigip-inventory-icontrol-rest