From 044c83b3446867cc26d09b69e7b71e5529947d7c Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Fri, 14 Dec 2018 11:41:00 -0500 Subject: [PATCH] add config modify LCM sample request per user request, adding one LCM:config-modify request sample Change-Id: I3ebe9bf86ce53beb619cff6a4b8b12e34d85dda8 Issue-ID: APPC-1273 Signed-off-by: Taka Cho --- docs/APPC LCM API Guide/APPC LCM API Guide.rst | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs/APPC LCM API Guide/APPC LCM API Guide.rst b/docs/APPC LCM API Guide/APPC LCM API Guide.rst index 73d558edc..c742dd168 100644 --- a/docs/APPC LCM API Guide/APPC LCM API Guide.rst +++ b/docs/APPC LCM API Guide/APPC LCM API Guide.rst @@ -980,6 +980,40 @@ Request Payload Parameters: | | be specified. | | | +-------------------------+----------------------------------------+-----------------+-------------------------------------------------------+ +ConfigModify Request +^^^^^^^^^^^^^^^^^^^^ + + Examples:: + + { + "input": { + "common-header": { + "timestamp": "2017-10-25T11:10:04.244Z", + "api-ver": "2.00", + "originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced200", + "request-id": "664be3d2-6c12-4f4b-a3e7-c349acced200", + "sub-request-id": "1", + "flags": { + "force": "TRUE", + "ttl": 60000 + } + }, + "action": "ConfigModify", + "action-identifiers": { + "vnf-id": "" + }, + "payload": "{ \"config-url\":\"5f517fd4-bf3d-43bc-8147-1b61776d7ded\", + \"config-json\": \"{\"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\" }]}}" + } + } + } + + ConfigModify Response ^^^^^^^^^^^^^^^^^^^^^ -- 2.16.6