| # SPDX-FileCopyrightText: 2022-present Open Networking Foundation <info@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| application := application_rule |
| template := template_rule |
| traffic_class := traffic_class_rule |
| "application": application, |
| "traffic_class": traffic_class |
| application_rule[application] { |
| ["AetherROCAdmin", input.target][_] == input.groups[i] |
| application := input.application |
| ["AetherROCAdmin", input.target][_] == input.groups[i] |
| template_rule[template] { |
| ["AetherROCAdmin", input.target][_] == input.groups[i] |
| template := input.template |
| traffic_class_rule[traffic_class] { |
| ["AetherROCAdmin", input.target][_] == input.groups[i] |
| traffic_class := input.traffic_class |
| can_update_enterprise = true { |
| update_enterprise := input.updates.enterprises.enterprise[_] |
| ["AetherROCAdmin", update_enterprise.enterprise_id][_] == input.groups[i] |