diff --git a/charm-packages/pebble_charm_ns/pebble_nsd.yaml b/charm-packages/pebble_charm_ns/pebble_nsd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..87d53be0b9e0e1f34435231765ac88ea2238ec5f --- /dev/null +++ b/charm-packages/pebble_charm_ns/pebble_nsd.yaml @@ -0,0 +1,21 @@ +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 diff --git a/charm-packages/pebble_charm_vnf/juju-bundles/bundle.yaml b/charm-packages/pebble_charm_vnf/juju-bundles/bundle.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9f3e0997110cadf106d8660dc3e627a172479bf1 --- /dev/null +++ b/charm-packages/pebble_charm_vnf/juju-bundles/bundle.yaml @@ -0,0 +1,10 @@ +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 diff --git a/charm-packages/pebble_charm_vnf/juju-bundles/charms/onos_ubuntu-20.04-amd64.charm b/charm-packages/pebble_charm_vnf/juju-bundles/charms/onos_ubuntu-20.04-amd64.charm new file mode 100644 index 0000000000000000000000000000000000000000..771d909c20b9d0f37eca13af20c4b5772f7c89d8 Binary files /dev/null and b/charm-packages/pebble_charm_vnf/juju-bundles/charms/onos_ubuntu-20.04-amd64.charm differ diff --git a/charm-packages/pebble_charm_vnf/pebble_charm_vnfd.yaml b/charm-packages/pebble_charm_vnf/pebble_charm_vnfd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..eb28f26bcf0c57117c86a71356752577f631d50f --- /dev/null +++ b/charm-packages/pebble_charm_vnf/pebble_charm_vnfd.yaml @@ -0,0 +1,53 @@ +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