| // SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| // SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| namespace "http://opennetworking.org/aether/service-group"; |
| import service-policy { prefix serv; } |
| 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 Group"; |
| typedef service-group-id { |
| pattern "default|on-demand"; |
| container service-group { |
| description "The top level container"; |
| "List of service groups"; |
| description "ID for this service group."; |
| description "display name to use in GUI or CLI"; |
| path "/serv:service-policy/serv:service-policy/serv:id"; |
| "Link to service policy"; |
| description "description of this service group"; |