Commit Graph
17 Commits
Author SHA1 Message Date
Robert Schweikert e821b4c71a Integrate RDMA handling (#255)
* - Integrate RDMA handling

* - RDMA Integration
  + Fix syntax errors
  + Use the full distro name to differentiate properly between openSUSE
    (which has currently no RDMA driver build) and SLES

* - RDMA integration
  + Do not stop the execution of the agent work flow by throwing an
    exception if the RDMA handler is not specialized. Simply log an error
    to indicate that the handler is not supported although it has been
    configured with OS.EnableRDMA=y. The configuration in this case is in
    error.

* - RDMA integration
  + Document he new OS.EnableRDMA configuration setting
2016-06-22 14:10:14 -07:00
Hans Krijger fc9684b25c Multi-nic improvements (#237)
* update loopback detection to use SIOCGIFFLAGS and IFF_LOOPBACK; add unit tests

* adds a check for the wireserver ip, and if it does exist then skip the dhcp lookup and route manipulation; adds unit tests

* ensure the first selected interface is the primary, which is that with the default route; adds unit tests

* parse the wireserver from the dhcp leases file on disk; distro-specific, this is the ubuntu implementation; adds unit tests

* unit test fixes, python 3 changes

* code review feedback
2016-06-21 11:28:07 -07:00
Robert Schweikert 6a47bc0fd3 Support package upgrade in for the RDMA driver (#239)
* - Support package upgrade in for the RDMA driver
  + A different version of the rdma driver may need to be installed when
    a VM gets rebooted as it may be deployed on different HW that has a
    different firmware version

* - RDMA support driver upgrades
  + Code style changes
  + Turns out the module in question cannot be removed with "rmmod" and we
    need to reboot the system if the driver is already loaded and a package
    upgrade is needed. Implemented this condition

* - RDMAHandler
  + Add additional logging
2016-06-17 14:31:12 -07:00
Robert Schweikert 16084f69bf SUSE specific implementation to install the RDMA kernel module (#227)
* - RDMA support
  + SUSE specific implementation to install the RDMA kernel module

* - RDMA specialization for SUSE
  + Some code tidy up

* - SUSE RDMA loader
  + Adjust imports to new structure of modules in project
  + Fix typo
  + Log success
  + Best effort package detection
2016-06-13 13:29:45 -07:00
Yue Zhang da9ebe0a3d Separate provision agent and guest agent
Ensured correct return
Temporarily disable autoupdate

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-01 15:27:32 -07:00
brendandixon e55d8dee0e Revert "Separate provision agent and guest agent" 2016-05-31 11:24:23 -07:00
Yue Zhang efff9d6e0e Separate provision agent and guest agent 2016-05-31 11:15:10 -07:00
Yue Zhang 16b28c84ab Improve unit test 2016-01-08 12:19:36 +08:00
Yue Zhang e875ac866f Remove globle variables 2016-01-08 12:19:35 +08:00
Yue Zhang 27270823f2 Rename Windows Azure to Microsoft Azure 2015-10-23 14:55:05 +08:00
Yue Zhang 4fad64dd30 Fix setup.py
1. Fix systemd init script location for SUSE and centos
2. Fix sysV script for SLES11
3. Use systemctl for sles12+
4. Mitigate systemd issue on centos 7.1
2015-10-20 10:21:36 +08:00
Yue Zhang 52e3cb60e5 Fix pylint warnings 2015-07-22 07:55:32 +08:00
Yue Zhang 8149b73f6b Add register service option to setup.py install 2015-06-30 00:32:03 +08:00
Yue Zhang 9eb1c96ccf Update setup.py for openSUSE 2015-06-29 21:10:11 +08:00
Yue Zhang 4b69733951 Add register-service option to setup.py 2015-06-29 14:50:37 +08:00
Yue Zhang 7371c9a21e Fix extension and provision status 2015-06-29 14:50:37 +08:00
Yue Zhang 8ed9073057 Add distro loader 2015-06-24 15:49:09 +08:00