|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.groupmanager.virtualclusterparser.util.VirtualClusterParserUtils
public final class VirtualClusterParserUtils
Virtual cluster parser utilities.
Method Summary | |
---|---|
static String |
getMacAddressFromLibVirtTemplate(String template)
Gets the MAC of the libvirt template. |
static List<String> |
getNetworkInterfacesFromXml(String xmlDescription)
Returns a list of networks attached to a domain. |
static String |
replaceMacAddressInLibVirtTemplate(String template,
String newMacAddress)
Replaces the MAC address inside libvirt template. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String replaceMacAddressInLibVirtTemplate(String template, String newMacAddress)
template
- The templatenewMacAddress
- The new mac address
public static String getMacAddressFromLibVirtTemplate(String template)
template
- The template
public static List<String> getNetworkInterfacesFromXml(String xmlDescription)
xmlDescription
- The xml description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |