Commit f05b2d73 authored by emin.aktas's avatar emin.aktas
Browse files

New Package for testing Bug 1609



Native charm deployments behavior changed to scaling the application
from creating new application. This packages is created to test
the new behavior.

Signed-off-by: default avataraktas <emin.aktas@ulakhaberlesme.com.tr>
parent 288f8a18
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -67,3 +67,6 @@
[submodule "charm-packages/native_k8s_scale_charm_vnf/charms/nginx-k8s/mod/operator"]
	path = charm-packages/native_k8s_scale_charm_vnf/charms/nginx-k8s/mod/operator
	url = https://github.com/canonical/operator
[submodule "charm-packages/native_manual_scale_charm_vnf/charms/simple/mod/operator"]
	path = charm-packages/native_manual_scale_charm_vnf/charms/simple/mod/operator
	url = https://github.com/canonical/operator.git
+54.6 KiB
Loading image diff...
+26 −0
Original line number Diff line number Diff line
nsd:
  nsd:
  - description: NS with 1 VNFs with cloudinit connected by datanet and mgmtnet VLs
    df:
    - id: default-df
      vnf-profile:
      - id: '1'
        virtual-link-connectivity:
        - constituent-cpd-id:
          - constituent-base-element-id: '1'
            constituent-cpd-id: vnf-mgmt-ext
          virtual-link-profile-id: mgmtnet
        - constituent-cpd-id:
          - constituent-base-element-id: '1'
            constituent-cpd-id: vnf-data-ext
          virtual-link-profile-id: datanet
        vnfd-id: native_manual_scale_charm-vnf
    id: native_manual_scale_charm-ns
    name: native_manual_scale_charm-ns
    version: '1.0'
    virtual-link-desc:
    - id: mgmtnet
      mgmt-network: 'true'
    - id: datanet
    vnfd-id:
    - native_manual_scale_charm-vnf
+25 −0
Original line number Diff line number Diff line
##
# Copyright 2020 Canonical Ltd.
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
##
touch:
  description: "Touch a file on the VNF."
  params:
    filename:
      description: "The name of the file to touch."
      type: string
      default: ""
  required:
    - filename
+17 −0
Original line number Diff line number Diff line
##
# Copyright 2020 Canonical Ltd.
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
##
options: {}
 No newline at end of file
Loading