Forum Discussion
Hyder_141209
Altostratus
Feb 07, 2017Code snippet for iControl API on upload_policy()
Hi,
I am writing a perl script to upload the modified ASM policies to F5. Is there any related perl snippet code available regarding using the following iControl SOAP API?
upload_policy(
...
Hyder_141209
Altostratus
Feb 28, 2017Thanks for the link Jason. I can now upload the policy file to the /var/tmp/ directory. However, while trying to import_policy to the iApp its failing and showing the following error message:
Exception: Common::OperationFailed
primary_error_code : 0 (0x00000000)
secondary_error_code : 0
error_string : Import policy failed. Messages: [fatal] Cannot read exported security policy file. [fatal] Cannot read from input file.]
BigIP version: 11.6.0 HF6
Appreciate your further input on this.
Best regards
Hyder
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects