Debian Codegraph @

src/res/configlets/fwsm_os/failover_commands_3_2

raw
1 ## -*- mode: shell-script; -*-
2 ##
3 ## To be able to make changes to the part of configuration created
4 ## from this configlet you need to copy this file to the directory
5 ## fwbuilder/configlets/pix_os/ in your home directory and modify it.
6 ## Double "##" comments are removed during processing but single "#"
7 ## comments are be retained and appear in the generated script. Empty
8 ## lines are removed as well.
9 ##
10 ## Configlets support simple macro language with these constructs:
11 ## {{$var}} is variable expansion
12 ## {{if var}} is conditional operator.
13 ##
14 ##
15 ## failover
16 ## failover lan unit primary
17 ## failover lan interface failover Ethernet3
18 ## failover lan enable
19 ## failover key ******
20 ## failover link state Ethernet2
21 ## failover interface ip failover 10.1.0.1 255.255.255.0 standby 10.1.0.2
22 ## failover interface ip state 10.0.0.1 255.0.0.0 standby 10.0.0.2
23
24 failover lan unit {{$primary_or_secondary}}
25 failover lan interface {{$failover_interface_label}} {{$failover_interface_name}}
26 failover lan enable
27 failover key {{$failover_key}}
28
29 failover interface ip {{$failover_interface_label}} {{$failover_interface_primary_address}} {{$failover_interface_primary_netmask}} standby {{$failover_interface_standby_address}}
30
31 failover link {{$state_sync_interface_label}} {{$state_sync_interface_name}}
32 failover interface ip {{$state_sync_interface_label}} {{$state_sync_interface_primary_address}} {{$state_sync_interface_primary_netmask}} standby {{$state_sync_interface_standby_address}}
33
34 failover