-
Bug
-
Resolution: Done
-
High
-
Casablanca Release
The vFirewall flow seems to be working well. There is an issue looking at the messages, that is only noticeable by looking at them. The issue is that Policy sends a “FINAL: FAILURE” instead of “FINAL: SUCCESS”. These are not noticeable since the flow works, but the informational message reporting when looking at the final leg of the transaction messages. The problem is APPC does not relay back the “SubRequestId” provided in the command by Policy. See the messages below, pay attention to the “SubRequestID” field in all the 3 messages. The expectation is that we get the “1”, the one that we send in the ModifyConfig, in the other 2 APPC messages, so they can be correlated properly in Policy (case of multiple retransmissions of the ModifyConfig).
[2018-10-29T20:12:01.609+00:00|DMAAP-source-APPC-CL][IN|DMAAP|APPC-CL]
{
"CommonHeader":
{ "TimeStamp": 1540843920995, "APIver": "1.01", "RequestID": "ccac96c9-d805-4d6f-b81d-67457782eea3", "SubRequestID": "1", "RequestTrack": [], "Flags": [] },
"Action": "ModifyConfig",
"Payload": {
"generic-vnf.vnf-id": "40cb738a-94d7-47a7-ac53-88d68c42cac4",
"pg-streams": {
"pg-stream": [
{ "id": "fw_udp1", "is-enabled": "true" }
,
{ "id": "fw_udp2", "is-enabled": "true" }
,
{ "id": "fw_udp3", "is-enabled": "true" }
,
{ "id": "fw_udp4", "is-enabled": "true" }
,
{ "id": "fw_udp5", "is-enabled": "true" }
]
}
}
}
–
[2018-10-29T20:12:01.955+00:00|DMAAP-source-APPC-CL][IN|DMAAP|APPC-CL]
{"Status":\{"Value":"ACCEPTED","Code":"100"},"CommonHeader":{"OriginatorID":null,"SubrequestID":null,"RequestID":"ccac96c9-d805-4d6f-b81d-67457782eea3","APIver":"1.01","TimeStamp":"1540843920995"},"Payload":{"generic-vnf.vnf-id":"40cb738a-94d7-47a7-ac53-88d68c42cac4","pg-streams":"{\\\"pg-streams\\\": {\\\"pg-stream\\\":[
{\\\"id\\\":\\\"fw_udp1\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp2\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp3\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp4\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp5\\\", \\\"is-enabled\\\":\\\"true\\\"}]}}"}}
–
[2018-10-29T20:12:02.470+00:00|DMAAP-source-APPC-CL][IN|DMAAP|APPC-CL]
{"Status":\{"Value":"SUCCESS","Code":"400"},"CommonHeader":{"OriginatorID":null,"SubrequestID":null,"RequestID":"ccac96c9-d805-4d6f-b81d-67457782eea3","APIver":"1.01","TimeStamp":"1540843920995"},"Payload":{"generic-vnf.vnf-id":"40cb738a-94d7-47a7-ac53-88d68c42cac4","pg-streams":"{\\\"pg-streams\\\": {\\\"pg-stream\\\":[
{\\\"id\\\":\\\"fw_udp1\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp2\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp3\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp4\\\", \\\"is-enabled\\\":\\\"true\\\"},{\\\"id\\\":\\\"fw_udp5\\\", \\\"is-enabled\\\":\\\"true\\\"}]}}"}}