# Unique network role name
- id: "influxdb_vip"
  # Role mapping to network
  default_mapping: "management"
  properties:
    # Should be true if network role requires subnet being set
    subnet: true
    # Should be true if network role requires gateway being set
    gateway: false
    # List of VIPs to be allocated
    vip:
         # Unique VIP name
       - name: "influxdb"
         # Optional linux namespace for VIP
         namespace: "haproxy"
         alias: "influxdb"
         node_roles:
           - "influxdb_grafana"
           - "primary-influxdb_grafana"

# Network and virtual IP address for the InfluxDB service
- id: "influxdb_vip"
  default_mapping: "management"
  properties:
    subnet: true
    gateway: false
    vip:
       - name: "influxdb"
         namespace: "haproxy"
         alias: "influxdb"
         node_roles:
           - "influxdb_grafana"
           - "primary-influxdb_grafana"
# Network and virtual IP address for the Grafana service
# TODO(pasquier-s): expose the Grafana service on this virtual IP address
# instead of influxdb
- id: "grafana"
  default_mapping: "management"
  properties:
    subnet: true
    gateway: false
    vip:
       - name: "grafana"
         namespace: "haproxy"
         alias: "grafana"
         node_roles:
           - "influxdb_grafana"
           - "primary-influxdb_grafana"

Provision another network and VIP for Grafana
Provision another network and VIP for Grafana

Note that the change doesn't modify the configuration of HAProxy to use
the new virtual IP address. This will be addressed in another review.

Change-Id: I28175b193e690c5dfe6b994194cefd9f01216de3
DocImpact: update instructions regarding network templates
