Commit a970ab50 authored by garciadav's avatar garciadav
Browse files

Add package with Pebble charm

parent e42e1f0b
Loading
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
nsd:
  nsd:
  - description: NS with 1 KDU connected to the mgmtnet VL
    df:
    - id: default-df
      vnf-profile:
      - id: pebble_charm-vnf
        virtual-link-connectivity:
        - constituent-cpd-id:
          - constituent-base-element-id: pebble_charm-vnf
            constituent-cpd-id: mgmt-ext
          virtual-link-profile-id: mgmtnet
        vnfd-id: pebble_charm-vnf
    id: pebble_charm-ns
    name: pebble_charm-ns
    version: '1.0'
    virtual-link-desc:
    - id: mgmtnet
      mgmt-network: true
    vnfd-id:
    - pebble_charm-vnf
+10 −0
Original line number Diff line number Diff line
description: Onos Bundle
bundle: kubernetes
applications:
  onos:
    charm: './charms/onos_ubuntu-20.04-amd64.charm'
    scale: 1
    options:
      admin-password: admin
    resources:
      onos-image: onosproject/onos:2.6.0
 No newline at end of file
+1.88 MiB

File added.

No diff preview for this file type.

+53 −0
Original line number Diff line number Diff line
vnfd:
  df:
  - id: default-df
    lcm-operations-configuration:
      operate-vnf-op-config:
        day1-2:
          - id: onos-kdu
            config-primitive:
            - name: list-available-apps
              parameter:
              - data-type: STRING
                default-value: onos
                name: application-name
            initial-config-primitive:
            - name: add-group
              parameter:
              - data-type: STRING
                name: application-name
                value: onos
              - data-type: STRING
                name: groupname
                value: mygroup
              - data-type: STRING
                name: roles
                value: "group,admin,manager,viewer,systembundles,ssh,webconsole"
              seq: 1
            - name: add-user
              parameter:
              - data-type: STRING
                name: application-name
                value: onos
              - data-type: STRING
                name: username
                value: david
              - data-type: STRING
                name: group
                value: mygroup
              - data-type: STRING
                name: password
                value: password
              seq: 2
  ext-cpd:
  - id: mgmt-ext
    k8s-cluster-net: mgmtnet
  id: pebble_charm-vnf
  k8s-cluster:
    nets:
    - id: mgmtnet
  kdu:
  - name: onos-kdu
    juju-bundle: bundle.yaml
  mgmt-cp: mgmt-ext
  product-name: pebble_charm-vnf
 No newline at end of file