Versions Compared

Key

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

...

Code Block
root@sb00-rancher:~/oom#  kubectl -n onap edit StatefulSet/dev-sdnc-sdnc

spec:
  podManagementPolicy: Parallel
  replicas: 1

...

     - name: SDNC_REPLICAS
        value: "1"

Steps to check DG

  • http://{{

...

  • cluster_ip}}:

...

  • 30203/#  with dguser/test123
Code Block
titleDB builder port
collapsetrue
root@sb00-nfs:/opt/http_test_server/http_test_server/htdocs# kubectl get svc| grep 3000
appc-dgbuilder                                              NodePort       10.43.133.199   <none>                                 3000:30228/TCP                                                19d
cds-ui                                                      NodePort       10.43.177.249   <none>                                 3000:30497/TCP                                                23d
sdnc-dgbuilder                                              NodePort       10.43.14.68     <none>                                 3000:30203/TCP                                                23d
  • Open menu from GUI top right corner, and choose Import→Clipboard
  • Copy DG json file from gerrit sdnc/oam/platform-logic/generic-resource-api/src/main/json, e.g. GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json
  • In the DG graph, click on the left of DGSTART node to see more function on the DG, like validate XML, download XML, etc
  • You can download XML and search for error message you see in sdnc_controller_container karaf log

DB operation


Code Block
mysql> show tables;
mysql> show columns from SERVICE_MODEL;
mysql> select name, service_uuid, invariant_uuid from SERVICE_MODEL;
+------------------------+--------------------------------------+--------------------------------------+
| name                   | service_uuid                         | invariant_uuid                       |
+------------------------+--------------------------------------+--------------------------------------+
| NULL                   | 0                                    | NULL                                 |
| vBNG_0202              | 00e50cbd-ef0f-4b28-821e-f2b583752dd3 | dbf9288d-18ef-4d28-82cb-29373028f367 |
| BK-012317-UUID-Service | 0a92fd9c-baab-4c03-b4e2-827e2cb9bcc7 | 083b57cd-4b76-4924-a64c-610445528063 |
| vEPC                   | 2c02b479-905f-4b6d-bd03-a2c8a8cdfae4 | 6dd6969c-b75c-4146-8a96-0cb9c0af19a7 |
| VoLTE e2e Service      | 96a01eb8-1538-40a6-a9ab-0f6bf8e0d877 | e9b5654e-6627-4590-9a54-a39b4d85955e |
| vIMS                   | de3dc33a-799a-48fe-aef2-9a7e93631a4c | 970177ab-40d9-4ab7-9a9b-aa2d08c9ca91 |
+------------------------+--------------------------------------+--------------------------------------+

...