Exemplo n.º 1
0
 def _make_router(self, minimum_radix):
   if minimum_radix <= 36:
     return fabric.Router(36)
   elif minimum_radix <= 648:
     return fabric.Router(36)
   else:
     assert minimum_radix <= 648, 'EDR only supports 36 and 648 port routers'
Exemplo n.º 2
0
 def _make_router(self, minimum_radix):
   assert minimum_radix <= 32, 'Eth40 only supports 32 port routers'
   return fabric.Router(32)
Exemplo n.º 3
0
 def _make_router(self, minimum_radix):
     assert minimum_radix <= 64, 'Eth100 only supports 64 port routers'
     return fabric.Router(64)
Exemplo n.º 4
0
 def _make_router(self, minimum_radix):
     return fabric.Router(minimum_radix)
Exemplo n.º 5
0
 def _make_router(self, minimum_radix):
     assert minimum_radix <= 48, 'OPA1 only supports 48 port routers'
     return fabric.Router(48)