-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: DTC TCP monitor * fix: linting+sanity tests * fix: remove test * fix: wrongly named integration test directory * fix: more linting fun * fix: attempt at fixing integration test by not using cannonical name for new module * fix: roll back previous commit * feat: add ICMP monitor * feat: add example playbooks for ICMP monitor * fix: icmp unit test * feat: DTC PDP monitor support * fix: default for PDP port * feat: HTTP monitor * fix: forgot to declare constant * fix: small copy-paste error in docs * feat: add support for SIP DTC monitors * feat: Add support for DTC SNMP monitors * fix: unit test * feat: first stab at topology support * fix: unit test * fix: unit test * fix: unit test * chore: typos * chore: linting * fix: topology rule transform * feat: add new modules to README * fix: integration tests * fix: topology integration test
- Loading branch information
Showing
69 changed files
with
3,408 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Create Nios DTC HTTPS monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_http: | ||
name: https_monitor | ||
port: 443 | ||
secure: true | ||
comment: Created with Ansible | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Create Nios DTC ICMP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_icmp: | ||
name: icmp_monitor | ||
comment: Created with Ansible | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Create Nios DTC PDP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_pdp: | ||
name: pdp_monitor | ||
comment: Created with Ansible | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Create Nios DTC SIP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_sip: | ||
name: sip_monitor | ||
comment: Created with Ansible | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Create Nios DTC SNMP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_snmp: | ||
name: snmp_monitor | ||
comment: Created with Ansible | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Create Nios DTC TCP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_tcp: | ||
name: tcp_monitor | ||
port: 8080 | ||
comment: Created with Ansible | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.196.205.10 | ||
username: cloudadmin | ||
password: infoblox | ||
wapi_version: "2.12" | ||
|
||
connection: local | ||
tasks: | ||
- name: Create a DTC Topology | ||
infoblox.nios_modules.nios_dtc_topology: | ||
name: a_topology | ||
rules: | ||
- dest_type: POOL | ||
destination_link: web_pool1 | ||
return_type: REGULAR | ||
sources: | ||
- source_op: IS | ||
source_type: EA0 | ||
source_value: DC1 | ||
- dest_type: POOL | ||
destination_link: web_pool2 | ||
return_type: REGULAR | ||
sources: | ||
- source_op: IS | ||
source_type: EA0 | ||
source_value: DC2 | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Delete Nios DTC HTTPS monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_http: | ||
name: https_monitor | ||
state: absent | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Delete Nios DTC ICMP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_icmp: | ||
name: icmp_monitor | ||
state: absent | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Delete Nios DTC PDP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_pdp: | ||
name: pdp_monitor | ||
state: absent | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Delete Nios DTC SIP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_sip: | ||
name: sip_monitor | ||
state: absent | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Delete Nios DTC SNMP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_snmp: | ||
name: snmp_monitor | ||
state: absent | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: Delete Nios DTC TCP monitor Test | ||
infoblox.nios_modules.nios_dtc_monitor_tcp: | ||
name: tcp_monitor | ||
state: absent | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
- hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.196.205.10 | ||
username: cloudadmin | ||
password: infoblox | ||
wapi_version: "2.12" | ||
|
||
connection: local | ||
tasks: | ||
- name: Delete a DTC Topology | ||
nios_dtc_topology: | ||
name: a_topology | ||
state: absent | ||
provider: "{{ nios_provider }}" |
Oops, something went wrong.