Skip to content

Commit

Permalink
Migrate kne configs to grpc_server (openconfig#2809)
Browse files Browse the repository at this point in the history
* KNE: migrating configs to grpc_server
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

* added jrpc-server
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
  • Loading branch information
MarcCharlebois authored Mar 20, 2024
1 parent fca566f commit cb683fe
Showing 1 changed file with 43 additions and 48 deletions.
91 changes: 43 additions & 48 deletions topologies/kne/nokia/srlinux/config.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

acl {
acl-filter cpm type ipv4 {
entry 441 {
Expand Down Expand Up @@ -89,22 +88,52 @@ system {
lldp {
admin-state enable
}
gnmi-server {
grpc-server mgmt {
rate-limit 65535
session-limit 65535
yang-models openconfig
admin-state enable
rate-limit 65000
trace-options [
request
response
common
default-tls-profile true
network-instance mgmt
port 9339
services [
gnmi
gnsi
gnoi
]
}
grpc-server mgmt-gribi {
admin-state enable
rate-limit 65535
session-limit 65535
default-tls-profile true
network-instance mgmt
port 9340
services [
gribi
]
}
grpc-server mgmt-p4rt {
admin-state enable
rate-limit 65535
session-limit 65535
default-tls-profile true
network-instance mgmt
port 9559
services [
p4rt
]
}
json-rpc-server {
admin-state enable
network-instance mgmt {
admin-state enable
port 9339
yang-models openconfig
tls-profile kne-profile
}
unix-socket {
admin-state enable
http {
admin-state enable
}
https {
admin-state enable
tls-profile kne-profile
}
}
}
tls {
Expand Down Expand Up @@ -135,26 +164,6 @@ ufJifhmpItpy3mkUCLEJ33ex2AA6
"
}
}
gribi-server {
admin-state enable
network-instance mgmt {
admin-state enable
port 9340
tls-profile kne-profile
}
}
json-rpc-server {
admin-state enable
network-instance mgmt {
http {
admin-state enable
}
https {
admin-state enable
tls-profile kne-profile
}
}
}
banner {
login-banner "................................................................
: Welcome to Nokia SR Linux! :
Expand All @@ -173,20 +182,6 @@ ufJifhmpItpy3mkUCLEJ33ex2AA6
................................................................
"
}
p4rt-server {
admin-state enable
network-instance mgmt {
admin-state enable
tls-profile kne-profile
}
}
}
network-instance DEFAULT {
}
network-instance mgmt {
protocols {
gribi {
admin-state enable
}
}
}

0 comments on commit cb683fe

Please sign in to comment.