1#============================================================================
2# ${XEN_SCRIPT_DIR}/vif-post.d/00-vif-local.hook
3#
4# Script for performing local configuration of a vif.
5# This script will be sourced by, e.g., vif-bridge after the hotplugging
6# system calls vif-bridge. The script is here and not simply executed as
7# a udev rule because this allows simple access to several environment
8# variables set by the calling vif-* script.
9#
10# Environment vars:
11# command     (add|remove|online|offline)
12# dev         vif interface name (required).
13# main_ip     IP address of Dom0
14# ip          list of IP networks for the vif, space-separated
15# XENBUS_PATH path to this device's details in the XenStore (required).
16#============================================================================
17
18# Place local modifications here.
19