Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add acctz counters for login/logout records #1236

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion release/models/gnsi/openconfig-gnsi-acctz.yang
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ module openconfig-gnsi-acctz {
"This module provides counters of gNSI accountZ requests and responses and
the quantity of data transferred.";

oc-ext:openconfig-version "0.3.0";
oc-ext:openconfig-version "0.4.0";

revision 2024-12-24 {
description
"Add counters for login/logout accounting records";
reference "0.4.0";
}

revision 2024-10-07 {
description
Expand Down Expand Up @@ -96,6 +102,20 @@ module openconfig-gnsi-acctz {
}
}
}
typedef session-service {
description "enum SessionInfo.SessionStatus";
type enumeration {
enum UNSPECIFIED {
value 0;
}
enum LOGIN {
value 1;
}
enum LOGOUT {
value 2;
}
}
}
typedef service-request {
description "enum RecordResponse.service_request";
type enumeration {
Expand All @@ -105,13 +125,17 @@ module openconfig-gnsi-acctz {
enum GRPC_SERVICE {
value 5;
}
enum SESSION_SERVICE {
value 6;
}
}
}
typedef service-type {
description "enum cmd or grpc service type";
type union {
type cmd-service;
type grpc-service;
type session-service;
}
}

Expand Down
Loading