blob: 1b7fe8ac01d9f10ba3484e322229be66ed736893 [file] [log] [blame]
Scott Baker4fb4ba92022-01-14 13:52:01 -08001// SPDX-FileCopyrightText: 2021 Open Networking Foundation
2//
3// SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
5submodule 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
42 leaf iccid {
43 type at:iccid;
44 description
45 "ICCID for this sim card";
46 }
47
48 leaf description {
49 type at:description;
50 description "description of this sim card";
51 }
52
53 leaf display-name {
54 type string {
55 length 1..80;
56 }
57 description "display name to use in GUI or CLI";
58 }
59
60 leaf imsi {
61 type at:imsi;
62 description
63 "IMSI for this sim card";
64 }
65 }
66 }
67}