Hello Team,
I found a page
https://wiki.onap.org/display/DW/Creating+a+Netconf+Mount which
is having the sample API's to test Mountc Netconf.
When i tried to send the below request from Browser's REST client,
http://appc_pod's_machine_ip:30320/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673
<http://10.12.5.69:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673>
Content-Type: application/xml
Accept: application/xml
<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">
<node-id>9e1f35bf-bc36-4cab-ae9f-baf44bddd673</node-id>
<host xmlns="urn:opendaylight:netconf-node-topology">xx.xx.xx.xx</host>
<port xmlns="urn:opendaylight:netconf-node-topology">xxxx</port>
<username xmlns="urn:opendaylight:netconf-node-topology">xxxx</username>
<password xmlns="urn:opendaylight:netconf-node-topology">xxxx</password>
<tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
<!-- non-mandatory fields with default values, you can safely remove
these if you do not wish to override any of these values-->
<reconnect-on-changed-schema xmlns=
"urn:opendaylight:netconf-node-topology">false</reconnect-on-changed-schema>
<connection-timeout-millis xmlns="urn:opendaylight:netconf-node-topology"
>20000</connection-timeout-millis>
<max-connection-attempts xmlns="urn:opendaylight:netconf-node-topology"
>0</max-connection-attempts>
<between-attempts-timeout-millis xmlns=
"urn:opendaylight:netconf-node-topology"
>2000</between-attempts-timeout-millis>
<sleep-factor xmlns="urn:opendaylight:netconf-node-topology"
>1.5</sleep-factor>
<!-- keepalive-delay set to 0 turns off keepalives-->
<keepalive-delay xmlns="urn:opendaylight:netconf-node-topology"
>120</keepalive-delay>
</node>
I get 401 Error and there is no log in the pod ?
Anyother informatin should i add in the reqeust ?
if yes? what is the info and Format of the header to be included here?
--
*Regards,*
Prakas P,
Network and Technology IT,
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14118): https://lists.onap.org/g/onap-discuss/message/14118
Mute This Topic: https://lists.onap.org/mt/28430029/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-