Re: [onap-discuss] [OOM] How to access Consul GUI

2018-07-06 Thread Prashant Kumar
Hi Arun,
I am not sure about Beijing , but I was able to access consul in last release 
by using following URL:-

http://: 30270/ui/#/dc1/services

check if this is working for you.


Thanks,
Prashant

From: onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] On 
Behalf Of Arun Arora
Sent: Friday, July 6, 2018 11:57 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] [OOM] How to access Consul GUI

Hi everyone,

I was able to successfully install ONAP (R2 release) and also able to access 
the portal.

Before asking my query I would like to express my appreciation for the awesome 
documentation for the OOM based deployment. It really is very nice and 
meticulous.

My query is, after deployment Consul UI is mentioned as preferred way for 
health-checks, but I didn't get exactly how to open the UI. In the snapshot it 
shows to be a WebUI and for that I ran the command to get the IP of consul pod, 
as similar thing was done to get the portal-app IP. Following is the output, 
and it does not seem to have a mapping with the and Rancher Node VM's IP.
Could you please help me in understanding how to access the consul UI.

root@rancher-node-1:~# kubectl -n onap get services|grep "consul"
consul ExternalName 
consul-server.onap.svc.cluster.local  23h
consul-server  ClusterIP  None
 8301/TCP  23h
consul-server-ui   NodePort   10.43.185.78
 8500:30270/TCP  23h
msb-consul NodePort   10.43.51.159
 8500:30285/TCP  23h
root@rancher-node-1:~#


Best Regards,
Arun Arora



This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer 


Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)

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

View/Reply Online (#10913): https://lists.onap.org/g/onap-discuss/message/10913
Mute This Topic: https://lists.onap.org/mt/23171560/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[onap-discuss] [AAI] Not able to get relationship between two service-instances in AAI

2017-10-06 Thread Prashant Kumar
Hi Jimmy,

I am trying to create two service-instances in AAI and adding relationship 
between two.
But when I am getting these services, response does not have relationship. Even 
when I am trying to get relationship-list then also I am not getting any 
relationship.
Do you have any idea about this issue?

I have two services sprint9_demo_service1 and sprint9_demo_service2.


API used to create service instance:-
/aai/v11//business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances/service-instance/{service-instance-id}

Payload:-
First service  /aai/v11//business/customers/customer/Amdocs_demo/ 
service-subscriptions/service-subscription/TEST/service-instances/service-instance/
 sprint9_demo_service1

http://org.openecomp.aai.inventory/v11;>
  sprint9_demo_service1
  sprint9_demo_service1



Second service:- /aai/v11//business/customers/customer/Amdocs_demo/ 
service-subscriptions/service-subscription/TEST/service-instances/service-instance/
 sprint9_demo_service2


http://org.openecomp.aai.inventory/v11;>
  sprint9_demo_service2
  sprint9_demo_service2


Adding relationship:-
/aai/v11/business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances/service-instance/{service-instance-id}/relationship-list/relationship


/aai/v11//business/customers/customer/Amdocs_demo/ 
service-subscriptions/service-subscription/TEST/service-instances/service-instance/sprint9_demo_service1/relationship-list/relationship

http://org.openecomp.aai.inventory/v11;>
service-instance

customer.global-customer-id
Amdocs_demo
   

   
service-subscription.service-type
   TEST 


   
service-instance.service-instance-id

sprint9_demo_service2



Thanks & Regards,
Prashant Kumar
Amdocs-DVCI,Pune
+91-20-4015 5606 (desk)
+91-95525 17927 (mobile)

[cid:image001.png@01D2AEFA.18825F60]

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>

Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [AAI] Not able to see the relationship data on successful create relationship operation

2017-09-04 Thread Prashant Kumar
Do this.

PUT 
/cloud-infrastructure/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}/tenants/tenant/{tenant-id}

http://org.openecomp.aai.inventory/v11;>
example-tenant-id-val-89637
example-tenant-name-val-36717



And then this

PUT 
/cloud-infrastructure/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}/tenants/tenant/{tenant-id}/relationship-list/relationship


Payload for adding relationship in your case will be.


http://org.openecomp.aai.inventory/v11;>
 service-subscription 

customer.global-customer-id
put your customer data 
   

   
service-subscription.service-type

example-service-type-val-51081



Thanks,
Prashant
From: Kanagaraj Manickam [mailto:kanagaraj.manic...@huawei.com]
Sent: Monday, September 4, 2017 12:10 PM
To: Prashant Kumar <prashant.kum...@amdocs.com>; Subhash Kumar Singh 
<subhash.kumar.si...@huawei.com>; FORSYTH, JAMES <jf2...@att.com>; 
'onap-discuss@lists.onap.org' <onap-discuss@lists.onap.org>
Subject: RE: [onap-discuss] [AAI] Not able to see the relationship data on 
successful create relationship operation

Dear Prashant and Subhash,

I also faced similar issue https://jira.onap.org/browse/AAI-257

While creating the subscription, I have added tenant details ,  though response 
HTTP status code is 201, its failed to associate the tenant details with 
service subscription.

Regards
Kanagaraj M
***
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**

***
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, please notify the sender by phone or email immediately 
and delete it!
***

From: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Prashant Kumar
Sent: 04 September 2017 11:09
To: Subhash Kumar Singh; FORSYTH, JAMES; 'onap-discuss@lists.onap.org'
Subject: Re: [onap-discuss] [AAI] Not able to see the relationship data on 
successful create relationship operation

Hi Subhash,
I don’t think you can directly add relationship with service-subscription 
without giving details of customer.

In relationship-data add one more key value pair for your customer.

If you have edge allowed between tenant and service-subscription then it will 
surely work.
Just add customer.

I hope this will help.


Thanks,
Prashant

From: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Subhash Kumar Singh
Sent: Friday, September 1, 2017 8:50 PM
To: FORSYTH, JAMES <jf2...@att.com<mailto:jf2...@att.com>>; 
'onap-discuss@lists.onap.org' 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>
Subject: Re: [onap-discuss] [AAI] Not able to see the relationship data on 
successful create relationship operation

Hello Jimmy,

I included the relationship list but now I still I am not able to create edge 
between “tenant” and “service-subscription”.
Following are the details:

PUT:  https://8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/example-cloud-owner-val-44086/example-cloud-region-id-val-67393/tenants/tenant/example-tenant-id-val-89637<https://%3cAAI%20IP%3e8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/example-cloud-owner-val-44086/example-cloud-region-id-val-67393/tenants/tenant/example-tenant-id-val-89637>
Body:

http://org.openecomp.aai.inventory/v11;>
example-tenant-id-val-89637
example-tenant-name-val-36717
1504278136606

  
 
service-subscription
 

service-subscription.service-type

example-service-type-val-51081
 
  
   


Response:




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

 

Re: [onap-discuss] [AAI] Not able to see the relationship data on successful create relationship operation

2017-09-03 Thread Prashant Kumar
Hi Subhash,
I don’t think you can directly add relationship with service-subscription 
without giving details of customer.

In relationship-data add one more key value pair for your customer.

If you have edge allowed between tenant and service-subscription then it will 
surely work.
Just add customer.

I hope this will help.


Thanks,
Prashant

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Subhash Kumar Singh
Sent: Friday, September 1, 2017 8:50 PM
To: FORSYTH, JAMES ; 'onap-discuss@lists.onap.org' 

Subject: Re: [onap-discuss] [AAI] Not able to see the relationship data on 
successful create relationship operation

Hello Jimmy,

I included the relationship list but now I still I am not able to create edge 
between “tenant” and “service-subscription”.
Following are the details:

PUT:  https://8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/example-cloud-owner-val-44086/example-cloud-region-id-val-67393/tenants/tenant/example-tenant-id-val-89637
Body:

http://org.openecomp.aai.inventory/v11;>
example-tenant-id-val-89637
example-tenant-name-val-36717
1504278136606

  
 
service-subscription
 

service-subscription.service-type

example-service-type-val-51081
 
  
   


Response:




SVC3000
Invalid input performing %1 on %2 (msg=%3) (ec=%4)

PUT

cloud-infrastructure/cloud-regions/cloud-region/example-cloud-owner-val-44086/example-cloud-region-id-val-67393/tenants/tenant/example-tenant-id-val-89637
Invalid input performing %1 on 
%2:service-subscriptions/service-subscription/example-service-type-val-51081 
not a valid path. It does not start from a valid namespace
ERR.5.2.3000





Please let me know if I am missing anything here.
--
Regards,
Subhash Kumar Singh

***
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**

***
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whoseaddress is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure,reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, pleasenotify the sender by phone or email immediately and 
delete it!
***

From: Subhash Kumar Singh
Sent: Thursday, August 31, 2017 11:30 AM
To: 'FORSYTH, JAMES' >; 
'onap-discuss@lists.onap.org' 
>
Subject: RE: [onap-discuss] Not able to see the relationship data on successful 
create relationship operation

Hello Jimmy,

You can see in shared requests, I’m including relationship-list in my request 
body. But when I query the node, I am not able to see relationship list.

--
Regards,
Subhash Kumar Singh

***
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**

***
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whoseaddress is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure,reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, pleasenotify the sender by phone or email immediately and 
delete it!
***

From: FORSYTH, JAMES [mailto:jf2...@att.com]
Sent: Wednesday, August 30, 2017 9:51 PM
To: Subhash Kumar 

Re: [onap-discuss] [AAI] Getting error while creating a p-interface on a PNF

2017-08-24 Thread Prashant Kumar
Hi Jimmy,

I have tried v11 also and got same error.

Thanks,
Prashant



From: FORSYTH, JAMES [mailto:jf2...@att.com]
Sent: Thursday, August 24, 2017 5:01 PM
To: Prashant Kumar <prashant.kum...@amdocs.com>
Cc: Steven Blimkie <steven.blim...@amdocs.com>; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] [AAI] Getting error while creating a p-interface on 
a PNF

A Amsterdam release is v11, so try 
/aai/v11/network/pnfs/pnf/{pnf-name}/p-interfaces/p-interface/{interface-name}

Thanks,
jimmy


From: KUMAR, PRASHANT
Sent: Thursday, August 24, 2017 2:46 AM
To: FORSYTH, JAMES <jf2...@att.com<mailto:jf2...@att.com>>
Cc: BLIMKIE, STEVEN 
<steven.blim...@amdocs.com<mailto:steven.blim...@amdocs.com>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: [onap-discuss] [AAI] Getting error while creating a p-interface on a 
PNF

Hi Jimmy,

I am trying to create a p-interface on already created pnf (pnf-name:NSG16). 
During creation I am getting error.

Error:

{"requestError": {"serviceException": {
   "messageId": "SVC3000",
   "text": "Invalid input performing %1 on %2 (msg=%3) (ec=%4)",
   "variables":[
  "PUT",
  "network/pnfs/pnf/NSG16/p-interfaces/p-interface/port3",
  "Bad Parameter Passed:No EdgeRule found for passed nodeTypes: 
p-interface, sriov-pf.",
  "ERR.5.4.6120"
   ]
}}}

API used:

/aai/v10/network/pnfs/pnf/{pnf-name}/p-interfaces/p-interface/{interface-name}

Payload used for creating p-interface (pnf-name=NSG16):

http://org.openecomp.aai.inventory/v10<https://urldefense.proofpoint.com/v2/url?u=http-3A__org.openecomp.aai.inventory_v10=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=Oej6QUk5p2KdqNEWySpOHA=d2GYAa0ikPXn4afKwXxvJHp0spRKpVrB0oX18q0zcSY=T8NEvViZOSp64QPjGKmMF4jK-_cNlfWbj42b0Bi1lAk=>">
  port3
  physical port on NSG16



Can you please help me to understand why I am getting this error?

Thanks & Regards,
Prashant Kumar
Amdocs-DVCI,Pune
+91-20-4015 5606 (desk)
+91-95525 17927 (mobile)

[cid:image001.png@01D2AEFA.18825F60]

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=Oej6QUk5p2KdqNEWySpOHA=d2GYAa0ikPXn4afKwXxvJHp0spRKpVrB0oX18q0zcSY=KY3cVLRZLDg5a8x3pPPryiurMC5raRpE-TlEMvbMPfk=>
Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>

Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] [AAI] Getting error while creating a p-interface on a PNF

2017-08-24 Thread Prashant Kumar
Hi Jimmy,

I am trying to create a p-interface on already created pnf (pnf-name:NSG16). 
During creation I am getting error.

Error:

{"requestError": {"serviceException": {
   "messageId": "SVC3000",
   "text": "Invalid input performing %1 on %2 (msg=%3) (ec=%4)",
   "variables":[
  "PUT",
  "network/pnfs/pnf/NSG16/p-interfaces/p-interface/port3",
  "Bad Parameter Passed:No EdgeRule found for passed nodeTypes: 
p-interface, sriov-pf.",
  "ERR.5.4.6120"
   ]
}}}

API used:

/aai/v10/network/pnfs/pnf/{pnf-name}/p-interfaces/p-interface/{interface-name}

Payload used for creating p-interface (pnf-name=NSG16):

http://org.openecomp.aai.inventory/v10;>
  port3
  physical port on NSG16



Can you please help me to understand why I am getting this error?

Thanks & Regards,
Prashant Kumar
Amdocs-DVCI,Pune
+91-20-4015 5606 (desk)
+91-95525 17927 (mobile)

[cid:image001.png@01D2AEFA.18825F60]

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>

Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [AAI] PATCH request in AAI

2017-08-14 Thread Prashant Kumar
Hi,
Don’t you need resource-version for Patch?
Can you please try with resource-version.

Thanks,
Prashant





From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Pujar, Rashmi
Sent: Saturday, August 12, 2017 1:37 AM
To: FORSYTH, JAMES ; ROSE, DANIEL V ; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] [AAI] PATCH request in AAI

Hi Jimmy,

I get the same 412 with just the “service-instance-location-id” in the PATCH 
request.

PATCH 
/aai/v8/business/customers/customer/Desjardins/service-subscriptions/service-subscription/SDWAN/service-instances/service-instance/8128c8ee-13f5-4f0b-9cf5-7932e32664fc
 HTTP/1.1
Host: :
Authorization: Basic QUFJOkFBSQ==
X-FromAppId: RASHMI
Content-Type: application/merge-patch+json
Accept: application/json
Cache-Control: no-cache
Postman-Token: c18a2090-9f55-48f9-f8c1-ebbaa6f26918

{
"service-instance-id": "8128c8ee-13f5-4f0b-9cf5-7932e32664fc",
"service-instance-location-id": "siteId"
}

Thanks,
Rashmi

From: "FORSYTH, JAMES" >
Date: Friday, August 11, 2017 at 3:59 PM
To: "Pujar, Rashmi" >, "ROSE, 
DANIEL V" >, 
"onap-discuss@lists.onap.org" 
>
Subject: RE: [AAI] PATCH request in AAI

Hi, Rashmi,

Can you try issuing the PATCH for the service-instance without the child 
metadata?

Thanks,
jimmy

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Pujar, Rashmi
Sent: Friday, August 11, 2017 3:56 PM
To: ROSE, DANIEL V >; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] [AAI] PATCH request in AAI

Hi Daniel,

I get an empty response with a 412 status. So not much info there about what 
would be the error.
Those are the only logs I see:

aaiadmin@aai-service-3204211426-bjlq5:/opt/app/aai/logs/rest$ tail -f *
2017-08-11T19:52:54.284+|2017-08-11T19:52:54.284+|f12c6fa7-f00f-463c-ab67-7234a2d796c2interceptIn|TEST|AAI||COMPLETE|0|Success||INFO||10.42.14.160|0|aai-service-3204211426-bjlq5||AAILogJAXRSInInterceptorco=aairest::Missing
 requestID. Assigned 
f12c6fa7-f00f-463c-ab67-7234a2d796c2=true:HbaseTxId=0-AutomaticallyOverwritten-20170811-19:52:54:284-71274|
2017-08-11T19:52:54.296+|2017-08-11T19:52:54.296+|f12c6fa7-f00f-463c-ab67-7234a2d796c2interceptOut|TEST|AAI||COMPLETE|0|Success||INFO||10.42.14.160|0|aai-service-3204211426-bjlq5||AAILogJAXRSOutInterceptor$LoggingCallbackco=aairest:|

==> audit.log.2017-08-10 <==
2017-08-11T19:52:54.284+|2017-08-11T19:52:54.296+|f12c6fa7-f00f-463c-ab67-7234a2d796c2REST
 PATCH 
https://:/aai/v8/business/customers/customer/Desjardins/service-subscriptions/service-subscription/SDWAN/service-instances/service-instance/8128c8ee-13f5-4f0b-9cf5-7932e32664fc|TEST|ERRORINFO||10.42.14.160|12|aai-service-3204211426-bjlq5||AAILogJAXRSOutInterceptor$LoggingCallback|||co=aairest::HTTP
 Response Code=412|

Thanks,
Rashmi

From: "ROSE, DANIEL V" >
Date: Friday, August 11, 2017 at 3:51 PM
To: "Pujar, Rashmi" >, 
"onap-discuss@lists.onap.org" 
>
Subject: RE: [AAI] PATCH request in AAI

Can you post the full response from the patch? The body should have more 
details.

I believe that error means the resource versions didn’t match.



Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308

From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Pujar, Rashmi
Sent: Friday, August 11, 2017 3:43 PM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] [AAI] PATCH request in AAI

Hello AAI devs!

I see that AAI supports PATCH requests [1]. I want to update the 
“service-instance-location-id” and “metadata” fields in a specific 
service-instance. However, I get a 412: Pre-requisite failed as response. Below 
is my PATCH request to AAI.
Are there any constraints on the type of attribute that are modifiable? If yes 
is there documentation or some reference in code to get to know that info.

PATCH 

[onap-discuss] SDNC AAI-Service adaptor issue

2017-07-27 Thread Prashant Kumar
Hi ,

I am facing an issue when I am trying to get an AAI resource using AAI-service 
adaptor.

I am getting bad request error due to following code which is adding a request 
property/header


In AAIservice. getConfiguredConnection (URL http_req_url, String method)


con.setRequestProperty(MetricLogger.REQUEST_ID, ml.getRequestID());

This is the code where we are getting error bad request. When I commented this 
code it passed successfully.
Can you please tell me if we need this property or I am missing something here?




Thanks & Regards,
Prashant Kumar
Amdocs-DVCI,Pune
+91-20-4015 5606 (desk)
+91-95525 17927 (mobile)

[cid:image001.png@01D2AEFA.18825F60]

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>

Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


Re: [onap-discuss] [SDNC][APP-C] Importance of SDNC in vFW Demo

2017-07-11 Thread Prashant Kumar
Hi Manoj,

Yes NB API’s defined are for Network instance creation which includes resources 
in AA
Yes if you will go through DG’s you will find that depending upon actions 
provided like assign/reserve/allocate/activate, DG flow behaves differently.
From DG we can communicate to AA or any other southbound system using 
adaptors.

Above comments are for sdnc.

Thanks,
Prashant

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Cipher Cipher
Sent: Tuesday, July 11, 2017 12:53 PM
To: Manoj K Nair 
Cc: onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] [SDNC][APP-C] Importance of SDNC in vFW Demo

Hi,

Thanks Manoj and Tapan for your replies.

Manoj I am new to dgbuilder. Can you just briefly explain about dgbuilder and 
its role in appc and sdnc

Cheers
Shankar

On 11-Jul-2017 12:42 PM, "Manoj K Nair" 
> wrote:
Hi Tapan,

In 
northbound/vnfapi/provider/src/main/java/org/openecomp/sdnc/vnfapi/vnfapiProvider.java,
 I could see many preload API functions implemented. For example , 
preloadNetworkTopologyOperation . Looking at the DG in 
vnfapi/src/main/xml/VNF-API_preload-network-topology-operation.xml , I think  
this is meant to reserve resources from network . So this may lead to a call to 
AAI for resource reservation. Can you confirm this is the flow you meant below 
as answer to #1 which can be alternately used instead of what is done currently 
by MSO workflow (for resource allocation/reservation in A)

I think #3 below is for Service Function Chain.  While ODL supports SFC through 
the SFC project, not sure if this is completely leveraged in ONAP. Also in ODL 
SFC most of the use cases involves working with VIM (say openstack) to map the 
networking-sfc port pairs in to ODL.  In the DG supported node types, maybe we 
need to leverage multiple “configure“ DG node to set configuration in multiple 
hops (vnf-instance operation or network-topology-operation), or use native SFC 
project in ODL. May be some experts in DG can clarify this.

Regards

Manoj

[https://www.netcracker.com/assets/img/netcracker-social-final.png]ƕ
From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org]
 On Behalf Of Tapan Majhi
Sent: Tuesday, July 11, 2017 10:53 AM
To: Cipher Cipher; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] [SDNC][APP-C] Importance of SDNC in vFW Demo

Cipher,

I believe SDNC is not getting used to its full capacity in the demo. The 
workflow getting used in MSO is having one of the step as preloading the data.
Because of which SDNC is getting used to get all the ips for the heat file.In 
the demo . In complex scenarios SDNC can play a vital role to create resources 
,updating AAI and many more.
In the demo not such action taking place. MSO is doing everything.
Someone from SDNC can explain it better.

I didn’t use the ./demo.sh appc directly but this is needed at the time of 
closed loop . When APPC controls the traffic with the help of vnf action 
“ModifyConfig”.
If the mounting is not done ModifyConfig will not be successful. If you have 
different VNF then in that also we need honeycomb to make modifyConfig 
successful.

Not sure about your third query. What is SFC ?

Regards,
Tapan M



From: 
onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Cipher Cipher
Sent: Tuesday, July 11, 2017 12:08 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] [SDNC][APP-C] Importance of SDNC in vFW Demo

Hey,

I am trying vFirewall demo using ONAP. Along the way I am trying to understand 
the each component I encountered. I couldn't understand the following two 
points.

1) Preloading of data: Before deploying Vf-module, we have to preload the data 
to SDNC. But in one of the comments, I came to know this step to update AAI 
indirectly through SDNC. If that's true, then what is the role of SDNC here. 
How can I make use of SDNC in complex usecases.

2) APP-C Mounting: Why we need to ./demo.sh appc to trigger the action in 
packet generator. If I am using a different VNF, how can I use ./demo.sh ?

3)In the release-1.0.0 can we have support of SFC in SDNC?


Cheers
Shankar
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement, you may review at 
https://www.amdocs.com/about/email-disclaimer
Amdocs Development Centre India Private Limited having CIN: 
U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A 
limited liability partner­ship with LLP Identification Number: AAI-6901 
effective 28th Feb 2017)




The information transmitted herein is intended only for 

Re: [onap-discuss] SDN-C Code flow Queries

2017-07-07 Thread Prashant Kumar
If you mean by flow execution from one node to another then they are in memory.
Once your DG flow execution gets completed flow will come back to caller which 
is your northbound rpcs.


Thanks,
Prashant

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of 
olivier.augiz...@orange.com
Sent: Friday, July 7, 2017 12:40 PM
To: FREEMAN, BRIAN D ; Arun Arora (c) ; 
onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] SDN-C Code flow Queries

Thanks again.  Now it is clear !

Last question (I hope). Are DG execution states just stored in memory or are 
they persisted? (And if persisted, where?).

Best regards,
Olivier
De : FREEMAN, BRIAN D [mailto:bf1...@att.com]
Envoyé : jeudi 6 juillet 2017 18:09
À : AUGIZEAU Olivier DTSI/DERS; Arun Arora (c); 
onap-discuss@lists.onap.org
Objet : RE: SDN-C Code flow Queries

Depends on the service.

Today we do MPLS VPN provisioning on a per vPE/PE basis and rollback just that 
vPE/PE.

When we have multiple devices in one SDNC transaction we make the DG handle the 
consistent application of the change or rollback as needed.

We would generally avoid your use case since we tend to bring up new links on 
vPE's without touching the existing vPE's connections , but if we decided to do 
something like change 4 vPE's in one customer order we would pass in an array 
of the vPE changes and the DG would process the transaction using one of two 
mechanism.

i)Careful booking of transaction and success and rollback 
(btw this is why we separate current md-sal data from input md-sal data)

ii)   Netconf-lite where the adaptor would do a netconf session 
to each device and only after all have check-commit successfully do we do the 
commits and unlocks.

iii) In the end we would usually only touch one vPE at a time 
and on failure respond back to SO that orchestration has to be involved since 
generally we dont want to rollback the other 3 successfully configured vPE's.

From: olivier.augiz...@orange.com 
[mailto:olivier.augiz...@orange.com]
Sent: Thursday, July 06, 2017 11:48 AM
To: FREEMAN, BRIAN D >; Arun Arora (c) 
>; 
onap-discuss@lists.onap.org
Subject: RE: SDN-C Code flow Queries

Hello,

My question related to the roll back mechanism was not related to each specific 
network adaptor but global to a DG execution.  (Of course if a network adaptor 
cannot implement an "atomic" integrity we cannot have a global integrity) .

Let's take as example a VPN provisioning involving 4 PMLS PE routers with the 
same Netconf adaptor.
If the SDN-C can configure 3 PE and fails for the 4th --> how the global 
network configuration consistency is guaranteed ? Is the DG execution state 
stored and resumed later, is there a global roll-back? Or is it a DG design 
concern to handle each failure exception?

Best regards,
Olivier



De : FREEMAN, BRIAN D [mailto:bf1...@att.com]
Envoyé : jeudi 6 juillet 2017 16:23
À : AUGIZEAU Olivier DTSI/DERS; Arun Arora (c); 
onap-discuss@lists.onap.org
Objet : RE: SDN-C Code flow Queries

Responses below.

Brian


From: olivier.augiz...@orange.com 
[mailto:olivier.augiz...@orange.com]
Sent: Thursday, July 06, 2017 3:16 AM
To: FREEMAN, BRIAN D >; Arun Arora (c) 
>; 
onap-discuss@lists.onap.org
Subject: RE: SDN-C Code flow Queries

Hello,

Thanks a lot Brian for this clarification.

Could you please give additional information about the following points?



(3) "DG Builder builds the logic for processing rpc requests that are in yang 
models. 1 rpc == 1 DG" ?

The sliapi Yang data model includes an execute-graph rpc that have other rpc as 
attribute

Is the execute-graph rpc should be considered as a "meta" rpc with DG "rpc" as 
attribute?

>> They both have rpc attributes. If you look at the vnf-topology-operation DG 
>> it has an rpc called vnf-topology-operation. The vnf-topolog-operation DG 
>> has "call" nodes that refer to the sub-tending DG's like vnf-topology-assign 
>> () . the 
>> vnf-topology-assign rpc's etc do not need to be an rpc in the VNF-API.yang 
>> file since they aren't accessed via the REST API on the northbound side 
>> ([sdnc/northbound.git]
>>  / 
>> 

Re: [onap-discuss] SDN-C Code flow Queries

2017-07-06 Thread Prashant Kumar
Brian has explained almost everything, adding some more comments for you.


Thanks,
Prashant
From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of FREEMAN, BRIAN D
Sent: Thursday, July 6, 2017 8:04 PM
To: Arun Arora (c) 
Cc: onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] SDN-C Code flow Queries



From: Arun Arora (c) [mailto:aroraa...@vmware.com]
Sent: Thursday, July 06, 2017 10:21 AM
To: Arun Arora (c) >; 
FREEMAN, BRIAN D >
Cc: onap-discuss@lists.onap.org
Subject: RE: SDN-C Code flow Queries

Hi Brian,

We continued to study the code with the information you provided along with 
getting more familiar with the ODL framework. As you explained and we 
understood, SDNC has 3 workflows, namely, design-time, onboarding and run-time. 
We are trying to understand the code execution flow for each from northbound to 
southbound.

We have some questions and would really appreciate if you can provide your 
comments on them and if possible provide the APIs for the workflows:
1)  Design-Time
a.   We understand dgbuilder is used to create the directed-graphs. Are 
these static files which are stored once created into any database, like AAI?
>> they are static and versioned and stored in the mysql databse in the 
>> SVC_LOGIC table.
[PK]--> as mentioned by Brian they are static and versioned , you can find some 
of OOB DGs in project sdnc/oam path:- 
sdnc\oam\platform-logic\vnfapi\src\main\json or xml.  We can have two form 
either in xml or JSon. One loaed in mysql db is in xml. Json one is used to 
import in nodered.
b.  Also, what is the input to dgbuilder create the directed-graphs? We saw 
in the netconf mount example, that certain JSON are used.. is similar input 
used for creating directed graphs for any service/ resource?
>> I dont understand the question. DG creation is a design time activity by the 
>> network engineers/developers to implement the state changes. They are not 
>> automtically generated.

c.   What is the role of admin portal in design time
>> its a way to activate new versions of a DG for testing in the development 
>> labs. Its also used for add-on admin functions if we need a GUI for some 
>> tier support function on an instance but generally its an extremely thin 
>> helper application for managing data in the controller.
2)  Run-Time
a.   I have some confusion about the RPC request. I suppose the RPC request 
comes to the SDN-C interface as part of the run-time workflow? If yes, what is 
the interface on which the RPC request is received?

>> http://[ipaddrss]:8282/restconf/operations/VNF-API:vnf-topology-operation

(POST body would be the json or xml for the input)

You can see the list of these operations in the apidoc/explorer if you have a 
running SDNC instnace (btw this is swagger.json based online documenation as 
you can see from the GUI view )

b.  Also, how the directed-graph is used along with RPC input to create the 
complete sequence
>> Again not sure I fully understand the question but look at the 
>> [sdnc/northbound.git]
>>  / 
>> vnfapi
>>  / 
>> provider
>>  / 
>> src
>>  / 
>> main
>>  / 
>> java
>>  / 
>> org
>>  / 
>> openecomp
>>  / 
>> sdnc
>>  / 
>> vnfapi
>>  /

@Override
1008
 public Future 
vnfInstanceTopologyOperation(
1009
 VnfInstanceTopologyOperationInput input) {

That method maps the vnf-topology-operation