heat_template_version: 2014-10-16
description: Template to configure BGP settings on existent Grid
parameters:
  grid_member:
    type: string
    description: Grid Member Name for BGP Neigbor configuration
  as:
    type: number
    description: The number of this autonomous system.
    constraints:
      - range: { min: 0, max: 65535 }
  holddown:
    type: number
    description: >
      The AS holddown timer (in seconds).
      The valid value is from 3 to 65535.
    default: 16
  keepalive:
    type: number
    description: >
      The AS keepalive timer (in seconds). The valid value is
      from 1 to 21845.The AS holddown timer (in seconds).
    default: 4
  link_detect:
    type: boolean
    description: Determines if link detection on the interface is enabled.
    default: False
  authentication_mode:
    type: string
    description: >
      Determines the BGP authentication mode.
      ('MD5', 'NONE').
    default: 'NONE'
  bgp_neighbor_pass:
    type: string
    description: >
      The password for a BGP neighbor. This is required only if
      authentication_mode is set to "MD5".
    default: ''
  comment:
    type: string
    description: User comments for this BGP neighbor.
    default: ''
  interface:
    type: string
    description: >
      The interface that sends BGP advertisement information.
      ('LAN_HA')
    default: 'LAN_HA'
  neighbor_ip:
    type: string
    description: The IP address of the BGP neighbor.
  remote_as:
    type: number
    description: The remote AS number of the BGP neighbor.
    constraints:
      - range: { min: 0, max: 65535 }
resources:
  bgp:
    type: Infoblox::Grid::Bgp
    properties:
      connection: { url: "https://10.40.240.113/wapi/v2.3/", username: admin, password: infoblox, sslverify: False }
      grid_member: { get_param: grid_member }
      as: { get_param: as }
      holddown: { get_param: holddown }
      keepalive: { get_param: keepalive }
      link_detect: { get_param: link_detect }
      authentication_mode: { get_param: authentication_mode }
      bgp_neighbor_pass: { get_param: bgp_neighbor_pass }
      comment: { get_param: comment }
      interface: { get_param: interface }
      neighbor_ip: { get_param: neighbor_ip }
      remote_as: { get_param: remote_as }

Add heat template for Infoblox::Grid::Bgp resource
Add heat template for Infoblox::Grid::Bgp resource
