blob: 5f1e0211416321cf54a703eafdd491a4db34309c [file] [log] [blame]
Scott Bakerfdbad762022-01-03 16:00:45 -08001// SPDX-FileCopyrightText: 2021 Open Networking Foundation
2//
Sean Condon160ec1d2022-02-08 12:58:25 +00003// SPDX-License-Identifier: Apache-2.0
Scott Bakerfdbad762022-01-03 16:00:45 -08004
Sean Condon11d6f422022-01-14 13:02:03 +00005submodule onf-traffic-class {
6 belongs-to onf-enterprise { prefix ent; }
Scott Bakerfdbad762022-01-03 16:00:45 -08007
Scott Bakerfdbad762022-01-03 16:00:45 -08008 import onf-aether-types{ prefix at; }
9
10 organization "Open Networking Foundation.";
11 contact "Scott Baker";
12 description
13 "The aether traffic class associates qos constants
14 with a named class of service";
15
Sean Condon11d6f422022-01-14 13:02:03 +000016 revision "2022-01-14" {
17 description "Refactored as submodule";
18 reference "RFC 6020";
19 }
20
Scott Bakerfdbad762022-01-03 16:00:45 -080021 revision "2021-09-10" {
22 description "An Aether Traffic Class";
23 reference "RFC 6087";
24 }
25
26 typedef traffic-class-id {
Scott Baker40a79562022-02-16 15:04:50 -080027 type at:aether-identifier;
Scott Bakerfdbad762022-01-03 16:00:45 -080028 description "The typedef for traffic-class-id";
29 }
30
Sean Condon11d6f422022-01-14 13:02:03 +000031 grouping traffic-class {
32 description "The traffic-class grouping";
Scott Bakerfdbad762022-01-03 16:00:45 -080033
34 list traffic-class {
Sean Condon9f7966e2022-02-03 10:55:06 +000035 key "traffic-class-id";
Scott Bakerfdbad762022-01-03 16:00:45 -080036 description
37 "List of traffic class";
38
Sean Condon9f7966e2022-02-03 10:55:06 +000039 leaf traffic-class-id {
Scott Bakerfdbad762022-01-03 16:00:45 -080040 type traffic-class-id;
41 description "ID for this traffic class.";
42 }
43
Sean Condon9f7966e2022-02-03 10:55:06 +000044 uses at:desc-display-name;
Scott Bakerfdbad762022-01-03 16:00:45 -080045
46 leaf arp {
47 type at:arp;
48 description "Allocation and Retention Priority. 1 is the highest. 15 is the lowest.";
49 }
50
51 leaf qci {
52 type at:qci;
53 description "QOS Class Identifier";
54 }
55
56 leaf pelr {
57 type at:pelr;
58 description "PELR exponent";
59 }
60
61 leaf pdb {
62 type at:pdb;
63 description "PDB";
64 }
Scott Bakerfdbad762022-01-03 16:00:45 -080065 }
66 }
67}