Commit graph

80 commits

Author SHA1 Message Date
Emmanuel Garette
da015d3af0 coverage 2019-02-25 20:30:20 +01:00
Emmanuel Garette
af5da925e2 add CIDR support 2019-02-24 18:37:19 +01:00
Emmanuel Garette
c3f968dbde master/slaves => leader/followers 2019-02-23 19:06:23 +01:00
Emmanuel Garette
526fe892d0 merge ValueWarning | ValueOptionError | ValueErrorWarning 2019-02-12 21:08:53 +01:00
Emmanuel Garette
da99c8eb69 better support of notraisepropertyerror 2018-12-07 23:33:54 +01:00
Emmanuel Garette
f04169d5a6 mandatory_warnings => mandatory 2018-11-13 12:39:51 +01:00
Emmanuel Garette
f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01:00
Emmanuel Garette
4426cc5111 coverage 2018-09-26 21:30:10 +02:00
Emmanuel Garette
721ff8643d display correct name in consistency 2018-09-16 21:28:18 +02:00
Emmanuel Garette
cd7977eae6 coverage 2018-09-12 21:05:14 +02:00
Emmanuel Garette
6110a37cc7 option.dict => value.dict 2018-09-09 12:21:47 +02:00
Emmanuel Garette
4b0c142e3e synchronise config_bag and context 2018-09-06 23:06:56 +02:00
Emmanuel Garette
ec169a8dc6 optimisations 2018-09-04 08:36:02 +02:00
Emmanuel Garette
726d6c8bfd make_dict => dict, option.dict => config.dict 2018-08-23 23:14:22 +02:00
Emmanuel Garette
6b6fa5e499 remove getapi in tests 2018-08-14 23:07:07 +02:00
Emmanuel Garette
50a2ab4186 can set valid value for an option with invalid consistency 2018-06-02 08:35:05 +02:00
Emmanuel Garette
54b57968bc not Params object for callback, validator and calculated values for choiceoption 2018-04-15 21:13:16 +02:00
Emmanuel Garette
d5d826f967 adapt tests 2018-03-19 08:33:53 +01:00
Emmanuel Garette
5a1987f2e6 Add MasterSlaves object 2017-10-14 13:33:25 +02:00
Emmanuel Garette
3567e18256 several corrections about dependency 2017-09-17 15:55:32 +02:00
Emmanuel Garette
ddaadb0701 coverage 2017-07-21 18:03:34 +02:00
Emmanuel Garette
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette
7977efe246 check uniq value for a slave 2017-03-06 22:35:32 +01:00
Emmanuel Garette
df90e74819 mandatories masterslaves with consistency and default value is acceptable 2016-12-07 17:28:31 +01:00
Emmanuel Garette
8e7b4101f1 coverage 2016-11-20 18:02:10 +01:00
Emmanuel Garette
0f4b1caca4 warnings only if needed 2016-11-20 14:32:06 +01:00
Emmanuel Garette
fc36f674eb consistency "not_equal" works now with multi 2016-11-16 22:31:42 +01:00
Emmanuel Garette
24ec5a9112 don't display warning in mandatory_warnings 2016-10-14 21:31:39 +02:00
Emmanuel Garette
c31590c2ac consistency is now check not_equal if one option has PropertiesOptionError 2016-10-12 21:58:37 +02:00
Emmanuel Garette
e6a949635f some improvements 2016-10-10 21:41:22 +02:00
Emmanuel Garette
e8764f6173 remove some try/except + consistency not works with submulti 2016-01-03 13:23:15 +01:00
Emmanuel Garette
ab555966f7 use python-coverage to delete dead part of code 2015-11-24 10:58:19 +01:00
Emmanuel Garette
44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette
10768a6067 refactor validation 2015-04-18 22:53:45 +02:00
Emmanuel Garette
c566ad1111 valid default/callback value in consistencies 2015-03-08 12:03:49 +01:00
Emmanuel Garette
bc65caa4dc mandatory master/slave's consistency with default value as slave 2014-12-07 14:39:23 +01:00
Emmanuel Garette
4fde28a15e in_network's consistency now verify that IP is not network or broadcast's IP + ip_netmask's consistency now verify that IP is not broadcast's IP 2014-12-01 23:16:00 +01:00
Emmanuel Garette
71e69cd0bf if consistency with multiple option return if transitive 2014-12-01 23:02:55 +01:00
Emmanuel Garette
7646071efd propertyerror are transitive in consistency, now it's possible to set non-transitive consistency 2014-12-01 22:58:53 +01:00
Emmanuel Garette
471af4fd75 cannot add unvalaible consistency for an option 2014-10-25 22:48:42 +02:00
Emmanuel Garette
5d8b5719a0 Merge branch 'master' into orm
Conflicts:
	test/test_config_api.py
	tiramisu/autolib.py
	tiramisu/config.py
	tiramisu/option.py
	tiramisu/value.py
2014-04-13 10:30:42 +02:00
Emmanuel Garette
cd4d3527c7 split tiramisu/option.py and add MasterSlaves object 2014-04-12 17:55:13 +02:00
Emmanuel Garette
88b5af9810 Merge branch 'master' into better_warnings 2014-03-12 22:13:20 +01:00
Emmanuel Garette
ff802b46e5 consistencies can make a warning instead of raises
for that, you have to set something like:
  a.impl_add_consistency('not_equal', b, warnings_only=True)

warning product now adapted message
2014-03-12 21:56:53 +01:00
Emmanuel Garette
5f46763696 add test for consistency with callback 2014-03-12 16:44:48 +01:00
Emmanuel Garette
d7b04ebed0 add consistency in_network for IPOption
This new consistency can validate that an IPv4 is a specified (network/netmask) network
2014-03-11 18:57:19 +01:00
Emmanuel Garette
21c8ed5d76 Merge branch 'master' into orm
Conflicts:
	test/test_option_consistency.py
	test/test_state.py
	tiramisu/option.py
2014-02-06 22:24:50 +01:00
Emmanuel Garette
e7531e1fda more tests 2014-02-06 22:17:20 +01:00
Emmanuel Garette
72f06bc29d properties option in consistencies are now allowed 2014-02-06 19:19:48 +01:00
Emmanuel Garette
02a987b39d sqlalchemy 2014-01-30 22:55:15 +01:00