forked from openconfig/public
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support gNPSI in OpenConfig (openconfig#1085)
* (M) release/models/gnpsi/openconfig-gnpsi-types.yang * (M) release/models/grpc/openconfig-grpc-types.yang * (M) release/models/system/openconfig-system-grpc.yang * Add gRPC connections and statistics in OpenConfig * Add gNPSI as a gRPC service type --------- Co-authored-by: Darren Loher <[email protected]>
- Loading branch information
Showing
5 changed files
with
188 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- name: openconfig-gnpsi | ||
docs: | ||
- yang/gnpsi/openconfig-gnpsi-types.yang | ||
build: | ||
- yang/gnpsi/openconfig-gnpsi-types.yang | ||
run-ci: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
module openconfig-gnpsi-types { | ||
yang-version "1"; | ||
namespace "http://openconfig.net/yang/gnpsi/types"; | ||
prefix "oc-gnpsit"; | ||
|
||
import openconfig-extensions { | ||
prefix oc-ext; | ||
} | ||
|
||
import openconfig-grpc-types { | ||
prefix oc-grpct; | ||
} | ||
|
||
organization | ||
"OpenConfig working group"; | ||
contact | ||
"www.openconfig.net"; | ||
|
||
description | ||
"This module adds gRPC server type relating to gNPSI running on | ||
a network device."; | ||
|
||
oc-ext:openconfig-version "0.1.0"; | ||
oc-ext:catalog-organization "openconfig"; | ||
oc-ext:origin "openconfig"; | ||
|
||
revision 2024-05-29 { | ||
description | ||
"Initial revision."; | ||
reference "0.1.0"; | ||
} | ||
|
||
identity GNPSI { | ||
base oc-grpct:GRPC_SERVICE; | ||
description | ||
"gNMI: gRPC Network Management Interface"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- name: openconfig-grpc | ||
docs: | ||
- yang/grpc/openconfig-grpc-types.yang | ||
build: | ||
- yang/grpc/openconfig-grpc-types.yang | ||
run-ci: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
module openconfig-grpc-types { | ||
yang-version "1"; | ||
namespace "http://openconfig.net/yang/grpc/types"; | ||
prefix "oc-grpct"; | ||
|
||
import openconfig-extensions { | ||
prefix oc-ext; | ||
} | ||
|
||
organization | ||
"OpenConfig working group"; | ||
contact | ||
"www.openconfig.net"; | ||
|
||
description | ||
"This module adds gRPC server type relating to gRPC services running on | ||
a network device. | ||
The GRPC_SERVICE identity is used to create an extensible list of services | ||
that can be instantiated, with a base set defined in this module. New | ||
services can extend the identity to be included in the list."; | ||
|
||
oc-ext:openconfig-version "0.1.0"; | ||
oc-ext:catalog-organization "openconfig"; | ||
oc-ext:origin "openconfig"; | ||
|
||
revision "2024-05-29" { | ||
description | ||
"Initial revision."; | ||
reference "0.1.0"; | ||
} | ||
|
||
identity GRPC_SERVICE { | ||
description | ||
"Base identity for a gRPC-based service."; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters