X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=scp%2Foam%2Fmodeling.git;a=blobdiff_plain;f=data-model%2Ftools%2Fo1-controller-restconf-commands%2Fcreate-mount-point-rfc8040.rest;fp=data-model%2Ftools%2Fo1-controller-restconf-commands%2Fcreate-mount-point-rfc8040.rest;h=4c2335da59dbd16bd9e946da46dd8bd50df6c635;hp=0000000000000000000000000000000000000000;hb=31f00bce30b090e76ab1f61f3c29cf4ae7d8ebd2;hpb=b03d8b7daeab9145c70e432f99972f23ac278a61 diff --git a/data-model/tools/o1-controller-restconf-commands/create-mount-point-rfc8040.rest b/data-model/tools/o1-controller-restconf-commands/create-mount-point-rfc8040.rest new file mode 100644 index 0000000..4c2335d --- /dev/null +++ b/data-model/tools/o1-controller-restconf-commands/create-mount-point-rfc8040.rest @@ -0,0 +1,42 @@ +################################################################################ +# Copyright 2020 highstreet technologies GmbH and others +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +################################################################################ +@node=my-new-mount-point-2 +PUT {{baseUrl}}/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}} +Authorization: Basic {{user}} {{password}} +Accept: application/yang-data+json +Content-Type: application/yang-data+json + +{ + "network-topology:node": [ + { + "node-id": "{{node}}", + "host": "127.0.0.1", + "port": 830, + "password": "netconf", + "username": "netconf", + "sleep-factor": 1.5, + "tcp-only": false, + "reconnect-on-changed-schema": true, + "default-request-timeout-millis": 60000, + "connection-timeout-millis": 20000, + "max-connection-attempts": 100, + "between-attempts-timeout-millis": 2000, + "keepalive-delay": 120, + "concurrent-rpc-limit": 0, + "actor-response-wait-time": 5 + } + ] +} \ No newline at end of file