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 <prakas...@verizon.com> 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) < > plata...@research.att.com> wrote: > >> 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, >> >> >> >> >> > > > -- > *Regards,* > Prakas P, > Network and Technology IT, > VDSI - Olympia – Chennai > *VoIP: *72184* | Direct: *+91 44 4394 2184 > > *Mailto * *|* prakas...@verizon.com <arul.chakravar...@one.verizon.com> > > *We Are VERIZON <http://www.verizon.com/>* > > *INTEGRITY . RESPECT . PERFORMANCE EXCELLENCE . ACCOUNTABILITY > <http://www.verizon.com/>* > -- *Regards,* Prakas P, Network and Technology IT, VDSI - Olympia – Chennai *VoIP: *72184* | Direct: *+91 44 4394 2184 *Mailto * *|* prakas...@verizon.com <arul.chakravar...@one.verizon.com> *We Are VERIZON <http://www.verizon.com/>* *INTEGRITY . RESPECT . PERFORMANCE EXCELLENCE . ACCOUNTABILITY <http://www.verizon.com/>* -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14131): https://lists.onap.org/g/onap-discuss/message/14131 Mute This Topic: https://lists.onap.org/mt/28484753/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-