Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. For the import process to continue, the script must end with RC=0, in this case, DPOD will use the deployment policy content that was written to the file "deployment-policy.txt"
    The deployment policy should contain the inner part of the XML path /configuration/ConfigDeploymentPolicy (check out the sample script for an example on how to extract it):,
    for example: 
Paste code macro
<configRoot><configuration domain="testDomain"><ConfigDeploymentPolicy name="testPolicy" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">
<mAdminState read-only="true">enabled</mAdminState>
<AcceptedConfig>*/*/wsm/wsm-endpointrewrite</AcceptedConfig>
<FilteredConfig>*/*/xml/samlattr</FilteredConfig>
<ModifiedConfig>
<Match>*/*/network/host-alias?Name=.*&Property=IPAddress&Value=1.1.1.1</Match>
<Type>change</Type>
<Property />
<Value>2.2.2.2</Value></ModifiedConfig>
</ConfigDeploymentPolicy></configuration></configRoot>

2. If the script returns an RC > 0, DPOD's processing will stop, and an error message will be displayed, the error message will be the content of the file "deployment-policy.txt"

...