View Workload Rules
You can view a specific workload's rules with the following command:
ilo workload rule_view --workload-id UUID
Where:
UUID is the workload's UUID. See About the Workload UUID for information.
In the example below, the workload's UUID is as follows:
2ca0715a-b7e3-40e3-ade0-79f2c7adced0
Example View Workload Rules
ilo workload rule_view --workload-id 2ca0715a-b7e3-40e3-ade0-79f2c7adced0 +------------+-------+ | Attribute | Value | +------------+-------+ | providing | [] | +------------+-------+ Using +---------------------+---------------------------------------------------------------------------------------- | Ports And Protocols | Rulesets | Href | Name | +---------------------+---------------------------------------------------------------------------------------- | [[-1, -1, nil]] | [{"href"=>"/api/v2/orgs/28/sec_policy/8/rule_sets/1909", "name"=>"Default", "secure_connect"=>false, "peers"=>[{"type"=>"ip_list", "href"=>"/api/v2/orgs/28/sec_policy/8/ip_lists/188", "name"=>"Any (0.0.0.0/0)", "ip_ranges"=>[{"from_ip"=>"0.0.0.0/0"}]}]}] | /api/v2/orgs/28/sec_policy/8/services/1153 | All Services | +---------------------+---------------------------------------------------------------------------------------- 200, OK