From dcccf6e2c90ef7b079ac6a4f6258b7d550fa79c5 Mon Sep 17 00:00:00 2001 From: Eli Halych Date: Tue, 24 Nov 2020 09:59:07 +0000 Subject: Change mass-pnf-sim folder name to masspnfsim Details: - Allows for importing python files/classes/methods via normal import. - Dashes in mass-pnf-sim prevented from a normal Python import. - mass-pnf-sim path referenced in the project files changed to masspnfsim. - Possibility of using masspnfsim as a git submodule that requires noraml import. Issue-ID: INT-1789 Signed-off-by: Eli Halych Change-Id: I00cd753181c9b240b99881057cf777cf7977387a --- test/mocks/mass-pnf-sim/deployment/heat/heat.yaml | 103 ---------------------- 1 file changed, 103 deletions(-) delete mode 100644 test/mocks/mass-pnf-sim/deployment/heat/heat.yaml (limited to 'test/mocks/mass-pnf-sim/deployment/heat/heat.yaml') diff --git a/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml b/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml deleted file mode 100644 index 9718c5c68..000000000 --- a/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml +++ /dev/null @@ -1,103 +0,0 @@ -description: Heat template for deploying Mass PNF Simulator -heat_template_version: '2017-02-24' -parameters: - flavor_name: - description: Flavor name of the simulator instance. This should depend on the requested amount of simulator instances - type: string - image_name: - description: Name or id of the image (Debian family only) - type: string - key_name: - label: Key pair name for passwordless login to instance - type: string - float_net_id: - description: ID of the network with a pool of floating IPs - label: Floating IP network - type: string - instance_net_id: - type: string - description: Id of a private network for instance interface - simulator_instances: - type: number - description: Number of simulator instances to run on cloud instance - ves_url: - type: string - description: VES Collector url - ftp_user: - type: string - description: Username for the ftp server - ftp_password: - type: string - description: Password for the ftp server -resources: - config: - type: OS::Heat::SoftwareConfig - properties: - config: - get_file: cloud-config.yaml - sim_script: - type: OS::Heat::SoftwareConfig - properties: - config: - str_replace: - template: - get_file: mass-pnf-sim_run.sh - params: - $SIMULATOR_INSTANCES: { get_param: simulator_instances } - $VES_URL: { get_param: ves_url } - $FILE_SERVER: { get_attr: [simulator_floating_ip, floating_ip_address] } - $FTP_USER: { get_param: ftp_user } - $FTP_PASSWORD: { get_param: ftp_password } - sim_script_file: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /root/mass-pnf-sim_run.sh - content: - get_attr: [sim_script, config] - simulator_port: - type: OS::Neutron::Port - properties: - network: - get_param: instance_net_id - simulator_floating_ip: - type: OS::Neutron::FloatingIP - properties: - floating_network: - get_param: float_net_id - port_id: - get_resource: simulator_port - cloud_config: - type: OS::Heat::MultipartMime - properties: - parts: - - config: - get_resource: config - - config: - get_resource: sim_script_file - simulator: - type: OS::Nova::Server - properties: - name: mass-pnf-simulator - key_name: - get_param: key_name - image: - get_param: image_name - flavor: - get_param: flavor_name - networks: - - port: - get_resource: simulator_port - user_data_format: RAW - user_data: - get_resource: cloud_config -outputs: - simulator_instance_id: - description: ID of the simulator instance - value: - get_resource: simulator - simulator_instance_fip: - description: Floating IP address of the simulator instance - value: - get_attr: [simulator_floating_ip, floating_ip_address] -- cgit 1.2.3-korg