Forum Discussion
Hyder_141209
Altostratus
Mar 16, 2017Code snippet for ASM import_policy()
Hi there!
I am looking for a code snippet on Perl for importing the ASM policy to F5. I have the code related to upload and its working fine to upload to F5. However, while trying to run the import_policy its failing and showing the following error messages:
reason: [Exception caught in ASM::urn:iControl:ASM/Policy::import_policy()
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.]Any help will be really appreciated.
By the way, I am using SOAP and F5 version is 11.6.0.
Best regards
Hyder
No RepliesBe the first to reply
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