dana-i2cat/opennaas — pull request #528 by isartcanyameres (2013-03-04 16:19:03+00:00)
Title: Feature/mp suggestor

Add intelligence to MPTemplateSuggestor.

This patch makes MPTemplatesuggestor suggest VLANs and units dynamically, according to already used ones.

This patch creates VLANSuggestor and UnitSuggestor and makes MPTemplateSuggestor use them.
It also refactors SPTemplateSuggestor to use these two suggestors.

It has yet to be tested:
- SPTemplateSuggestor behaviour should not change.
- MPTemplateSuggestor should be able to suggest without fail.