# Path: opennsa/topology/linkvector.py
# LOG_SYSTEM = 'topology'
# DEFAULT_MAX_COST = 5
# class LinkVector:
#     def __init__(self, local_networks=None, blacklist_networks=None, max_cost=DEFAULT_MAX_COST):
#     def callOnUpdate(self, f):
#     def updated(self):
#     def localNetworks(self):
#     def addLocalNetwork(self, network):
#     def updateVector(self, network, port, vectors):
#     def deleteVector(self, network, port):
#     def _calculateVectors(self):
#     def _dijkstra(self, source_network):
#     def path(self, network, source):
#     def vector(self, network, source):


from twisted.trial import unittest
from opennsa.topology import linkvector



ARUBA_PORT       = 'aru'
BONAIRE_PORT     = 'bon'
CURACAO_PORT     = 'cur'
DOMINICA_PORT    = 'dom'

LOCAL_TOPO      = 'local:topo'
ARUBA_TOPO      = 'aruba:topo'
BONAIRE_TOPO    = 'bonaire:topo'
CURACAO_TOPO    = 'curacao:topo'
DOMINCA_TOPO    = 'dominica:topo'


class LinkVectorTest(unittest.TestCase):

    def setUp(self):


# Path: opennsa/topology/linkvector.py
# LOG_SYSTEM = 'topology'
# DEFAULT_MAX_COST = 5
# class LinkVector:
#     def __init__(self, local_networks=None, blacklist_networks=None, max_cost=DEFAULT_MAX_COST):
#     def callOnUpdate(self, f):
#     def updated(self):
#     def localNetworks(self):
#     def addLocalNetwork(self, network):
#     def updateVector(self, network, port, vectors):
#     def deleteVector(self, network, port):
#     def _calculateVectors(self):
#     def _dijkstra(self, source_network):
#     def path(self, network, source):
#     def vector(self, network, source):


# Path: test/test_linkvector.py
from twisted.trial import unittest
from opennsa.topology import linkvector




ARUBA_PORT       = 'aru'
BONAIRE_PORT     = 'bon'
CURACAO_PORT     = 'cur'
DOMINICA_PORT    = 'dom'

LOCAL_TOPO      = 'local:topo'
ARUBA_TOPO      = 'aruba:topo'
BONAIRE_TOPO    = 'bonaire:topo'
CURACAO_TOPO    = 'curacao:topo'
DOMINCA_TOPO    = 'dominica:topo'


class LinkVectorTest(unittest.TestCase):

    def setUp(self):


        self.rv = linkvector.LinkVector( [ LOCAL_TOPO ] )