Dear Gildas,

Happy to announce that, We have successfully tested the SO and OOF interface on 
the OOM (SB-00) env.
With this both SO and OOF teams have completed the tasks in hand for RC2 and 
will be making the final release versions of the dockers.
As aniticipated the issue was in the configuration of the OOM that created the 
issue initially.
Special thanks to the OOF team for rendering the late night support in making 
this work.

The dashboard has been updated with the latest status
https://wiki.onap.org/display/DW/Integration+Weather+Board


Thanks and Regards,
M Seshu Kumar
Senior System Architect
uTraffic, Software BU,
Huawei Technologies India Pvt. Ltd.
Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield
Bengaluru-560066, Karnataka.
Tel: + 91-80-49160700 , Mob: 9845355488
___________________________________________________________________________________________________
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: PUZHAVAKATH NARAYANAN, SHANKARANARAYANAN (SHANKARANARAYANAN) 
[[email protected]]
Sent: Friday, June 01, 2018 2:28 PM
To: Seshu m
Subject: Fwd: Pairwise testing OOM logs



Begin forwarded message:

From: "PATEL, ANKITKUMAR N (ANKITKUMAR N)" 
<[email protected]<mailto:[email protected]>>
Subject: Pairwise testing OOM logs
Date: June 1, 2018 at 2:22:21 AM EDT
To: "PUZHAVAKATH NARAYANAN, SHANKARANARAYANAN (SHANKARANARAYANAN)" 
<[email protected]<mailto:[email protected]>>
Cc: "PUTHENPURA, SARAT (SARAT)" 
<[email protected]<mailto:[email protected]>>

Please find an evidence for completing the pairwise testing in the OOM 
environment.

Debug Logs


2018-06-01T06:13:14,229+00:00||Thread-12||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Requesting
 URL: http://pdp:8081/pdp/api/getConfig
2018-06-01T06:13:14,302+00:00||Thread-12||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Received
 response [code: 200, headers: {'Server': 'Apache-Coyote/1.1', 'Content-Type': 
'application/json;charset=UTF-8', 'Date': 'Fri, 01 Jun 2018 06:13:17 GMT', 
'Transfer-Encoding': 'chunked'}, data: {'history': [], '_content': 
b'[{"policyConfigMessage":"Config Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"optimizationQueryPolicy\\",\\"policyName\\":\\"OSDF_R2.QueryPolicy_vCPE\\",\\"description\\":\\"Optimization
 query policy for 
vCPE\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"3\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"2\\",\\"guard\\":\\"False\\",\\"content\\":{\\"queryProperties\\":[{\\"attribute\\":\\"customerLatitude\\",\\"attribute_location\\":\\"customerLatitude\\"},{\\"attribute\\":\\"customerLongitude\\",\\"attribute_location\\":\\"customerLongitude\\"}],\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgmuxar\\",\\"vgw\\"],\\"policyType\\":\\"optimizationQueryPolicy\\",\\"serviceName\\":\\"vCPE\\",\\"identity\\":\\"vCPE_Query_Policy\\"}}","policyName":"OSDF_R2.Config_OOF_QueryPolicy_vCPE.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"optimizationQueryPolicy","policyScope":"vcpe,us,international,ip,vgmuxar,vgw","policyType":"optimizationQueryPolicy"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"vnfPolicy\\",\\"policyName\\":\\"OSDF_R2.vnfPolicy_vGW\\",\\"description\\":\\"vnfPolicy\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"6\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"3\\",\\"guard\\":\\"False\\",\\"content\\":{\\"identity\\":\\"vnf_vG\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgw\\"],\\"policyType\\":\\"vnfPolicy\\",\\"resources\\":[\\"vGW\\"],\\"applicableResources\\":\\"any\\",\\"vnfProperties\\":[{\\"inventoryProvider\\":\\"aai\\",\\"serviceType\\":\\"\\",\\"inventoryType\\":\\"cloud\\",\\"customerId\\":\\"\\",\\"orchestrationStatus\\":\\"\\",\\"equipmentRole\\":\\"\\"}]}}","policyName":"OSDF_R2.Config_OOF_vnfPolicy_vGW.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"vnfPolicy","policyScope":"vcpe,us,international,ip,vgw","policyType":"vnfPolicy"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"vnfPolicy\\",\\"policyName\\":\\"OSDF_R2.vnfPolicy_vGMuxAR\\",\\"description\\":\\"vnfPolicy\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"6\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"3\\",\\"guard\\":\\"False\\",\\"content\\":{\\"identity\\":\\"vnf_vGMuxInfra\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgmuxar\\"],\\"policyType\\":\\"vnfPolicy\\",\\"resources\\":[\\"vgMuxAR\\"],\\"applicableResources\\":\\"any\\",\\"vnfProperties\\":[{\\"inventoryProvider\\":\\"aai\\",\\"serviceType\\":\\"vGMuxInfra-xx\\",\\"inventoryType\\":\\"service\\",\\"customerId\\":\\"SDN-ETHERNET-INTERNET\\",\\"orchestrationStatus\\":\\"\\",\\"equipmentRole\\":\\"\\"}]}}","policyName":"OSDF_R2.Config_OOF_vnfPolicy_vGMuxAR.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"vnfPolicy","policyScope":"vcpe,us,international,ip,vgmuxar","policyType":"vnfPolicy"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"zone\\",\\"policyName\\":\\"OSDF_R2.Affinity_vCPE_1\\",\\"description\\":\\"Optimization
 query policy for 
vCPE\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"3\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"2\\",\\"guard\\":\\"False\\",\\"content\\":{\\"identity\\":\\"affinity_vCPE\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vvmuxar\\",\\"vgw\\"],\\"affinityProperty\\":{\\"qualifier\\":\\"same\\",\\"category\\":\\"complex\\"},\\"policyType\\":\\"zone\\",\\"resources\\":[\\"vgMuxAR\\",\\"vGW\\"]}}","policyName":"OSDF_R2.Config_OOF_Affinity_vCPE_1.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"zone","policyScope":"vcpe,us,international,ip,vvmuxar,vgw","policyType":"zone"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"placementOptimization\\",\\"policyName\\":\\"OSDF_R2.Placement_Optimization_1\\",\\"description\\":\\"Placement
 Optimization Policy for 
vgMuxAR\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"5\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"3\\",\\"guard\\":\\"False\\",\\"content\\":{\\"objectiveParameter\\":{\\"parameterAttributes\\":[{\\"resources\\":[\\"vgMuxAR\\"],\\"customerLocationInfo\\":\\"customer_loc\\",\\"parameter\\":\\"distance\\",\\"weight\\":\\"1\\",\\"operator\\":\\"product\\"},{\\"resources\\":[\\"vGW\\"],\\"customerLocationInfo\\":\\"customer_loc\\",\\"parameter\\":\\"distance\\",\\"weight\\":\\"1\\",\\"operator\\":\\"product\\"}],\\"operator\\":\\"sum\\"},\\"identity\\":\\"optimization\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgmuxar\\",\\"vgw\\"],\\"policyType\\":\\"placementOptimization\\",\\"objective\\":\\"minimize\\"}}","policyName":"OSDF_R2.Config_OOF_Placement_Optimization_1.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"placementOptimization","policyScope":"vcpe,us,international,ip,vgmuxar,vgw","policyType":"placementOptimization"},"responseAttributes":{},"property":null}]',
 'encoding': 'UTF-8', 'reason': 'OK', 'raw': <urllib3.response.HTTPResponse 
object at 0x7f0dce2b8a58>, 'url': 'http://pdp:8081/pdp/api/getConfig', 
'status_code': 200, 
'cookies<http://pdp:8081/pdp/api/getConfig',%20'status_code':%20200,%20'cookies>':
 <RequestsCookieJar[]>, '_content_consumed': True, '_next': None, 'request': 
<PreparedRequest [POST]>, 'headers': {'Server': 'Apache-Coyote/1.1', 
'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Fri, 01 Jun 2018 
06:13:17 GMT', 'Transfer-Encoding': 'chunked'}, 'connection': 
<requests.adapters.HTTPAdapter object at 0x7f0dce2b8390>, 'elapsed': 
datetime.timedelta(0, 0, 61153)}]
2018-06-01T06:13:14,303+00:00||Thread-12||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Requesting
 URL: http://pdp:8081/pdp/api/getConfig
2018-06-01T06:13:14,332+00:00||Thread-12||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Received
 response [code: 200, headers: {'Server': 'Apache-Coyote/1.1', 'Content-Type': 
'application/json;charset=UTF-8', 'Date': 'Fri, 01 Jun 2018 06:13:17 GMT', 
'Transfer-Encoding': 'chunked'}, data: {'history': [], '_content': 
b'[{"policyConfigMessage":"Config Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"placementOptimization\\",\\"policyName\\":\\"OSDF_R2.Placement_Optimization_1\\",\\"description\\":\\"Placement
 Optimization Policy for 
vgMuxAR\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"5\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"3\\",\\"guard\\":\\"False\\",\\"content\\":{\\"objectiveParameter\\":{\\"parameterAttributes\\":[{\\"resources\\":[\\"vgMuxAR\\"],\\"customerLocationInfo\\":\\"customer_loc\\",\\"parameter\\":\\"distance\\",\\"weight\\":\\"1\\",\\"operator\\":\\"product\\"},{\\"resources\\":[\\"vGW\\"],\\"customerLocationInfo\\":\\"customer_loc\\",\\"parameter\\":\\"distance\\",\\"weight\\":\\"1\\",\\"operator\\":\\"product\\"}],\\"operator\\":\\"sum\\"},\\"identity\\":\\"optimization\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgmuxar\\",\\"vgw\\"],\\"policyType\\":\\"placementOptimization\\",\\"objective\\":\\"minimize\\"}}","policyName":"OSDF_R2.Config_OOF_Placement_Optimization_1.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"placementOptimization","policyScope":"vcpe,us,international,ip,vgmuxar,vgw","policyType":"placementOptimization"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"vnfPolicy\\",\\"policyName\\":\\"OSDF_R2.vnfPolicy_vGMuxAR\\",\\"description\\":\\"vnfPolicy\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"6\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"3\\",\\"guard\\":\\"False\\",\\"content\\":{\\"identity\\":\\"vnf_vGMuxInfra\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgmuxar\\"],\\"policyType\\":\\"vnfPolicy\\",\\"resources\\":[\\"vgMuxAR\\"],\\"applicableResources\\":\\"any\\",\\"vnfProperties\\":[{\\"inventoryProvider\\":\\"aai\\",\\"serviceType\\":\\"vGMuxInfra-xx\\",\\"inventoryType\\":\\"service\\",\\"customerId\\":\\"SDN-ETHERNET-INTERNET\\",\\"orchestrationStatus\\":\\"\\",\\"equipmentRole\\":\\"\\"}]}}","policyName":"OSDF_R2.Config_OOF_vnfPolicy_vGMuxAR.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"vnfPolicy","policyScope":"vcpe,us,international,ip,vgmuxar","policyType":"vnfPolicy"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"vnfPolicy\\",\\"policyName\\":\\"OSDF_R2.vnfPolicy_vGW\\",\\"description\\":\\"vnfPolicy\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"6\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"3\\",\\"guard\\":\\"False\\",\\"content\\":{\\"identity\\":\\"vnf_vG\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgw\\"],\\"policyType\\":\\"vnfPolicy\\",\\"resources\\":[\\"vGW\\"],\\"applicableResources\\":\\"any\\",\\"vnfProperties\\":[{\\"inventoryProvider\\":\\"aai\\",\\"serviceType\\":\\"\\",\\"inventoryType\\":\\"cloud\\",\\"customerId\\":\\"\\",\\"orchestrationStatus\\":\\"\\",\\"equipmentRole\\":\\"\\"}]}}","policyName":"OSDF_R2.Config_OOF_vnfPolicy_vGW.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"vnfPolicy","policyScope":"vcpe,us,international,ip,vgw","policyType":"vnfPolicy"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"zone\\",\\"policyName\\":\\"OSDF_R2.Affinity_vCPE_1\\",\\"description\\":\\"Optimization
 query policy for 
vCPE\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"3\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"2\\",\\"guard\\":\\"False\\",\\"content\\":{\\"identity\\":\\"affinity_vCPE\\",\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vvmuxar\\",\\"vgw\\"],\\"affinityProperty\\":{\\"qualifier\\":\\"same\\",\\"category\\":\\"complex\\"},\\"policyType\\":\\"zone\\",\\"resources\\":[\\"vgMuxAR\\",\\"vGW\\"]}}","policyName":"OSDF_R2.Config_OOF_Affinity_vCPE_1.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"zone","policyScope":"vcpe,us,international,ip,vvmuxar,vgw","policyType":"zone"},"responseAttributes":{},"property":null},{"policyConfigMessage":"Config
 Retrieved! 
","policyConfigStatus":"CONFIG_RETRIEVED","type":"JSON","config":"{\\"service\\":\\"optimizationQueryPolicy\\",\\"policyName\\":\\"OSDF_R2.QueryPolicy_vCPE\\",\\"description\\":\\"Optimization
 query policy for 
vCPE\\",\\"templateVersion\\":\\"OpenSource.version.1\\",\\"version\\":\\"test1\\",\\"priority\\":\\"3\\",\\"riskType\\":\\"test\\",\\"riskLevel\\":\\"2\\",\\"guard\\":\\"False\\",\\"content\\":{\\"queryProperties\\":[{\\"attribute\\":\\"customerLatitude\\",\\"attribute_location\\":\\"customerLatitude\\"},{\\"attribute\\":\\"customerLongitude\\",\\"attribute_location\\":\\"customerLongitude\\"}],\\"policyScope\\":[\\"vcpe\\",\\"us\\",\\"international\\",\\"ip\\",\\"vgmuxar\\",\\"vgw\\"],\\"policyType\\":\\"optimizationQueryPolicy\\",\\"serviceName\\":\\"vCPE\\",\\"identity\\":\\"vCPE_Query_Policy\\"}}","policyName":"OSDF_R2.Config_OOF_QueryPolicy_vCPE.1.xml","policyType":"Optimization","policyVersion":"1","matchingConditions":{"ONAPName":"DCAE","service":"optimizationQueryPolicy","policyScope":"vcpe,us,international,ip,vgmuxar,vgw","policyType":"optimizationQueryPolicy"},"responseAttributes":{},"property":null}]',
 'encoding': 'UTF-8', 'reason': 'OK', 'raw': <urllib3.response.HTTPResponse 
object at 0x7f0dce2b8f28>, 'url': 'http://pdp:8081/pdp/api/getConfig', 
'status_code': 200, 
'cookies<http://pdp:8081/pdp/api/getConfig',%20'status_code':%20200,%20'cookies>':
 <RequestsCookieJar[]>, '_content_consumed': True, '_next': None, 'request': 
<PreparedRequest [POST]>, 'headers': {'Server': 'Apache-Coyote/1.1', 
'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Fri, 01 Jun 2018 
06:13:17 GMT', 'Transfer-Encoding': 'chunked'}, 'connection': 
<requests.adapters.HTTPAdapter object at 0x7f0dce2b8c88>, 'elapsed': 
datetime.timedelta(0, 0, 17197)}]
2018-06-01T06:13:14,350+00:00||Thread-13||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Sending
 first Conductor request for request_id a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3
2018-06-01T06:13:14,351+00:00||Thread-13||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Payload
 to Conductor: {"name": "a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3", "timeout": 600, 
"files": {}, "template": {"locations": {"customer_loc": {"latitude": 
{"get_param": "customer_lat"}, "longitude": {"get_param": "customer_long"}}}, 
"optimization": {"minimize": {"sum": [{"product": ["1", {"distance_between": 
["customer_loc", "vgMuxAR"]}]}, {"product": ["1", {"distance_between": 
["customer_loc", "vGW"]}]}]}}, "homing_template_version": "2017-10-10", 
"constraints": {"affinity_vCPE": {"properties": {"qualifier": "same", 
"category": "complex"}, "demands": ["vgMuxAR", "vGW"], "type": "zone"}}, 
"parameters": {"customer_lat": 32.89748, "service_id": 
"0dbb9d5f-27d9-429b-bc36-293e9fab7731", "service_name": "", "customer_long": 
97.040443}, "demands": {"vGW": [{"inventory_provider": "aai", "attributes": 
{"model-invariant-id": "782c87a6-b712-47d1-9c5b-1ea2cd9a2dd5", 
"model-version-id": "9877dbbe-8ada-40a2-8adb-f6f26f1ad9ab"}, "service_type": 
"c3e0e82b-3367-48ce-ab00-27dc2e91a34a", "inventory_type": "cloud"}], "vgMuxAR": 
[{"inventory_provider": "aai", "attributes": {"model-invariant-id": 
"565d5b75-11b8-41be-9991-ee03a0049159", "model-version-id": 
"61414c6c-6082-4e03-9824-bf53c3582b78", "global-customer-id": 
"SDN-ETHERNET-INTERNET"}, "service_type": 
"46b29078-8442-4ea3-bea6-9199a7d514d4", "inventory_type": "service"}]}}, 
"limit": 1}
2018-06-01T06:13:14,351+00:00||Thread-13||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Requesting
 URL: http://oof-has-api:8091/v1/plans/
2018-06-01T06:13:17,534+00:00||Thread-13||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Received
 response [code: 201, headers: {'Date': 'Fri, 01 Jun 2018 06:13:17 GMT', 
'Server': 'WSGIServer/0.1 Python/2.7.15', 'Content-Type': 'application/json', 
'Content-Length': '227'}, data: {'history': [], '_content': b'{"status": 
"template", "name": "a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3", "links": [[{"href": 
"http://oof-has-api:8091/v1/plans/9c0e0c70-66a3-4b76-9754-75358e9fd314";, "rel": 
"self"}]], "id": "9c0e0c70-66a3-4b76-9754-75358e9fd314"}', 'encoding': None, 
'reason': 'Created', 'raw': <urllib3.response.HTTPResponse object at 
0x7f0dcd45f0b8>, 'url': 'http://oof-has-api:8091/v1/plans/', 'status_code': 
201, 
'cookies<http://oof-has-api:8091/v1/plans/',%20'status_code':%20201,%20'cookies>':
 <RequestsCookieJar[]>, '_content_consumed': True, '_next': None, 'request': 
<PreparedRequest [POST]>, 'headers': {'Date': 'Fri, 01 Jun 2018 06:13:17 GMT', 
'Server': 'WSGIServer/0.1 Python/2.7.15', 'Content-Type': 'application/json', 
'Content-Length': '227'}, 'connection': <requests.adapters.HTTPAdapter object 
at 0x7f0dce2b8828>, 'elapsed': datetime.timedelta(0, 3, 161810)}]
2018-06-01T06:13:27,543+00:00||Thread-13||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Attempting
 to read the plan from the conductor provided url 
http://oof-has-api:8091/v1/plans/9c0e0c70-66a3-4b76-9754-75358e9fd314
2018-06-01T06:13:27,544+00:00||Thread-13||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Requesting
 URL: http://oof-has-api:8091/v1/plans/9c0e0c70-66a3-4b76-9754-75358e9fd314
2018-06-01T06:13:29,668+00:00||Thread-13||OOF_OSDF|b52461cc-6562-11e8-95f1-02ba2e87b068|DEBUG||10.42.200.221|dev-oof-6585965cfc-g6hxq||||Received
 response [code: 200, headers: {'Date': 'Fri, 01 Jun 2018 06:13:29 GMT', 
'Server': 'WSGIServer/0.1 Python/2.7.15', 'Content-Type': 'application/json', 
'Content-Length': '299'}, data: {'history': [], '_content': b'{"plans": 
[{"status": "error", "message": "Unable to find any candidate for demand 
vgMuxAR", "name": "a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3", "links": [[{"href": 
"http://oof-has-api:8091/v1/plans/9c0e0c70-66a3-4b76-9754-75358e9fd314";, "rel": 
"self"}]], "id": "9c0e0c70-66a3-4b76-9754-75358e9fd314"}]}', 'encoding': None, 
'reason': 'OK', 'raw': <urllib3.response.HTTPResponse object at 
0x7f0dcd45f908>, 'url': 
'http://oof-has-api:8091/v1/plans/9c0e0c70-66a3-4b76-9754-75358e9fd314', 
'status_code': 200, 
'cookies<http://oof-has-api:8091/v1/plans/9c0e0c70-66a3-4b76-9754-75358e9fd314',%20'status_code':%20200,%20'cookies>':
 <RequestsCookieJar[]>, '_content_consumed': True, '_next': None, 'request': 
<PreparedRequest [GET]>, 'headers': {'Date': 'Fri, 01 Jun 2018 06:13:29 GMT', 
'Server': 'WSGIServer/0.1 Python/2.7.15', 'Content-Type': 'application/json', 
'Content-Length': '299'}, 'connection': <requests.adapters.HTTPAdapter object 
at 0x7f0dce2b8390>, 'elapsed': datetime.timedelta(0, 2, 109789)}]

Audit Logs

2018-06-01T06:13:14,223+00:00|2018-06-01T06:13:14,223+00:00|||Thread-12||OOF_OSDF|||||b52461cc-6562-11e8-95f1-02ba2e87b068|INFO||10.42.200.221||dev-oof-6585965cfc-g6hxq|||||||||Received
 a call to http://10.12.6.27:30248/api/oof/v1/placement from 10.42.215.36 
{"placementInfo": {"subscriberInfo": {"globalSubscriberId": 
"SDN-ETHERNET-INTERNET", "subscriberName": "Kaneohe", "subscriberCommonSiteId": 
""}, "placementDemands": [{"resourceModelInfo": {"modelVersion": "", 
"modelCustomizationName": "", "modelType": "", "modelName": "", 
"modelInvariantId": "565d5b75-11b8-41be-9991-ee03a0049159", "modelVersionId": 
"61414c6c-6082-4e03-9824-bf53c3582b78"}, "tenantId": "", "resourceModuleName": 
"vgMuxAR", "serviceResourceId": "46b29078-8442-4ea3-bea6-9199a7d514d4"}, 
{"resourceModelInfo": {"modelVersion": "", "modelCustomizationName": "", 
"modelType": "", "modelName": "", "modelInvariantId": 
"no-resourceModelInvariantId", "modelVersionId": "no-resourceModelVersionId"}, 
"tenantId": "", "resourceModuleName": "BrgAR", "serviceResourceId": 
"3a876e23-b9d8-4a6b-a440-98cfdc6fd044"}, {"resourceModelInfo": {"modelVersion": 
"1.0", "modelCustomizationName": "", "modelType": "", "modelName": 
"vcpevsp_vgw_0521no_hpa", "modelInvariantId": 
"782c87a6-b712-47d1-9c5b-1ea2cd9a2dd5", "modelVersionId": 
"9877dbbe-8ada-40a2-8adb-f6f26f1ad9ab"}, "tenantId": "", "resourceModuleName": 
"vGW", "serviceResourceId": "c3e0e82b-3367-48ce-ab00-27dc2e91a34a"}], 
"requestParameters": {"customerLongitude": "97.040443", "customerName": 
"some_company", "customerLatitude": "32.897480"}}, "serviceInfo": 
{"serviceName": "vcpe", "serviceInstanceId": 
"0dbb9d5f-27d9-429b-bc36-293e9fab7731", "modelInfo": {"modelVersion": "1.0", 
"modelCustomizationName": "", "modelType": "", "modelName": 
"vcpesvc_rescust_0526_no_hpa", "modelInvariantId": 
"c726bb2d-fffc-49bc-9ee7-7cd82d31e71f", "modelVersionId": 
"3f6cf125-db8e-4ee8-bdeb-e2917cb92b6f"}}, "requestInfo": {"callbackUrl": 
"http://mso.api.simpledemo.openecomp.org:8080/workflows/messages/message/oofResponse/a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3";,
 "timeout": 600, "requestId": "a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3", 
"requestType": "create", "transactionId": 
"a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3", "optimizers": ["placement"], 
"sourceId": "so", "numSolutions": 1}}
2018-06-01T06:13:14,333+00:00|2018-06-01T06:13:14,333+00:00|||Thread-12||OOF_OSDF|||||b52461cc-6562-11e8-95f1-02ba2e87b068|INFO||10.42.200.221||dev-oof-6585965cfc-g6hxq|||||||||Initiating
 new worker thread for request ID: a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3[for 
placement]
2018-06-01T06:13:14,334+00:00|2018-06-01T06:13:14,334+00:00|||Thread-12||OOF_OSDF|||||b52461cc-6562-11e8-95f1-02ba2e87b068|INFO||10.42.200.221||dev-oof-6585965cfc-g6hxq|||||||||Accepted
 valid request for ID: a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3 for endpoint: 
http://10.12.6.27:30248/api/oof/v1/placement
2018-06-01T06:15:01,362+00:00|2018-06-01T06:15:01,362+00:00|||Thread-25||OOF_OSDF|||||b52461cc-6562-11e8-95f1-02ba2e87b068|INFO||10.42.200.221||dev-oof-6585965cfc-g6hxq|||||||||A
 health check request is processed!

Curl Request

$ curl -X POST -H "Content-Type: application/json" -u "test:testpwd" -d 
@has_req3.json http://10.12.6.27:30248/api/oof/v1/placement

Response


{
   "requestId": "a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3",
   "transactionId": "a2e3e0cc-3a97-44fc-8a08-1b86143fbdd3",
   "requestStatus": "accepted",
   "statusMessage": ""

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to