Before you begin

July 2017
Application Controller (APP-C) VM Restart Overview
Scott Seabolt
Application Controller (APPC)
DMaaP/Event Bus
Event Bus, REST
Security
OpenDaylight
API Handler/Dispatcher
Logging
Directed Graphs
Service
Logic
Interpreter
ONAP
Interfaces
e.g., inventory,
SDN controller
Database
Southbound Adapters/APIs
Openstack
Cloud
Orchestrator
VNF
Cloud Platform
2
Service Related
Artifacts
VNF
e.g., config
data, DGs,
models
Netconf/Yan
g
(Ansible)
(Chef)
Directe
d
Graphs
VNF
Data
Config
Template
Service
Data
Dependency
Models
…
Illustrative Example: Closed Loop Restoration
Portal
Application
Orchestration
6
DMaaP/Event Bus
3
Policy
2
DCAE
APPC
5
4
restart
telemetry
1
VNF
Cloud
VNF
VNF
3
1 Telemetry from cloud elements
1.
2.
2 Data analysis & correlation
identifies event signatures
3 Policies applied to determine
3.
desired outcome/actions
4 Controller events published
4.
5.
5 APPC takes action and publishes
a response event
6 A portal application (outside of
ECOMP) can also perform
actions manually
APPC Restart Process
APPC consumes Restart
event from
DMaaP/Message Bus
Restart event is
validated
If the request is not
valid an error is
posted back to the
Message Bus
4
Inventory
information is
obtained from A&AI
for details on the
VM/VNF
(State, URLs, etc…)
DG Lookup
performed
The SLI (Service Logic
Interpreter)
framework
“executes” the DG
The IaaS adapter
called to perform the
OpenStack Restart
Detailed Process on
next slide
VM state is reported
back to A&AI
Event
response is
sent back to
the
DMaaP/Even
t Bus
APPC Restart Process – IaaS adapter interaction with CDP-PAL & OpenStack
Tenant cache is
initialized
An OpenStack
Keystone is obtained
via CDP-PAL
get_token (via CDP-PAL)
(Unless tenant context
already exists)
The state of the
Compute Node is
obtained
get_server (via CDPPAL)
- Performs a
hypverisor check to
determine if VM host
is up
- If the Compute
Node is UP the
restart process
continues
5
The VM state is
confirmed to be in a
state it can be
restarted
Performs a get server
Details via CDP-PAL
checking for RUNNING
Status for the VM
An “os-stop” is
requested via CDPPAL
-
-
stopServer call
from APPC to
CDP-PAL
os-stop
OpenStack
command
issued by CDPPAL
APPC polls
OpenStack looking
for a “SHUTOFF”
state of the VM
Performs a get server
Details via CDP-PAL
checking for SHUTOFF
Status for the VM
An “os-start” is
requested
-
-
startServer call
from APPC to
CDP-PAL
os-start
OpenStack
command
issued by CDPPAL
Poll
OpenStack
looking for a
“ACTIVE”
state of the
VM