Support of WG4 OpenFronthaul Management-Plane VES
[scp/oam/modeling.git] / data-model / tools / o1-controller-restconf-commands / create-mount-point-rfc8040.rest
1 ################################################################################
2 # Copyright 2020 highstreet technologies GmbH and others
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7
8 #     http://www.apache.org/licenses/LICENSE-2.0
9
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 ################################################################################
16 @node=my-new-mount-point-2
17 PUT {{baseUrl}}/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}
18 Authorization: Basic {{user}} {{password}}
19 Accept: application/yang-data+json
20 Content-Type: application/yang-data+json
21
22 {
23   "network-topology:node": [
24     {
25       "node-id": "{{node}}",
26       "host": "127.0.0.1",
27       "port": 830,
28       "password": "netconf",
29       "username": "netconf",
30       "sleep-factor": 1.5,
31       "tcp-only": false,
32       "reconnect-on-changed-schema": true,
33       "default-request-timeout-millis": 60000,
34       "connection-timeout-millis": 20000,
35       "max-connection-attempts": 100,
36       "between-attempts-timeout-millis": 2000,
37       "keepalive-delay": 120,
38       "concurrent-rpc-limit": 0,
39       "actor-response-wait-time": 5
40     }
41   ]
42 }