Configuring SDC ONAP Observer jobs
You configure SDC (Service Design and Creation) ONAP (Open Network Automation Platform) Observer jobs to dynamically load data from the SDC REST interface.
Before you begin
Important: The SDC ONAP Observer supports the SDC release 8.0.0.
Ensure you have the SDC ONAP service details to hand, such as username, password, hostname and port.
The observer is installed as part of the core installation procedure.
To obtain SDC ONAP system details:
- To get port
-
kubectl describe svc --selector=app.kubernetes.io/name=sdc-be | grep NodePort
- To get message bus port
-
kubectl describe svc --selector=app.kubernetes.io/name=message-router | grep NodePort
- To copy trust store
Orkubectl cp <onap-sdc-be-*>:/var/lib/jetty/chef-solo/environments/org.onap.sdc.trust.jks ./org.onap.sdc.trust.jks
kubectl cp <onap-sdc-be-*>:/app/jetty/chef-solo/environments/org.onap.sdc.trust.jks ./org.onap.sdc.trust.jks
- To get trust store password
Orkubectl exec -it <onap-sdc-be-*> -- sh -c "cat /var/lib/jetty/chef-solo/environments/AUTO.json | grep truststore_pwd"
kubectl exec -it <onap-sdc-be-*> -- sh -c "cat /app/jetty/chef-solo/environments/AUTO.json | grep truststore_pwd"
About this task
SDC manages two levels of assets:
- Resource
- A fundamental capability, implemented either entirely in software, or as software that interacts
with a hardware device. Each Resource is a combination of one or more Virtual Function Components
(VFCs), along with all the information necessary to instantiate, update, delete, and manage the
Resource. A resource also includes license-related information. There are three kinds of Resource:
- Infrastructure: Cloud resources, such as Compute, Storage, etc
- Network: Network connectivity functions & elements, for example a Virtual Network Function (VNF)
- Application: Features and capabilities of a software application, for example a load-balancing function=
- Service
- A well-formed object comprising one or more resources.
You define and start the following jobs:
- Load
- Run this job whenever you need SDC ONAP topology data refreshed.
- Listen
- A long-running job that consumes relevant messages from the SDC DMaaP broker continually until it is explicitly stopped, or until the observer is stopped.