Creating your own VNF charm (Release ONE)
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 | | +-------> | +-----------+ +---------+