assert(len(self.net.switches) == 1)
# check resource model and resource model registrar
assert(self.dc[0]._resource_model is not None)
assert(len(self.net.switches) == 1)
# check resource model and resource model registrar
assert(self.dc[0]._resource_model is not None)