From: Ben Pfaff Date: Tue, 12 Oct 2010 09:38:38 +0000 (+0100) Subject: [PATCH] Rename "xs-vif-mac" external_ids key to "attached-mac", for generality. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3712456f97b010c26fbd9a1f04f4e7237532310e;p=xcp%2Fxen-api.git [PATCH] Rename "xs-vif-mac" external_ids key to "attached-mac", for generality. From e61070c32030d6d00e2eeae213d219320a7cbd10 Mon Sep 17 00:00:00 2001 Date: Wed, 1 Sep 2010 16:49:19 -0700 This can be useful on systems other than XenServer so there is no reason to make it looks XenServer-specific. CC: Jeremy Stribling Signed-off-by: Ben Pfaff Signed-off-by: Ian Campbell --- vswitchd/vswitch.xml | 15 ++++++++------- scripts/vif | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) --- diff --git a/scripts/vif b/scripts/vif index 942a88c3..6f513e14 100755 --- a/scripts/vif +++ b/scripts/vif @@ -97,7 +97,7 @@ handle_vswitch_vif_details() fi local address=$(xenstore-read "/local/domain/$DOMID/device/vif/$DEVID/mac" 2>/dev/null) if [ -n "${address}" ] ; then - set_vif_external_id "xs-vif-mac" "${address}" + set_vif_external_id "attached-mac" "${address}" fi }