Hyder_141209
Mar 16, 2017Altostratus
Code 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