« Previous | Next » 

Revision 1f1d09b6

ID1f1d09b6814551c000a52716554bcabf4327c73e
Parent b4d7d443
Child 8bea2cce

Added by Dimitris Aragiorgis almost 10 years ago

ifdown: Extract env creation from ConfigureNic()

Introduce new helper method that creates the environment passed
to ifup/ifdown scripts. Instance tags and NIC index will be passed
only during ifup script since only then are available and
valid. Both can change until a NIC gets removed and thus will not
be passed to ifdown script.

Note that TAP name may be not available during ifdown script for
old instances without UUID indexed NIC files. That's why it gets
included in env only if it exists.

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences