Skip to content

Traffic IP Group Resource API 3.8

craig-duffin edited this page Dec 19, 2017 · 1 revision

The Traffic IP Group resource is used to manage the assignment of IP addresses to Traffic Managers.

Example Template

resource "brocadevtm_traffic_ip_group" "example" {
  name = "www.example.com"
  enabled = true
  hash_source_port = false
  ipaddresses = [ "192.168.0.10" ]
  keeptogether = false
  location = 3
  mode = "multihosted"
  multicast = "225.23.45.223"
  note = "Example Traffic IP Group"
}

Argument Reference

The following arguments are supported:

  • name - (Required, string, default: none) - The unique name for the Traffic IP Group.
  • enabled - (Optional, boolean, default: false) - Whether or not the Traffic IP Group is enabled or not.
  • hash_source_port - (Optional, boolean, default: false) - Whether or not the source port is taken into account when deciding which Traffic Manager should handle the request.
  • ip_assignment_mode - (Optional, string, default: "balanced") - Configure how IPs are assigned to Traffic Managers in singlehosted mode.
  • ip_mapping - (Optional, string list, default: none - see below for details) - Table assigning an IP to a Traffic Manager.
  • ipaddresses - (Optional, string list, default: none) - A list of IP addresses belonging to this Traffic IP Group.
  • keeptogether - (Optional, boolean, default: false) - Whether or not to raise all the ipaddresses on a single Traffic Manager.
  • location - (Optional, integer, default: 0) - The location where the Traffic IP Group is based.
  • machines - (Optional, string list, default: automatically assigned) - The list of Traffic Managers which can host the Traffic IP Group's IP addresses. If the user doesn't specify the machines Terraform will automatically obtain a list of machines from the Traffic Manager configured in BROCADEVTM_SERVER.
  • mode - (Optional, string, default: "singlehosted") - The method used to distribute Traffic IPs across Traffic Managers in the cluster. Valid options are: ec2elastic, ec2vpcelastic, ec2vpcprivate, multihosted, rhi and singlehosted.
  • multicast - (Optional, string, default: none) - the multicast IP used to distribute traffic to all Traffic Managers in a cluster.
  • note - (Optional, string, default: none) - A note assigned to this Traffic IP Group.
  • rhi_bgp_metric_base - (Optional, unsigned integer, default: 10) - Base BGP routing metric.
  • rhi_bgp_passive_metric_offset - (Optional, unsigned integer, default: 10) - BGP routing metric offset.
  • rhi_ospfv2_metric_base - (Optional, unsigned integer, default: 10) - OSPFv2 routing metric.
  • rhi_ospfv2_passive_metric_offset - (Optional, unsigned integer, default: 10) - OSPFv2 routing metric offset.
  • rhi_protocols - (Optional, string, default: "ospf") - Which protocol to use for RHI. Valid options are ospf and bgp.
  • slaves - (Optional, list of strings, default: none) - A list of Traffic Managers in passive mode. No Traffic IPs will be assigned to slaves under normal operation.
IP Mapping
  • ip - (Optional, string, default: none) - An IP address to raise on a Traffic Manager.
  • traffic_manager - (Optional, string, default: none) - The name of the Traffic Manager which should host the ip.