contrail-db:
  name: Contrail - DB
  description: Contrail DB role. Provides Cassandra for Contrail
  has_primary: true
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - compute

contrail-config:
  name: Contrail - Config
  description: >
    Contrail config role. Provides IF_MAP, API, Discovery, Schema-transformer components of Contrail.
    Analytics and WebUI components are also here.
  has_primary: true
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - compute

contrail-control:
  name: Contrail - Control
  description: >
    Contrail control role. Provides Control and DNS components of Contrail.
  has_primary: true
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - compute

dpdk:
  name: DPDK compute
  description: >
    Enable Contrail DPDK feature on compute node. NOTE: Use this role only together with Compute role to enable DPDK feature in other cases it will not have any effect.
  has_primary: false
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - contrail-db
    - contrail-config
    - contrail-control

contrail-db:
  name: Contrail - DB
  description: Contrail DB role. Provides Cassandra for Contrail
  has_primary: true
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - compute
    - ceph-osd
    - cinder

contrail-config:
  name: Contrail - Config
  description: >
    Contrail config role. Provides IF_MAP, API, Discovery, Schema-transformer components of Contrail.
    Analytics and WebUI components are also here.
  has_primary: true
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - compute
    - ceph-osd
    - cinder

contrail-control:
  name: Contrail - Control
  description: >
    Contrail control role. Provides Control and DNS components of Contrail.
  has_primary: true
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - compute
    - ceph-osd
    - cinder

dpdk:
  name: DPDK compute
  description: >
    Enable Contrail DPDK feature on compute node. NOTE: Use this role only together with Compute role to enable DPDK feature in other cases it will not have any effect.
  has_primary: false
  public_ip_required: false
  weight: 100
  conflicts:
    - controller
    - contrail-db
    - contrail-config
    - contrail-control

Add restictions to contrail roles for storage
Add restictions to contrail roles for storage

Change-Id: Ibf234dbb4d675069062cbc1de6911152c92cd3ed
Closes-bug: 1556434
(cherry picked from commit 770f520a6b82b8867bec2823b8cde2bfb0ff52f9)
