blob: cf2ed86245c2504a1a419b37bce9a5106bcaf9d3 [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
Sean Condon9f7966e2022-02-03 10:55:06 +000042 uses at:desc-display-name;
43
Scott Baker4fb4ba92022-01-14 13:52:01 -080044 leaf iccid {
45 type at:iccid;
46 description
47 "ICCID for this sim card";
48 }
49
Scott Baker4fb4ba92022-01-14 13:52:01 -080050 leaf imsi {
51 type at:imsi;
52 description
53 "IMSI for this sim card";
54 }
55 }
56 }
57}