Commit Graph

50627 Commits

Author SHA1 Message Date
Thomas Jackson
4bd71f9448 More hacking to get tcp working 2015-04-07 20:53:22 -07:00
Thomas Jackson
6fb0ec1edc Initial addition of tcp channel 2015-04-07 20:53:22 -07:00
Thomas Jackson
0a0caf6304 Hacking to fix various things broken in rebase 2015-04-07 20:53:22 -07:00
Thomas Jackson
8e0316d613 Misc cleanup 2015-04-07 20:53:22 -07:00
Thomas Jackson
0ddd4ec04b Migrate _auth logic into the ReqServerChannel 2015-04-07 20:53:22 -07:00
Thomas Jackson
ea49cbc628 Change req_fun default to send (which is encrypted) 2015-04-07 20:53:21 -07:00
Thomas Jackson
422d1c28a3 Re-work req_channel in the master daemons, now we don't pass it down the stack, the master-side funcs need to return a dict of opts which specify which send_func to use 2015-04-07 20:53:21 -07:00
Thomas Jackson
8c66c4e857 Initial move of publisher into PubServerChannel 2015-04-07 20:53:21 -07:00
Thomas Jackson
f128e47240 Initial migration of master-side ReqChannels
This is an attempt to pull all transport/crypto logic out of the core master classes.

Once this is completed we should be able to re-use all of this code for all transport types
2015-04-07 20:53:21 -07:00
Thomas Jackson
5ae95fff58 Rename channel to client
A bit more clear since there are client and server-side classes
2015-04-07 20:53:21 -07:00
Thomas Jackson
1ffac59056 Add local channel to factory 2015-04-07 20:53:21 -07:00
Thomas Jackson
5e661b0cbc Pull all fallback cleanup into its own function 2015-04-07 20:53:21 -07:00
Thomas Jackson
10e3ec870f Remove old refs to _init_context_and_poller 2015-04-07 20:53:21 -07:00
Thomas Jackson
fef2e38888 Remove some noe-deprecated and unused functions 2015-04-07 20:53:21 -07:00
Thomas Jackson
2b0d1e5cd3 Refactor minion events to be their own class instead of spread throughout the minion classes 2015-04-07 20:53:21 -07:00
Thomas Jackson
21624eb20e Remove all final references to self.socket from minion.py 2015-04-07 20:53:21 -07:00
Thomas Jackson
d406b2e1da Add "socket" interface to pub_channel, so we can wire it into regular pollers 2015-04-07 20:53:21 -07:00
Thomas Jackson
7bbfba2797 More migration to PubChannel 2015-04-07 20:53:20 -07:00
Thomas Jackson
645eaf084b Cleanup print from debugging 2015-04-07 20:53:20 -07:00
Thomas Jackson
87fb069e05 Implement timeout for PubChannel.recv() 2015-04-07 20:53:20 -07:00
Thomas Jackson
3290c32659 Remove some unused imports 2015-04-07 20:53:20 -07:00
Thomas Jackson
064896d4d9 Update commented out version as well 2015-04-07 20:53:20 -07:00
Thomas Jackson
e376b283ef Refactor the start_daemon function 2015-04-07 20:53:20 -07:00
Thomas Jackson
403c81c2a6 Move daemon init and execution into the same process.
These daemon processes aren't all thread safe, so having the test suite init then fork is disingenuous since that isn't supported anyways.
2015-04-07 20:53:20 -07:00
Thomas Jackson
8996493152 Misc cleanup after rebase 2015-04-07 20:53:20 -07:00
Thomas Jackson
62d9d3cdad Switch remaining uses of sreq to channel 2015-04-07 20:53:20 -07:00
Thomas Jackson
7c93360a82 More work to remove minion.authenticate() 2015-04-07 20:53:20 -07:00
Thomas Jackson
fa94083acc Consolidate socketopts into channel 2015-04-07 20:53:07 -07:00
Thomas Jackson
e8b31057f8 Rebase in current develop, and add in recv_noblock 2015-04-07 20:53:07 -07:00
Thomas Jackson
ce04827fa4 A few hacks to get some basic pubchannel working 2015-04-07 20:53:07 -07:00
Thomas Jackson
3bf28b1bb5 Refactor channel classes to have separate pub/req channels 2015-04-07 20:51:26 -07:00
Matthew Williams
965d91f29a [WIP] utils.boto 2015-04-08 02:20:53 +00:00
Nitin Madhok
df6711f208 Fixing lint 2015-04-07 19:24:50 -04:00
Justin Findlay
54ce98a92b Merge pull request #22438 from garethgreenaway/http_return_code_cleanup
HTTP Return Code Cleanup
2015-04-07 16:34:54 -06:00
Nicole Thomas
408cfb223f Merge pull request #22424 from jfindlay/network_tests
add wake-on-lan unit tests
2015-04-07 15:45:47 -06:00
Gareth J. Greenaway
e6b847eca8 Swapping out hardcoded HTTP return code numbers for their values from salt.ext.six.moves.http_client. Some typos in some documention for returners. 2015-04-07 14:17:24 -07:00
Thomas S Hatch
2ceea0e3c7 Merge pull request #22430 from cachedout/display_docs
Display documention when the CLI gets bad function args
2015-04-07 14:50:20 -06:00
Nitin Madhok
a532d9ce00 Removing unwanted line 2015-04-07 16:46:58 -04:00
Nitin Madhok
1928bce04b Removing extra new line 2015-04-07 16:44:24 -04:00
Nitin Madhok
fddee639e3 Adding show_instance() action to be able to show full details about the specified VM/template 2015-04-07 16:41:52 -04:00
Justin Findlay
2ef39ed380 add wake-on-lan unit tests 2015-04-07 14:41:28 -06:00
Thomas S Hatch
caff269555 Merge pull request #22421 from terminalmage/docker-ng
docker-ng module updates
2015-04-07 14:38:43 -06:00
Thomas S Hatch
5643c7f33b Merge pull request #22432 from cachedout/minion_lint
Minion lint
2015-04-07 14:12:45 -06:00
Thomas S Hatch
55f4348103 Merge pull request #22428 from garethgreenaway/adding_ps_beacon
ps beacon
2015-04-07 14:10:58 -06:00
Justin Findlay
52ab4f6bf4 Merge pull request #22429 from tsaridas/iam_create_access_keys
create_access_key
2015-04-07 13:52:21 -06:00
Mike Place
4e6ed60c01 Lint 2015-04-07 13:51:10 -06:00
Thomas S Hatch
ff04f1030e Merge pull request #22414 from syphernl/fix/proxmox_kvm
Cloud: Do not look for disk underneath config in Proxmox driver
2015-04-07 13:13:54 -06:00
Mike Place
e95e533cf9 Minion lint
Create excecptions for a few format handlers. Tested in py2 and py3.
2015-04-07 13:13:32 -06:00
Mike Place
83c69b6bde Display documention when the CLI gets bad function args 2015-04-07 12:45:56 -06:00
Nicole Thomas
9120d7d63c Merge pull request #22423 from terminalmage/state-change-reporting
Remove reference to package changes
2015-04-07 12:42:13 -06:00