Testcase to automate vnf creation with parameterization with new tosca template

Bug #1594599 reported by Santosh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Medium
Santosh

Bug Description

Automate a testcase with parameterization with new tosca template.

Tags: rfe
Revision history for this message
Santosh (ksantosh-cs) wrote :

sample template:
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0

description: VNF TOSCA template with input parameters

metadata:
  template_name: sample-tosca-vnfd

topology_template:
  inputs:
    image_name:
      type: string
      description: Image Name

    flavor:
      type: string
      description: Flavor Information

    zone:
      type: string
      description: Zone Information

    network:
      type: string
      description: Zone Information

    management:
      type: string
      description: Zone Information

    pkt_in_network:
      type: string
      description: Zone Information

    pkt_out_network:
      type: string
      description: Zone Information

    vendor:
      type: string
      description: Zone Information

  node_templates:
    VDU1:
      type: tosca.nodes.nfv.VDU.Tacker
      properties:
        image: { get_input: image_name}
        flavor: {get_input: flavor}
        availability_zone: { get_input: zone }
        mgmt_driver: noop
        config: |
          param0: key1
          param1: key2

    CP1:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        management: { get_input: management }
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL1
        - virtualBinding:
            node: VDU1

    CP2:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL2
        - virtualBinding:
            node: VDU1

    CP3:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL3
        - virtualBinding:
            node: VDU1

    VL1:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: { get_input: network }
        vendor: {get_input: vendor}

    VL2:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: { get_input: pkt_in_network }
        vendor: {get_input: vendor}

    VL3:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: { get_input: pkt_out_network }
        vendor: {get_input: vendor}

Changed in tacker:
assignee: nobody → Santosh (ksantosh-cs)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/332097

Changed in tacker:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/344512

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tacker (master)

Change abandoned by Santosh Kodicherla (<email address hidden>) on branch: master
Review: https://review.openstack.org/332097
Reason: Duplicate

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/344512
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=86d848eacff225a89f2e80acd33e32e56b855553
Submitter: Jenkins
Branch: master

commit 86d848eacff225a89f2e80acd33e32e56b855553
Author: OpenStack Proposal Bot <email address hidden>
Date: Mon Jul 18 18:16:36 2016 +0000

        Adding Tacker functional tests with parameterization using tosca template

        Closes-bug: #1594599
        Depends-On: I8f7c36333ae26a88f52fe06883a9bfe8efdcf731

    Change-Id: I16339b9107bb45bca6afb933b8d74963a32e8510

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/tacker 0.4.0

This issue was fixed in the openstack/tacker 0.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.