|
| 1 | +--- |
| 2 | +template: "{{ inventory_dir }}/templates/default_config.j2" |
| 3 | +gns3_url: "http://172.16.253.1" |
| 4 | +gns3_lab_user: "{{ ansible_user }}" |
| 5 | +gns3_lab_pass: "{{ ansible_ssh_pass }}" |
| 6 | +project_name: "osseclab" |
| 7 | +gns3_nodes_spec: |
| 8 | + - name: "NAT" |
| 9 | + template: "NAT" |
| 10 | + x: 100 |
| 11 | + y: -200 |
| 12 | + - name: "gateway" |
| 13 | + template: "gateway" |
| 14 | + x: 0 |
| 15 | + y: -200 |
| 16 | + - name: "lan1" |
| 17 | + template: "Ethernet switch" |
| 18 | + x: -200 |
| 19 | + y: -50 |
| 20 | + - name: "srv1" |
| 21 | + template: "linux-server" |
| 22 | + x: -100 |
| 23 | + y: 50 |
| 24 | + - name: "lan2" |
| 25 | + template: "Ethernet switch" |
| 26 | + x: 200 |
| 27 | + y: -50 |
| 28 | + - name: "srv2" |
| 29 | + template: "linux-server" |
| 30 | + x: 300 |
| 31 | + y: 50 |
| 32 | + - name: "management" |
| 33 | + template: "Ethernet switch" |
| 34 | + x: 0 |
| 35 | + y: 200 |
| 36 | + - name: "controller" |
| 37 | + template: "controller" |
| 38 | + x: -100 |
| 39 | + y: 250 |
| 40 | + - name: "natctrl" |
| 41 | + template: "NAT" |
| 42 | + x: -350 |
| 43 | + y: 250 |
| 44 | +gns3_links_spec: |
| 45 | + - ["gateway", "Ethernet1", "NAT", "nat0"] |
| 46 | + - ["gateway", "Ethernet0", "lan1", "Ethernet0"] |
| 47 | + - ["gateway", "Ethernet2", "lan2", "Ethernet0"] |
| 48 | + - ["lan1", "Ethernet2", "srv1", "Ethernet0"] |
| 49 | + - ["lan2", "Ethernet2", "srv2", "Ethernet0"] |
| 50 | + - ["natctrl", "nat0", "controller", "Ethernet1"] |
| 51 | + - ["management", "Ethernet0", "controller", "Ethernet0"] |
| 52 | + - ["management", "Ethernet2", "srv1", "Ethernet1"] |
| 53 | + - ["management", "Ethernet4", "srv2", "Ethernet1"] |
| 54 | + - ["management", "Ethernet5", "gateway", "Ethernet3"] |
0 commit comments