The port number that you are using is wrong. You should use 30230.

Marco

From: <onap-discuss@lists.onap.org> on behalf of "Prakash via Lists.Onap.Org" 
<prakash.p=verizon....@lists.onap.org>
Reply-To: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>, 
"prakas...@verizon.com" <prakas...@verizon.com>
Date: Wednesday, November 28, 2018 at 7:00 AM
To: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>
Subject: [onap-discuss] [APPC] MountC Netconf

Hello Team,
    I found a page 
https://wiki.onap.org/display/DW/Creating+a+Netconf+Mount<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Creating-2Ba-2BNetconf-2BMount&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=qyxH0ECIBZ_UdjqdgsCmdpazqzG0AiNDcNWNhasLI-Y&s=XS-HAgG1NNVG59X0QUW6DQJmglIzS_071ocu8rbXUvA&e=>
 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.12.5.69-3A8282_restconf_config_network-2Dtopology-3Anetwork-2Dtopology_topology_topology-2Dnetconf_node_9e1f35bf-2Dbc36-2D4cab-2Dae9f-2Dbaf44bddd673&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=qyxH0ECIBZ_UdjqdgsCmdpazqzG0AiNDcNWNhasLI-Y&s=D6iJABj4gpRtJHbAzdSt2J6xPz7ATdrCkYQ9ro6lru4&e=>
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 (#14122): https://lists.onap.org/g/onap-discuss/message/14122
Mute This Topic: https://lists.onap.org/mt/28430029/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to