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'
def _make_router(self, minimum_radix): assert minimum_radix <= 32, 'Eth40 only supports 32 port routers' return fabric.Router(32)
def _make_router(self, minimum_radix): assert minimum_radix <= 64, 'Eth100 only supports 64 port routers' return fabric.Router(64)
def _make_router(self, minimum_radix): return fabric.Router(minimum_radix)
def _make_router(self, minimum_radix): assert minimum_radix <= 48, 'OPA1 only supports 48 port routers' return fabric.Router(48)