There must be something wrong with your settings then, I just copied and pasted your command in my shell and run it in the WindRiver lab. I get this:
* Trying 10.12.6.0... * Connected to 10.12.6.0 (10.12.6.0) port 30230 (#0) * Server auth using Basic with user 'admin' > PUT > /restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673 > HTTP/1.1 > Host: 10.12.6.0:30230 > Authorization: Basic > YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ== > User-Agent: curl/7.43.0 > Accept: application/xml > Content-type: application/xml > Content-Length: 1252 > Expect: 100-continue > < HTTP/1.1 100 Continue * We are completely uploaded and fine < HTTP/1.1 200 OK < Set-Cookie: JSESSIONID=1cs5tb5v5axyr1m32wx5lqjl0y;Path=/restconf < Expires: Thu, 01 Jan 1970 00:00:00 GMT < Set-Cookie: rememberMe=deleteMe; Path=/restconf; Max-Age=0; Expires=Wed, 28-Nov-2018 13:53:08 GMT < Content-Length: 0 < * Connection #0 to host 10.12.6.0 left intact Marco From: "P, Prakash" <[email protected]> Date: Thursday, November 29, 2018 at 2:37 AM To: "PLATANIA, MARCO (MARCO)" <[email protected]> Cc: "[email protected]" <[email protected]> Subject: Re: [E] Re: [onap-discuss] [APPC] MountC Netconf Here is the request and response which i used. curl -vvvv --noproxy '*' --user "admin":"Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" -d @vtrafficgen.xml -H "Accept: application/xml" -H "Content-type: application/xml" -X PUT http://10.xx.xx.xx:30230/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.75.4.2-3A30230_restconf_config_network-2Dtopology-3Anetwork-2Dtopology_topology_topology-2Dnetconf_node_9e1f35bf-2Dbc36-2D4cab-2Dae9f-2Dbaf44bddd673&d=DwMFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII&m=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0&s=whTHSHwblbiGx31ox1Js5kM0LFA-u1LB0qoEVrqESPg&e=>* Trying 10.xx.xx.xx... * Connected to 10.xx.xx.xx (10.xx.xx.xx) port 30230 (#0) * Server auth using Basic with user 'admin' > PUT > /restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673 > HTTP/1.1 > Host: 10.xx.xx.xx:30230 <https://urldefense.proofpoint.com/v2/url?u=http-3A__10.75.4.2-3A30230&d=DwMFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII&m=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0&s=NJ3Y8eZ4r4CROKBigctVl8_p5enpPfoiq1bHsPHzj5I&e=>> Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ== > User-Agent: curl/7.47.0 > Accept: application/xml > Content-type: application/xml > Content-Length: 1294 > Expect: 100-continue > < HTTP/1.1 401 Unauthorized < Set-Cookie: rememberMe=deleteMe; Path=/restconf; Max-Age=0; Expires=Wed, 28-Nov-2018 07:10:03 GMT * Authentication problem. Ignoring this. < WWW-Authenticate: BASIC realm="application" < Content-Length: 0 < Connection: close < * Closing connection 0 On Thu, Nov 29, 2018 at 11:07 AM P, Prakash <[email protected]<mailto:[email protected]>> wrote: Ohh my bad. That's a typo when i was preparing the mail. Kindly suggest any other input. On Wed, Nov 28, 2018 at 7:36 PM PLATANIA, MARCO (MARCO) <[email protected]<mailto:[email protected]>> wrote: The port number that you are using is wrong. You should use 30230. Marco From: <[email protected]<mailto:[email protected]>> on behalf of "Prakash via Lists.Onap.Org<https://urldefense.proofpoint.com/v2/url?u=http-3A__Lists.Onap.Org&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=t6CR8q1QCDQpKvAB4rkW6UVKeSqxFpp85s60Rwnhy2o&s=Kd8Jeubokcz45r4y6_qr432rctlQnHvEW5sK3kJjBh0&e=>" <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Wednesday, November 28, 2018 at 7:00 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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, -- Regards, Prakas P, Network and Technology IT, VDSI - Olympia – Chennai VoIP: 72184 | Direct: +91 44 4394 2184 Mailto | [email protected]<mailto:[email protected]> We Are VERIZON<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.verizon.com_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=t6CR8q1QCDQpKvAB4rkW6UVKeSqxFpp85s60Rwnhy2o&s=K0PHCpHP551XjGDIjL4QHo-dLiswEd969bv7Wpn3zSs&e=> INTEGRITY . RESPECT . PERFORMANCE EXCELLENCE . ACCOUNTABILITY<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.verizon.com_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=t6CR8q1QCDQpKvAB4rkW6UVKeSqxFpp85s60Rwnhy2o&s=K0PHCpHP551XjGDIjL4QHo-dLiswEd969bv7Wpn3zSs&e=> -- Regards, Prakas P, Network and Technology IT, VDSI - Olympia – Chennai VoIP: 72184 | Direct: +91 44 4394 2184 Mailto | [email protected]<mailto:[email protected]> We Are VERIZON<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.verizon.com_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=t6CR8q1QCDQpKvAB4rkW6UVKeSqxFpp85s60Rwnhy2o&s=K0PHCpHP551XjGDIjL4QHo-dLiswEd969bv7Wpn3zSs&e=> INTEGRITY . RESPECT . PERFORMANCE EXCELLENCE . ACCOUNTABILITY<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.verizon.com_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=t6CR8q1QCDQpKvAB4rkW6UVKeSqxFpp85s60Rwnhy2o&s=K0PHCpHP551XjGDIjL4QHo-dLiswEd969bv7Wpn3zSs&e=> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14139): https://lists.onap.org/g/onap-discuss/message/14139 Mute This Topic: https://lists.onap.org/mt/28484753/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
