Skip to content

Commit

Permalink
[VHD-377] Rename mountpoint paramater crypto to device-crypto
Browse files Browse the repository at this point in the history
- when the application properties parameter restconf.show-namespace-in-json-response=false,
then parse find two namespaces for this 'crypto' container. Since this container crypto
is also in another yang model.

Signed-off-by: Branislav Malo <[email protected]>
Signed-off-by: Branislav Malo <[email protected]>
Signed-off-by: Branislav Malo <[email protected]>
  • Loading branch information
BranislavMalo committed Mar 20, 2024
1 parent 21ebcbc commit 29784bc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ crypto.encryption-rotation-batch-size=10
There are two settings related to encryption in the **install-node RPC**
request:

* `uniconfig-config:crypto` - Specifies a path to the public key on the device:
* `uniconfig-config:device-crypto` - Specifies a path to the public key on the device:
- `public-key-path` - Leaf with RFC-8040 path. If a path to the public key is
specified and exists on the device, the global-device encryption model is
used. Otherwise, the global-only encryption model is used.
Expand Down Expand Up @@ -427,7 +427,7 @@ curl --location --request POST 'http://127.0.0.1:8181/rests/operations/connectio
"netconf-node-topology:sleep-factor": 1.0,
"uniconfig-config:uniconfig-native-enabled": true,
"netconf-node-topology:edit-config-test-option": "set",
"uniconfig-config:crypto": {
"uniconfig-config:device-crypto": {
"public-key-path": "/crypto/pki/config-keys=config_key/pub-key",
"public-key-cipher-type": "RSA"
},
Expand Down Expand Up @@ -582,7 +582,7 @@ curl --location --request POST 'http://127.0.0.1:8181/rests/operations/connectio
"netconf-node-topology:sleep-factor": 1.0,
"uniconfig-config:install-uniconfig-node-enabled": true,
"uniconfig-config:uniconfig-native-enabled": true,
"uniconfig-config:crypto": {
"uniconfig-config:device-crypto": {
"public-key-path": "/keys/public-key"
}
}
Expand Down

0 comments on commit 29784bc

Please sign in to comment.