Should only support one mgmt-ports

Bug #1693070 reported by Yan Xing'an
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Won't Fix
Undecided
Yan Xing'an

Bug Description

Somebody may configure multi CP management: true, while tacker can only support one mgmt port.
the mgmt_url is used for mgmt_driver.

If multi mgmt ports is configured, the last mgmt port takes effect.

vnfd:
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0

description: example

metadata:
  template_name: sample-tosca-vnfd

topology_template:
  node_templates:
    VDU1:
      type: tosca.nodes.nfv.VDU.Tacker
      properties:
        image: centos7
        flavor: centos
        availability_zone: nova
        mgmt_driver: noop

    CP11:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        management: true
        order: 0
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL11
        - virtualBinding:
            node: VDU1

    CP12:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        management: true
        order: 1
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL12
        - virtualBinding:
            node: VDU1

    VL11:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: net-mgmt-v832
        vendor: Tacker

    VL12:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: yxa-net1
        vendor: Tacker

[root@EXTENV-10-254-9-82 ~]# tacker vnf-list |grep multi
| 553ad18c-3d8d-4816-b3b4-ab29a4f920ab | vnf-test-multi-mgmt-ports | {"VDU1": "192.168.100.16"} | ACTIVE | 3c39294b-e5e8-43e7-b17c-e3fc31a89db6 | 2f82fde1-4892-4a57-8262-75b27dbb538c |

Yan Xing'an (yanxingan)
Changed in tacker:
assignee: nobody → Yan Xing'an (yanxingan)
Yasufumi Ogawa (yasufum)
Changed in tacker:
status: New → Won't Fix
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.