Update executors to reflect new create/destroy phase.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
e6c6f49143
commit
af94d760d0
7 changed files with 37 additions and 18 deletions
|
@ -14,14 +14,14 @@ handle_member() {
|
|||
[ -n "$VERBOSE" ] && set -x
|
||||
|
||||
case "$PHASE" in
|
||||
pre-up)
|
||||
create)
|
||||
[ -n "$IF_VRF_TABLE" ] && handle_init "add"
|
||||
[ -n "$IF_VRF_MEMBER" ] && handle_member
|
||||
exit 0
|
||||
;;
|
||||
post-down)
|
||||
pre-up)
|
||||
[ -n "$IF_VRF_MEMBER" ] && handle_member
|
||||
;;
|
||||
destroy)
|
||||
[ -n "$IF_VRF_TABLE" ] && handle_init "del"
|
||||
exit 0
|
||||
;;
|
||||
depend)
|
||||
echo "$IF_VRF_MEMBER"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue