Scott Baker | 4fb4ba9 | 2022-01-14 13:52:01 -0800 | [diff] [blame] | 1 | // SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| 2 | // |
| 3 | // SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 4 | |
| 5 | submodule onf-sim-card { |
| 6 | belongs-to onf-enterprise { prefix ent; } |
| 7 | |
| 8 | import ietf-yang-types{ prefix yg; } |
| 9 | import onf-aether-types { prefix at; } |
| 10 | |
| 11 | organization "Open Networking Foundation."; |
| 12 | contact "Scott Baker"; |
| 13 | description |
| 14 | "A Aether Device..."; |
| 15 | |
| 16 | revision "2022-01-19" { |
| 17 | description "An Aether Device"; |
| 18 | reference "RFC 6087"; |
| 19 | } |
| 20 | |
| 21 | typedef sim-card-id { |
| 22 | type yg:yang-identifier { |
| 23 | length 1..32; |
| 24 | } |
| 25 | description "The typedef for device-id"; |
| 26 | } |
| 27 | |
| 28 | grouping sim-card { |
| 29 | description "The top level container"; |
| 30 | |
| 31 | list sim-card { |
| 32 | key "sim-id"; |
| 33 | unique "iccid"; |
| 34 | description |
| 35 | "List of sim cards"; |
| 36 | |
| 37 | leaf sim-id { |
| 38 | type sim-card-id; |
| 39 | description "ID for this sim card."; |
| 40 | } |
| 41 | |
Sean Condon | 9f7966e | 2022-02-03 10:55:06 +0000 | [diff] [blame] | 42 | uses at:desc-display-name; |
| 43 | |
Scott Baker | 4fb4ba9 | 2022-01-14 13:52:01 -0800 | [diff] [blame] | 44 | leaf iccid { |
| 45 | type at:iccid; |
| 46 | description |
| 47 | "ICCID for this sim card"; |
| 48 | } |
| 49 | |
Scott Baker | 4fb4ba9 | 2022-01-14 13:52:01 -0800 | [diff] [blame] | 50 | leaf imsi { |
| 51 | type at:imsi; |
| 52 | description |
| 53 | "IMSI for this sim card"; |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | } |