Skip to content

Commit

Permalink
added srl json-rpc server
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jul 19, 2021
1 parent 88fad91 commit 3c6a26d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/manual/kinds/srl.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ There are many ways to manage SR Linux nodes, ranging from classic CLI managemen
-e json_ietf \
get --path /system/name/host-name
```
=== "JSON-RPC"
SR Linux has a JSON-RPC interface, that is enabled on port 80/443 for HTTP/HTTPS schemas accordingly.

HTTPS server uses the same TLS certificate as gNMI server.

!!!info
Default user credentials: `admin:admin`
Expand Down
3 changes: 3 additions & 0 deletions docs/rn/0.15.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ With that in mind we launched the containerlab's own [discord server](https://di
### 0.15.3
* Allow ceos startup config to receive ipv4/6 addresses [#528](https://github.com/srl-labs/containerlab/issues/528)

### 0.15.4
* Added JSON-RPC server to SR Linux default configuration

[^1]: as opposed to a VM-way by running Cumulus with [vrnetlab](../manual/vrnetlab.md)
[^2]: both with `ignite` runtime or `docker` runtime
[^3]: starting with SR Linux 21.3, the license file is optional
18 changes: 18 additions & 0 deletions nodes/srl/srl.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,24 @@
}
]
},
"srl_nokia-json-rpc:json-rpc-server": {
"admin-state": "enable",
"network-instance": [
{
"name": "mgmt",
"http": {
"admin-state": "enable",
"port": 80
},
"https": {
"admin-state": "enable",
"use-authentication": true,
"port": 443,
"tls-profile": "tls-profile-1"
}
}
]
},
"srl_nokia-ssh:ssh-server": {
"network-instance": [
{
Expand Down

0 comments on commit 3c6a26d

Please sign in to comment.