| // SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| // SPDX-License-Identifier: Apache-2.0 |
| namespace "http://opennetworking.org/aether/apn-profile"; |
| import ietf-inet-types { prefix inet; } |
| import service-group { prefix sg; } |
| 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 APN Profile"; |
| // TODO: Think more on whether this should be a UUID or |
| // simply a unique name. If it's a UUID, could fix the |
| description "The typedef for apn-profile-id"; |
| description "The top level container"; |
| description "ID for this apn profile."; |
| description "display name to use in GUI or CLI"; |
| description "primary dns server name"; |
| description "secondary dns server name"; |
| description "maximum transmission unit"; |
| description "enable gx interface"; |
| description "description of this profile"; |
| path "/sg:service-group/sg:service-group/sg:id"; |