The default value for VNF_DG_MAPPING should be pre-loaded when doing deployment…
https://gerrit.onap.org/r/gitweb?p=appc/deployment.git;a=blob;f=installation/appc/src/main/resources/sqlData.dump;h=e198a7598e103ee3a778c69227d8d0cc47b8468e;hb=HEAD From: Alexis de Talhouët <[email protected]> Sent: Thursday, May 16, 2019 11:17 AM To: onap-discuss <[email protected]>; Alexis de Talhouët <[email protected]> Cc: PLATANIA, MARCO <[email protected]>; FREEMAN, BRIAN D <[email protected]>; [email protected]; CHO, TAKAMUNE <[email protected]> Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work. MariaDB [sdnctl]> select * from VNF_DG_MAPPING; +-------------------+---------+-------------+----------+-------------+----------+------------+-----------+ | VNF_DG_MAPPING_ID | ACTION | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME | DG_VERSION | DG_MODULE | +-------------------+---------+-------------+----------+-------------+----------+------------+-----------+ | 1 | Stop | 2.00 | vm | | VM_Stop | 2.0.0 | APPC | | 2 | Start | 2.00 | vm | | VM_Start | 2.0.0 | APPC | | 3 | Restart | 2.00 | vm | | RebootVM | 4.0.0 | APPC | +-------------------+---------+-------------+----------+-------------+----------+------------+-----------+ On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org<https://urldefense.proofpoint.com/v2/url?u=http-3A__Lists.Onap.Org&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=JEr5TtXIupuAMXJCHmEiEaT4-AVLbFDFkOLGDWY_oCA&s=B3APkwS4alol1QZYhEUvSLdfZMjd7htD_3_og_TyMO8&e=> <[email protected]<mailto:[email protected]>> wrote: On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <[email protected]<mailto:[email protected]>> wrote: Are you using CDT? What is your setup? Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours: { "input": { "common-header": { "timestamp": "2019-05-16T14:47:55.449Z", "api-ver": "2.00", "originator-id": "appc", "request-id": "873aacdf-1d85-4e07-8deb-7815776bbd35", "flags": { "mode": "NORMAL", "force": "FALSE" } }, "action": "Start", "action-identifiers": { "vnf-id": "VNF_demo_steve", "vserver-id": "c82153dc-8d84-4e69-9673-5e0a60030779" }, "payload": "{\"vm-id\": \"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779\<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.195.194.213-3A8774_v2.1_7320ec4a5b9d4589ba7c4412ccfd290f_servers_c82153dc-2D8d84-2D4e69-2D9673-2D5e0a60030779_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=JEr5TtXIupuAMXJCHmEiEaT4-AVLbFDFkOLGDWY_oCA&s=mo3xKCFd5oUCItZWOVT4mf0mu_LZaVBHnROawzgO5GQ&e=>"}" } } <Screen Shot 2019-05-16 at 11.13.10 AM.png> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17095): https://lists.onap.org/g/onap-discuss/message/17095 Mute This Topic: https://lists.onap.org/mt/31641303/21656 Mute #appc: https://lists.onap.org/mk?hashtag=appc&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
