blob: c8ae80a354a54bc328fd0217305ba5526dd41867 [file] [log] [blame]
Scott Baker4fb4ba92022-01-14 13:52:01 -08001// SPDX-FileCopyrightText: 2021 Open Networking Foundation
2//
Sean Condon160ec1d2022-02-08 12:58:25 +00003// SPDX-License-Identifier: Apache-2.0
Scott Baker4fb4ba92022-01-14 13:52:01 -08004
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}