| // SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| // SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| namespace "http://opennetworking.org/aether/enterprise"; |
| import connectivity-service { prefix cs; } |
| 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 Enterprise. Used to distinguish ownership of devices and other resources as well as a domain of configuration."; |
| description "The typedef for enterprise-id"; |
| description "The top level container"; |
| description "ID for this enterprise."; |
| description "display name to use in GUI or CLI"; |
| description "description of this enterprise"; |
| list connectivity-service { |
| key "connectivity-service"; |
| leaf connectivity-service { |
| path "/cs:connectivity-service/cs:connectivity-service/cs:id"; |
| "Link to connectivity services where configuration should be pushed for this enterprise's devices"; |
| "Allow or disallow pushes to this connectivity service"; |
| description "The list for connectivity-service"; |