| // SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| // SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| namespace "http://opennetworking.org/aether/service-policy"; |
| import service-rule { prefix sr; } |
| organization "Open Networking Foundation."; |
| description "To generate JSON from this use command |
| pyang -f jtoxx test1.yang | python3 -m json.tool > test1.json |
| Copied from YangUIComponents project"; |
| description "An Aether Service"; |
| typedef service-policy-id { |
| description "The typedef for service-policy-id"; |
| container service-policy { |
| description "The top level container"; |
| description "ID for this service."; |
| description "display name to use in GUI or CLI"; |
| "Upstream aggregate maximum bit rate"; |
| "Downstream aggregate maximum bit rate"; |
| description "The container for ambr"; |
| path "/sr:service-rule/sr:service-rule/sr:id"; |
| "Enable or disable this service to use this rule"; |
| description "The list for rules"; |
| description "description of this profile"; |