thomasvs - flumotion/branches/platform-2

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Fri Mar 2 14:19:15 CET 2007


Author: thomasvs
Date: Fri Mar  2 14:19:15 2007
New Revision: 4562

Modified:
   flumotion/branches/platform-2/   (props changed)
Log:
Blocking Andy's new feature development
Blocked revisions 4477-4481,4483,4486-4487,4489,4508,4512-4513 via svnmerge

........
  r4477 | wingo | 2007-02-12 16:36:13 +0100 (Mon, 12 Feb 2007) | 13 lines
  
  2007-02-12  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/common/netutils.py (ipv4StringToInt, ipv4IntToString):
  	New functions. We could use inet_pton and the like from socket,
  	but the interface seems more error-prone.
  	(Network): New object, a named set of subnets. Has a match()
  	method to test if an ipv4 address falls within the set.
  
  	* flumotion/test/Makefile.am (EXTRA_DIST): 
  	* flumotion/test/test_common_netutils.py: New tests, test ipv4
  	parsing and the Network subnet set object.
........
  r4478 | wingo | 2007-02-12 16:45:31 +0100 (Mon, 12 Feb 2007) | 10 lines
  
  2007-02-12  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/common/netutils.py (Network._parseSubnet)
  	(Network.addSubnet, Network.removeSubnet): 
  	* flumotion/test/test_common_netutils.py
  	(TestNetwork.testAddRemove): Remove support for noncontinguous
  	netmasks, as it seems they don't work on the Real Internet(tm).
  	Fewer error paths!
........
  r4479 | wingo | 2007-02-12 16:56:10 +0100 (Mon, 12 Feb 2007) | 6 lines
  
  2007-02-12  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/common/netutils.py (ipv4IntToString): Change the
  	algorithm to appease pychecker?
........
  r4480 | wingo | 2007-02-12 17:08:11 +0100 (Mon, 12 Feb 2007) | 1 line
  
  Nits?
........
  r4481 | wingo | 2007-02-12 17:10:55 +0100 (Mon, 12 Feb 2007) | 1 line
  
  changelog
........
  r4483 | wingo | 2007-02-13 19:06:22 +0100 (Tue, 13 Feb 2007) | 12 lines
  
  2007-02-13  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/test/test_common_netutils.py
  	(TestRoutingTable.testRoute): Update tests.
  
  	* flumotion/common/netutils.py (RoutingTable): Change "Network" to
  	RoutingTable, and make it use an AVL tree.
  
  	* flumotion/common/avltree.py: New file, an AVL tree
  	implementation.
........
  r4486 | wingo | 2007-02-14 13:53:59 +0100 (Wed, 14 Feb 2007) | 13 lines
  
  2007-02-14  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/test/Makefile.am (EXTRA_DIST): 
  	* flumotion/test/test_common_avltree.py: Add test for all kinds of
  	insertion/deletion patterns. Hopefully comprehensive.
  
  	* flumotion/common/avltree.py (height): Fix copynpasteo.
  	(_balance): Fix balance factors and hdiff returns in a number of
  	cases, brought out by the test suite.
  	(insert): Only report an increase in height if the balance factor
  	was even or tilted towards the inserted side.
........
  r4487 | wingo | 2007-02-14 15:34:35 +0100 (Wed, 14 Feb 2007) | 16 lines
  
  2007-02-14  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/common/netutils.py (RoutingTable.addSubnet): Sanity
  	check: net should not be too specific for mask.
  	(RoutingTable.__iter__): Iterate the tree in reverse order, so we
  	get most specific netmasks first.
  
  	* flumotion/common/avltree.py (iteratereversed)
  	(AVLTree.__iter__): Implement reverse iteration.
  
  	* flumotion/test/test_common_netutils.py
  	(TestRoutingTable.testBasicRouting): Rename from testRouting.
  	(TestRoutingTable.testBasicRouting): New test, tests that more
  	specific matching netmasks have precedence.
........
  r4489 | wingo | 2007-02-14 18:38:57 +0100 (Wed, 14 Feb 2007) | 6 lines
  
  2007-02-14  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/common/avltree.py (insert, delete): Fix string
  	splicing.
........
  r4508 | wingo | 2007-02-21 18:02:51 +0100 (Wed, 21 Feb 2007) | 9 lines
  
  2007-02-21  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/common/netutils.py (RoutingTable.fromFile): New way of
  	instantiating a routing table, parsing from a file.
  
  	* flumotion/test/test_common_netutils.py
  	(TestRoutingTable.testParseFromFile): Test case.
........
  r4512 | wingo | 2007-02-22 13:11:10 +0100 (Thu, 22 Feb 2007) | 8 lines
  
  2007-02-22  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/test/test_common_netutils.py
  	(TestIpv4Parse.testIpv4ParseString): Test validation.
  
  	* flumotion/common/netutils.py (ipv4StringToInt): Validate the IP.
........
  r4513 | wingo | 2007-02-22 16:34:16 +0100 (Thu, 22 Feb 2007) | 10 lines
  
  2007-02-22  Andy Wingo  <wingo at pobox.com>
  
  	* flumotion/common/netutils.py (RoutingTable.iterHumanReadable):
  	New method, iterate the routes as the route, network IP as a
  	string, and prefix length as an int.
  
  	* flumotion/test/test_common_netutils.py
  	(TestRoutingTable.testIterHumanReadable): Test new function.
........



More information about the flumotion-commit mailing list