« Previous | Next » 

Revision 8e797cbe

ID8e797cbe5af234a14ece78d2ec87ad3a0fc23487
Parent a3a60756
Child 4eacff7b

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