Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleOrchestration Flow Reference Table Updates
from rancher

root@sb00-nfs:~# kubectl -n onap exec -it dev-mariadb-galera-0 bash

bash-4.2$ mysql -uroot -pTepsMavaFota9+
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 172842
Server version: 10.1.24-MariaDB MariaDB Server

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> use catalogdb
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A



MariaDB [catalogdb]> update orchestration_flow_reference set FLOW_NAME='ControllerExecutionBB', scope='vnf', action='HealthCheck' where id in (1717, 1732);
MariaDB [catalogdb]> update orchestration_flow_reference set FLOW_NAME='ControllerExecutionBB', scope='vfmodule', action='ScaleOutReconfiguration' where id in (1729);   


MariaDB [catalogdb]> select * from orchestration_flow_reference where COMPOSITE_ACTION='VFModule-ScaleOut' order by seq_no;
+------+-------------------+--------+-----------------------+--------------+----------------------+----------+-------------------------+
| id   | COMPOSITE_ACTION  | SEQ_NO | FLOW_NAME             | FLOW_VERSION | NB_REQ_REF_LOOKUP_ID | SCOPE    | ACTION                  |
+------+-------------------+--------+-----------------------+--------------+----------------------+----------+-------------------------+
| 1717 | VFModule-ScaleOut |      1 | ControllerExecutionBB |            1 |                  310 | vnf      | HealthCheck             |
| 1720 | VFModule-ScaleOut |      2 | AssignVfModuleBB      |            1 |                  310 | NULL     | NULL                    |
| 1723 | VFModule-ScaleOut |      3 | CreateVfModuleBB      |            1 |                  310 | NULL     | NULL                    |
| 1726 | VFModule-ScaleOut |      4 | ActivateVfModuleBB    |            1 |                  310 | NULL     | NULL                    |
| 1729 | VFModule-ScaleOut |      5 | ControllerExecutionBB |            1 |                  310 | vfmodule | ScaleOutReconfiguration |
| 1732 | VFModule-ScaleOut |      6 | ControllerExecutionBB |            1 |                  310 | vnf      | HealthCheck             |
+------+-------------------+--------+-----------------------+--------------+----------------------+----------+-------------------------+
6 rows in set (0.00 sec)


MariaDB [catalogdb]>

...