move_firewall_policy
Reorder firewall policies by moving a policy before or after another policy, controlling rule evaluation priority.
Instructions
Move a firewall policy to a new position.
Reorders a policy relative to another policy in the rule list. Policy order determines evaluation priority.
Args: adom: ADOM name package: Policy package name policyid: Policy ID to move target_policyid: Reference policy ID position: Where to place - "before" or "after" (default: "before")
Returns: dict: Move result with keys: - status: "success" or "error" - message: Status or error message
Example: >>> # Move policy 10 before policy 5 >>> result = await move_firewall_policy( ... adom="root", ... package="default", ... policyid=10, ... target_policyid=5, ... position="before" ... )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| package | Yes | ||
| policyid | Yes | ||
| target_policyid | Yes | ||
| position | No | before |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||