Commit Graph
9 Commits
Author SHA1 Message Date
Jayden Navarro 4e592383a4 Default route is not added if it already exists 2017-04-28 10:43:55 -07:00
Hans Krijger 7d613b721d route/dhcp logging cleanup (#665) 2017-04-12 12:20:52 -07:00
Hans Krijger 028a77f3b4 Dhcp caching (#271)
* fix bug in cache lookup logic; allow skipping the cache in failure mode

* code review feedback
2016-06-28 11:12:51 -07:00
Hans Krijger d074b669d9 Remove call to grep (#264)
* pep8 formatting

* ignore the return code for grep check

* code review feedback
2016-06-24 14:17:47 -07:00
brendandixon 2799c3b615 Agent Self-Update Feature (#244)
The Agent will monitor for more recent versions and update itself
(without impacting the installed version). If the new Agent fails
(in a very bad way or consistently), the code rolls back to the prior
version.

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-21 12:18:06 -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
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