LIS/lis-test — pull request #83 by thenoizz (2014-11-19 21:07:20+00:00)
Title: DM hot-add udev rules presence

Scripts for testing Hot-Add rules presence. VM is shut down, DM enabled
and restarted. After that a remote script tests if Hot-Add support is
enabled in the udev rules by searching after ```SUBSYSTEM=="memory",
ACTION=="add", ATTR{state}="online"``` rule.

Sample script output
```ps1
vmName: Ubuntu14.10
hvServer: localhost
sshKey: rhel5_id_rsa.ppk
ipv4: 10.7.1.217
rootdir: C:\lis-test\WS2012R2\lisa
minMem: 536870912
maxMem: 4135583744
startupMem: 1073741824
memWeight: 20

INFO: Stopping VM Ubuntu14.10

Configuring Dynamic Memory for Ubuntu14.10: Success

INFO: Starting VM Ubuntu14.10
INFO: Started VM Ubuntu14.10

###### Remote Log #######

Wed Nov 19 22:45:14 2014 : Hot-Add udev rule present: Success
Wed Nov 19 22:45:14 2014 : File is:
Wed Nov 19 22:45:14 2014 : /lib/udev/rules.d/40-hyperv-hotadd.rules

######## End Log ########

Hot-Add udev rules present on VM Ubuntu14.10: Success
True
```