Heat: support vnic_type in heat type context 67/37967/7
authorJingLu5 <lvjing5@huawei.com>
Mon, 24 Jul 2017 02:44:26 +0000 (02:44 +0000)
committerJing Lu <lvjing5@huawei.com>
Sat, 29 Jul 2017 04:51:47 +0000 (04:51 +0000)
commit5abe4fe013a14c528bfb1e0ff4c8bcb9b8817551
tree61209faeb003c4eb2e4bc6fb40c22a97712a8e53
parentf089a528c30b8163f52db9e5ff09f8632bc9078e
Heat: support vnic_type in heat type context

JIRA: YARDSTICK-757

Some test scenarios require VM with specific vnic type.
This work is about supporting using different vnic types in heat type context.

context:
  name: demo
  image: cirros-0.3.5
  flavor: yardstick-flavor
  user: cirros

  placement_groups:
    pgrp1:
      policy: "availability"

  servers:
    athena:
      floating_ip: true
      placement: "pgrp1"
    ares:
      placement: "pgrp1"

  networks:
    test:
      cidr: '10.0.1.0/24'
      vnic_type: "normal"

Change-Id: Ia229fda72f47b04288ea107e2d58fd3e8ac91dd9
Signed-off-by: JingLu5 <lvjing5@huawei.com>
tests/unit/benchmark/contexts/test_model.py
tests/unit/orchestrator/test_heat.py
yardstick/benchmark/contexts/model.py
yardstick/orchestrator/heat.py