salt.states.infoblox module

states for infoblox stuff

ensures a record is either present or absent in an Infoblox DNS system

2016.3.0 新版功能.

salt.states.infoblox.absent(name, record_type, dns_view, infoblox_server=None, infoblox_user=None, infoblox_password=None, infoblox_api_version='v1.4.2', sslVerify=True)

Ensure a record does not exists

name
Name of the record
record_type
record type (host, a, cname, etc)
dns_view
DNS View
infoblox_server
infoblox server to connect to (will try pillar if not specified)
infoblox_user
username to use to connect to infoblox (will try pillar if not specified)
infoblox_password
password to use to connect to infoblox (will try pillar if not specified)
verify_ssl
verify SSL certificates

Example:

some-state:
    infoblox.absent:
      - name: some.dns.record
      - record_type: host
      - dns_view: MyView
      - sslVerify: False
salt.states.infoblox.present(name, value, record_type, dns_view, infoblox_server=None, infoblox_user=None, infoblox_password=None, infoblox_api_version='v1.4.2', sslVerify=True)

Ensure a record exists

name
Name of the record
value
Value of the record
record_type
record type (host, a, cname, etc)
dns_view
DNS View
infoblox_server
infoblox server to connect to (will try pillar if not specified)
infoblox_user
username to use to connect to infoblox (will try pillar if not specified)
infoblox_password
password to use to connect to infoblox (will try pillar if not specified)
verify_ssl
verify SSL certificates

Example:

some-state:
    infoblox.present:
      - name: some.dns.record
      - value: 10.1.1.3
      - record_type: host
      - sslVerify: False