Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

This Plugin will utilize the ONAP helm chart to install, uninstall, upgrade, and rollback ONAP components.

Plugin Requirements:

  • Python versions:
    • 2.7.x

...

ONAP.nodes.component


example

so:
  type: onap.nodes.component
  properties:
    component-name: so
    config-path: '/tmp/so.yaml'
    chart-repo-url: { get_input: chart-repo-url }
    chart-version: { get_input: chart-version }
    namespace: { get_input: namespace }
    config: { get_input: jsonConfig}

Derived From: cloudify.nodes.Root

...

    • chart-version

      description: The version of ONAP helm chart.

    • config-path

      description:  The path to create config  yaml value file on kubernetes master. For example, /tmp/so.yaml

    • namespace

      description: The kubernetes namespace to deploy the helm chart.

    • config

      description: String format json object. To save the input config.

    • runtime-config

      description:  String format json object. To save the runtime config generate from other nodes.

    • docker-server

      description: Private Docker Registry FQDN.

    • docker-username

      description: Docker username

    • docker-password

      description: Docker password

Runtime properties

 Runtime Properties are execution-time details of node instances. 

 Runtime Properties are saved to the database so that they can be consumed by plugins or by users.

  • Current-helm-value


    The all the current helm value same as a JSON object.

    This property will be updated during install, upgrade and rollback.
  • helm-history

    This property contains historical revisions. 
    This property will be updated during install, upgrade and rollback.

  


Operations:

  • configure

    Based on the config and dmaap-topic generate the value yaml file on config-path.
  • start

    Find the ONAP helm chart on chart repo. Install that helm chart with the value yaml file which be generated on config operation.
  • stop

    Delete the ONAP componment. 
  • upgrade

    Upgrate the helm value or helm chats.
  • rollback:

    Rollback to some revision.

...