Adding Netbox

This commit is contained in:
Patrick Toal
2019-05-06 00:34:45 -04:00
parent 832502de34
commit 6e2205a046
278 changed files with 12767 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# Configure VPN routing as initiator
The `cloud_vpn/configure_routing_initiator` function will configure the routing where
a VPN as initiator has been configured previously on Cisco IOS devices.
It is performed by calling the `cloud_vpn/configure_routing_initiator` task from the role.
The task will process variables needed for routing configuration and apply it to the device.
Below is an example to configure routing on a CSR device configured as initiator,
where the responder is AWS VPN.
```
- hosts: cisco_ios
tasks:
- name: Configure initiator routing
include_role:
name: ansible-network.cisco_ios
tasks_from: cloud_vpn/configure_routing_initiator
vars:
cloud_vpn_responder_provider: aws_vpn
cloud_vpn_responder_cidr: 192.168.0.0/24
```
## Notes
None

View File

@@ -0,0 +1,33 @@
# Configure VPN as initiator
The `cloud_vpn/configure_vpn_initiator` function will configure IPSEC VPN as initiator
on Cisco IOS devices.
It is performed by calling the `cloud_vpn/configure_vpn_initiator` task from the role.
The task will process variables needed for VPN configuration and apply it to the device.
Below is an example to configure an IPSEC VPN as initiator on CSR device, where
the responder is AWS VPN:
```
- hosts: cisco_ios
tasks:
- name: Configure IPSEC VPN as initiator
include_role:
name: ansible-network.cisco_ios
tasks_from: cloud_vpn/configure_vpn_initiator
vars:
cloud_vpn_name: myvpn
cloud_vpn_psk: mypsksecret
cloud_vpn_initiator_provider: csr
cloud_vpn_initiator_outside_interface: GigabitEthernet1
cloud_vpn_initiator_tunnel_ip: 169.254.56.25
cloud_vpn_initiator_tunnel_failover_ip: 169.254.56.29
cloud_vpn_responder_provider: aws_vpn
cloud_vpn_responder_public_ip: 18.191.132.220
cloud_vpn_responder_failover_ip: 18.191.132.221
cloud_vpn_responder_tunnel_ip: 169.254.56.26
cloud_vpn_responder_tunnel_failover_ip: 169.254.56.30
```
## Notes
None