Unable to add modify or remove Virtual Server Profiles using iControl REST
Hello All,
I am currently developing an integration between ServiceNow and F5. We are using iControl REST to build Virtual Servers, Pools, and Members. I am able to create all of the above items, however I have not had any success adding or modifying the Virtual Server Profiles. I have been searching thru the forums here on DevCentral and Google, and haven't been able to locate a solution.
Below is an example of the Content I am sending over with my REST POST message (i've tried PUT too) to create the Virtual Server Profiles: {"kind":"tm:ltm:virtual:profiles:profilesstate","name":"generic-tcp-lan-profile","partition":"Common","context":"serverside"}
I receive a 400 status, and an error message stating the virtual server lists duplicate profiles. I verified that in all cases, the virtual server does not have a serverside profile listed. I have read on another article that any current profiles on the virtual server need to be deleted in order to add new profiles however any time I try to delete a profile, i receive an error that the operation was not supported, or the following:
"Less than the required minimum number of profiles found on /Sandbox1/: Exactly 1 of (UDP Profile (serverside), TCP Profile (serverside), SCTP Profile (serverside))"
I also receive the above message if i try to include the profiles in a sub collection when I create the virtual server, and I remove either the serverside or clientside profile. If I add the profile back, I receive the duplicate error.