Register custom workflow for vCPE 64/72164/1
authorYang Xu <yang.xu3@huawei.com>
Thu, 8 Nov 2018 05:10:32 +0000 (00:10 -0500)
committerYang Xu <yang.xu3@huawei.com>
Thu, 8 Nov 2018 05:10:48 +0000 (00:10 -0500)
Change-Id: I247e43234d5631d806bcca7c7bcfd78b1692e30e
Issue-ID: SO-1189
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
test/vcpe/config_sdnc_so.py

index dab880f..7c063b5 100755 (executable)
@@ -69,7 +69,7 @@ def insert_customer_service_to_so(vcpecommon):
     logger = logging.getLogger('__name__')
     logger.info('Inserting neutron HEAT template to SO DB and creating a recipe for customer service')
     cmds = []
-    if False:
+    if True:
         csar_file = vcpecommon.find_file('rescust', 'csar', 'csar')
         parser = csar_parser.CsarParser()
         parser.parse_csar(csar_file)
@@ -96,5 +96,5 @@ def insert_customer_service_to_so(vcpecommon):
                 "'string', NULL);")
 
     print('\n'.join(cmds))
-#    vcpecommon.execute_cmds_so_db(cmds)
+    vcpecommon.execute_cmds_so_db(cmds)