Bo Maryniuk
|
0a19c80d07
|
Expand method of availability
|
2017-12-11 17:43:20 +01:00 |
|
Bo Maryniuk
|
82d187485f
|
Add check asyncio availability on Python 2.
|
2017-12-11 17:43:20 +01:00 |
|
Bo Maryniuk
|
0ffda17b1f
|
Lintfix: E1321
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
10afdf6d71
|
Lintfix: W1699
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
7fb357d202
|
Update documentation about Minion/Master relation
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
20252e8ea0
|
Process the entire list of masters, instead of first winner
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
04bb66566f
|
Find out target master, if any
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
3add3b7f92
|
Receive all the mapping from the blocking socket
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
f5cf2419cc
|
Add initial documentation for current basic autodiscovery implementation
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
9f023b6035
|
Use attempts while discovering masters
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
7265f0bed6
|
Return discovery attempt status
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
2010828d30
|
Configure minion for default attempts/pause for discovery
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
3655a0ee03
|
Add configuration options for attempts for discovery
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
6bf5802176
|
Use attempts variable and remove hardcoded value
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
945778ef7a
|
Change split points
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
bb3f1322b4
|
Add packet conflict resolver on multi-master environment
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
565f81f6e2
|
Fix log message
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
cf17120ced
|
Remove opts passing confusing instances
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
888bf571f9
|
Use matcher policies when deciding a master
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
c623d339a3
|
Define default configuration for SSDP on minions
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
2867321fc5
|
Define matching policy configuration value
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
ad19a242c1
|
Always try to discover master(s) early, as long as minion is not disabled
|
2017-12-11 17:43:19 +01:00 |
|
Bo Maryniuk
|
ec574b4f6a
|
Use configuration for SSDP start
|
2017-12-11 17:42:19 +01:00 |
|
Bo Maryniuk
|
cd517b6132
|
Set salt-like port for SSDP
|
2017-12-11 17:42:19 +01:00 |
|
Bo Maryniuk
|
7999130bdc
|
Set default configuration for SSDP
|
2017-12-11 17:42:19 +01:00 |
|
Bo Maryniuk
|
65d4a2879a
|
Define valid configuration for the SSDP
|
2017-12-11 17:42:19 +01:00 |
|
Bo Maryniuk
|
a84aad0ba2
|
Fire up SSDP publisher
|
2017-12-11 17:42:19 +01:00 |
|
Bo Maryniuk
|
c74876fb96
|
Use SSDP discovery, when master hostname is default or not configured
|
2017-12-11 17:42:19 +01:00 |
|
Bo Maryniuk
|
84228a3546
|
Use hex for better reading
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
a0d96e50b2
|
Fix a typo
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
e4072b0dd4
|
Use time instead of datetime for bkwcompat Py2/3
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
92906038b8
|
Fix typo in class name
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
9a20d66b87
|
Add logging messages on start/stop the publisher
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
412f53aea8
|
Remove prototype code
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
42b6233de1
|
Select proper implementation, based on asyncio version (port or original)
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
d11854b018
|
Port create_datagram_endpoint UDP broadcast functionality from Python3/asyncio to Python2/trollius
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
664f7bb3d1
|
Fix imports
|
2017-12-11 17:39:17 +01:00 |
|
Bo Maryniuk
|
b4dbea2d61
|
Add discovery service client
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
443331af56
|
Use internal logging variable
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
45481e9f13
|
Update defaults
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
cfc3945fd5
|
Add protocol exception classes
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
4655094cb6
|
Add server publisher primary implementation
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
3408a027c7
|
Serialize data only at the answer point
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
c0cb8f08a0
|
Add defaults to the base class
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
83f62ee982
|
Fix json import
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
17cce993a6
|
Implement SSDP factory protocol
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
ad2eca0a4c
|
Add get self IP method
|
2017-12-11 17:39:16 +01:00 |
|
Bo Maryniuk
|
f18f2ee18c
|
Add initial place for Salt Service Discovery Protocol
|
2017-12-11 17:39:16 +01:00 |
|
Ch3LL
|
3bb58fb577
|
skip salt-key log creation test
|
2017-12-11 10:59:10 -05:00 |
|
Nicole Thomas
|
c263ea1530
|
Merge branch 'develop' into nested-colors
|
2017-12-11 10:57:21 -05:00 |
|