Creating your own VNF charm (Release ONE): Difference between revisions
From OSM Public Wiki
(Beginning of documentation for writing a proxy charm) |
No edit summary |
||
Line 11: | Line 11: | ||
OSM Release One supports a limited version of charms that we call "proxy charms". The SO runs "actions" in the charm, which are then executed via ssh on the virtual machine, instantiated by the RO, running your VNF image. The diagram below illustrates that workflow. | OSM Release One supports a limited version of charms that we call "proxy charms". The SO runs "actions" in the charm, which are then executed via ssh on the virtual machine, instantiated by the RO, running your VNF image. The diagram below illustrates that workflow. | ||
<nowiki> | |||
+---------------------+ +---------------------+ | +---------------------+ +---------------------+ | ||
| <----+ | | | <----+ | | ||
Line 26: | Line 27: | ||
| +-------> | | | +-------> | | ||
+-----------+ +---------+ | +-----------+ +---------+ | ||
</nowiki> | |||
===Creating a proxy charm=== | ===Creating a proxy charm=== |
Revision as of 23:10, 4 January 2017
Creating a VNF proxy charm
What is a charm
A charm is a collection of scripts and metadata that encapsulate the distilled DevOps knowledge of experts in a particular product. These charms make it easy to reliably and repeatedly deploy applications, then scale them as required with minimal effort.
Driven by Juju, these charms manage the complete lifecycle of the application, including installation, configuration, clustering, and scaling.
What is a proxy charm
OSM Release One supports a limited version of charms that we call "proxy charms". The SO runs "actions" in the charm, which are then executed via ssh on the virtual machine, instantiated by the RO, running your VNF image. The diagram below illustrates that workflow.
+---------------------+ +---------------------+ | <----+ | | Resource | | Service | | Orchestrator (RO) +----> Orchestrator (SO) | | | | | +------------------+--+ +-------+----^--------+ | | | | | | | | | +-----v-----+ +-v----+--+ | <-------+ | | Virtual | | Proxy | | Machine | | Charm | | +-------> | +-----------+ +---------+