Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

2018-12-06 Thread Prakash via Lists.Onap.Org
Any suggestions Team?

On Tue, Dec 4, 2018 at 4:46 PM P, Prakash  wrote:

>
> Hi,
>
> In the page
> <https://wiki.onap.org/display/DW/Creating+a+Netconf+Mount>. i'm able to
> execute the below curl reqeusts successfully.
> *1. Sample curl REST request submission*
>curl -v --noproxy '*' --user
> "admin":"Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" -d @vtrafficgen.xml
> -H "Accept: application/xml" -H "Content-type: application/xml" -X PUT
> --trace trace.out
> http://10.12.5.69:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673
> 2.  *Verify Netconf mount was submitted *
>   curl -v --noproxy '*' --user
> "admin":"Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" -d -H "Accept:
> application/xml" -H "Content-type: application/xml" -X GET
> http://10.12.5.69:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673
> Which means i have created Mountc which has my *custom vFW Host & Port
> Information*.
>
> 1. How do i make APPC to send config request to my custom vFW ?
> 2. Can i have the sample curl request which actually makes APPC to send
> request(Netconf) to my custom vFW?
>
>
>
> On Thu, Nov 29, 2018 at 7:27 PM FREEMAN, BRIAN D  wrote:
>
>> Unauthorized means the login/password is wrong.
>>
>>
>>
>> I dont think you wrap login and password in quotes.
>>
>>
>>
>> --user admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
>>
>>
>>
>>
>>
>> Not sure if you are using Beijing or Casablanca nor if you picked up one
>> of the interim snapshots that was using a different login/password for a
>> bit.
>>
>>
>>
>> Brian
>>
>>
>>
>>
>>
>> *From:* onap-discuss@lists.onap.org  *On
>> Behalf Of *Prakash via Lists.Onap.Org
>> *Sent:* Thursday, November 29, 2018 2:38 AM
>> *To:* PLATANIA, MARCO 
>> *Cc:* onap-discuss@lists.onap.org
>> *Subject:* Re: [E] Re: [onap-discuss] [APPC] MountC Netconf
>>
>>
>>
>> Here is the request and response which i used.
>>
>>
>>
>> curl - --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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=whTHSHwblbiGx31ox1Js5kM0LFA-u1LB0qoEVrqESPg=>*
>>  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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=NJ3Y8eZ4r4CROKBigctVl8_p5enpPfoiq1bHsPHzj5I=>>
>> 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 
>> 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 

Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

2018-12-04 Thread Prakash via Lists.Onap.Org
Hi,

In the page <https://wiki.onap.org/display/DW/Creating+a+Netconf+Mount>.
i'm able to execute the below curl reqeusts successfully.
*1. Sample curl REST request submission*
   curl -v --noproxy '*' --user
"admin":"Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" -d @vtrafficgen.xml
-H "Accept: application/xml" -H "Content-type: application/xml" -X PUT
--trace trace.out
http://10.12.5.69:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673
2.  *Verify Netconf mount was submitted *
  curl -v --noproxy '*' --user
"admin":"Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" -d -H "Accept:
application/xml" -H "Content-type: application/xml" -X GET
http://10.12.5.69:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/9e1f35bf-bc36-4cab-ae9f-baf44bddd673
Which means i have created Mountc which has my *custom vFW Host & Port
Information*.

1. How do i make APPC to send config request to my custom vFW?
2. Can i have the sample curl request which actually makes APPC to send
request(Netconf) to my custom vFW?



On Thu, Nov 29, 2018 at 7:27 PM FREEMAN, BRIAN D  wrote:

> Unauthorized means the login/password is wrong.
>
>
>
> I dont think you wrap login and password in quotes.
>
>
>
> --user admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
>
>
>
>
>
> Not sure if you are using Beijing or Casablanca nor if you picked up one
> of the interim snapshots that was using a different login/password for a
> bit.
>
>
>
> Brian
>
>
>
>
>
> *From:* onap-discuss@lists.onap.org  *On
> Behalf Of *Prakash via Lists.Onap.Org
> *Sent:* Thursday, November 29, 2018 2:38 AM
> *To:* PLATANIA, MARCO 
> *Cc:* onap-discuss@lists.onap.org
> *Subject:* Re: [E] Re: [onap-discuss] [APPC] MountC Netconf
>
>
>
> Here is the request and response which i used.
>
>
>
> curl - --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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=whTHSHwblbiGx31ox1Js5kM0LFA-u1LB0qoEVrqESPg=>*
>  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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=NJ3Y8eZ4r4CROKBigctVl8_p5enpPfoiq1bHsPHzj5I=>>
> 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  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: * on behalf of "Prakash via
> Lists.Onap.Org
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__Lists.Onap.Org=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=W3QXgE4ydlzUrtsCMj2kkOVaNv6SuDsb2kHGWqF3hVg=2IXqUN0avYVm9VuoIBPH6f8M9Hu4RYd-OGlaUji6g5g=>"
> 
> *Reply-To: *"onap-discuss@lists.onap.org" , "
> prakas...@verizon.com" 
> *Date: *Wednesday, November 28, 2018 at 7:00 AM
> *To: *"onap-discuss@lists.onap.or

Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

2018-11-29 Thread Marco Platania
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" 
Date: Thursday, November 29, 2018 at 2:37 AM
To: "PLATANIA, MARCO (MARCO)" 
Cc: "onap-discuss@lists.onap.org" 
Subject: Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

Here is the request and response which i used.

curl - --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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=whTHSHwblbiGx31ox1Js5kM0LFA-u1LB0qoEVrqESPg=>*
   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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=NJ3Y8eZ4r4CROKBigctVl8_p5enpPfoiq1bHsPHzj5I=>>
 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 
mailto: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) 
mailto:plata...@research.att.com>> wrote:
The port number that you are using is wrong. You should use 30230.

Marco

From: mailto:onap-discuss@lists.onap.org>> on 
behalf of "Prakash via 
Lists.Onap.Org<https://urldefense.proofpoint.com/v2/url?u=http-3A__Lists.Onap.Org=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0=t6CR8q1QCDQpKvAB4rkW6UVKeSqxFpp85s60Rwnhy2o=Kd8Jeubokcz45r4y6_qr432rctlQnHvEW5sK3kJjBh0=>"
 mailto:verizon@lists.onap.org>>
Reply-To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
mailto:onap-discuss@lists.onap.org>>, 
"prakas...@verizon.com<mailto:prakas...@verizon.com>" 
mailto:prakas...@verizon.com>>
Date: Wednesday, November 28, 2018 at 7:00 AM
To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
mailto: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=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0=qyxH0ECIBZ_UdjqdgsCmdpazqzG0AiNDcNWNhasLI-Y=XS-HAgG1NNVG59X0QUW6DQJmglIzS_071ocu8rbXUvA=>
 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/

Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

2018-11-29 Thread Brian
Unauthorized means the login/password is wrong.

I dont think you wrap login and password in quotes.

--user admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U


Not sure if you are using Beijing or Casablanca nor if you picked up one of the 
interim snapshots that was using a different login/password for a bit.

Brian


From: onap-discuss@lists.onap.org  On Behalf Of 
Prakash via Lists.Onap.Org
Sent: Thursday, November 29, 2018 2:38 AM
To: PLATANIA, MARCO 
Cc: onap-discuss@lists.onap.org
Subject: Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

Here is the request and response which i used.

curl - --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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=whTHSHwblbiGx31ox1Js5kM0LFA-u1LB0qoEVrqESPg=>*
   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=DwMFaQ=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ=5bwhX8bRefst5_eSF8aqWW2PdVIh8FdEocGuqA1cZII=XLD7evIrw9X1xjlE-3I3OWykOpyt3yhh_XdZF9gopj0=NJ3Y8eZ4r4CROKBigctVl8_p5enpPfoiq1bHsPHzj5I=>>
 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 
mailto: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) 
mailto:plata...@research.att.com>> wrote:
The port number that you are using is wrong. You should use 30230.

Marco

From: mailto:onap-discuss@lists.onap.org>> on 
behalf of "Prakash via 
Lists.Onap.Org<https://urldefense.proofpoint.com/v2/url?u=http-3A__Lists.Onap.Org=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=W3QXgE4ydlzUrtsCMj2kkOVaNv6SuDsb2kHGWqF3hVg=2IXqUN0avYVm9VuoIBPH6f8M9Hu4RYd-OGlaUji6g5g=>"
 mailto:verizon@lists.onap.org>>
Reply-To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
mailto:onap-discuss@lists.onap.org>>, 
"prakas...@verizon.com<mailto:prakas...@verizon.com>" 
mailto:prakas...@verizon.com>>
Date: Wednesday, November 28, 2018 at 7:00 AM
To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
mailto: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=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0=qyxH0ECIBZ_UdjqdgsCmdpazqzG0AiNDcNWNhasLI-Y=XS-HAgG1NNVG59X0QUW6DQJmglIzS_071ocu8rbXUvA=>
 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=DwMFaQ=LFYZ-o9_HUMeMTSQicvjIg=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0=qyxH0ECIBZ_UdjqdgsCmdpazqzG0AiNDcNWNhasLI-Y=D6iJABj4gpRtJHbAzdSt2J6xPz7ATdrCkYQ9ro6lru4=>
Content-Type: application/xml
Accept: application/xml


   9e1f35bf-bc36-4cab-ae9f-baf44bddd673
   xx.xx.xx.xx
   
   
   
   false
   
   false
   2
   0
   2000
   1.5
   
   120



I get 401 Error and there is no log in the pod ?
Anyother informatin should i add in the reqeust ?

Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

2018-11-28 Thread Prakash via Lists.Onap.Org
Here is the request and response which i used.

curl - --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
>
> *
>  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
>
> >
> 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  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: * on behalf of "Prakash via
>> Lists.Onap.Org" 
>> *Reply-To: *"onap-discuss@lists.onap.org" ,
>> "prakas...@verizon.com" 
>> *Date: *Wednesday, November 28, 2018 at 7:00 AM
>> *To: *"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
>> 
>>  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
>> 
>>
>> Content-Type: application/xml
>>
>> Accept: application/xml
>>
>>
>>
>> 
>>
>>9e1f35bf-bc36-4cab-ae9f-baf44bddd673
>>
>>> >xx.xx.xx.xx
>>
>>
>>
>>> >
>>
>>> >
>>
>>*false*
>> 
>>
>>
>>
>>> "urn:opendaylight:netconf-node-topology">*false*
>> 
>>
>>> "urn:opendaylight:netconf-node-topology"
>> >2
>>
>>> "urn:opendaylight:netconf-node-topology">0
>>
>>> "urn:opendaylight:netconf-node-topology"
>> >2000
>>
>>> >1.5
>>
>>
>>
>>> >120
>>
>> 
>>
>>
>>
>>
>>
>> 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 
>
> *We Are VERIZON *
>
> *INTEGRITY . RESPECT . PERFORMANCE EXCELLENCE . ACCOUNTABILITY
> *
>


-- 
*Regards,*
Prakas P,
Network and Technology IT,
VDSI - Olympia – Chennai
*VoIP: *72184* | Direct: *+91 44 4394 2184

*Mailto * *|* prakas...@verizon.com 

*We Are VERIZON *

*INTEGRITY . RESPECT . PERFORMANCE EXCELLENCE . ACCOUNTABILITY
*

-=-=-=-=-=-=-=-=-=-=-=-

Re: [E] Re: [onap-discuss] [APPC] MountC Netconf

2018-11-28 Thread Prakash via Lists.Onap.Org
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: * on behalf of "Prakash via
> Lists.Onap.Org" 
> *Reply-To: *"onap-discuss@lists.onap.org" , "
> prakas...@verizon.com" 
> *Date: *Wednesday, November 28, 2018 at 7:00 AM
> *To: *"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
> 
>  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
> 
>
> Content-Type: application/xml
>
> Accept: application/xml
>
>
>
> 
>
>9e1f35bf-bc36-4cab-ae9f-baf44bddd673
>
>xx.xx.xx.xx
>
>
>
> >
>
> >
>
>*false*
> 
>
>
>
> "urn:opendaylight:netconf-node-topology">*false*
> 
>
> "urn:opendaylight:netconf-node-topology">2
>
> >0
>
> "urn:opendaylight:netconf-node-topology"
> >2000
>
> >1.5
>
>
>
> >120
>
> 
>
>
>
>
>
> 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 

*We Are VERIZON *

*INTEGRITY . RESPECT . PERFORMANCE EXCELLENCE . ACCOUNTABILITY
*

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14130): https://lists.onap.org/g/onap-discuss/message/14130
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]
-=-=-=-=-=-=-=-=-=-=-=-