def tearDown(self):
        super(SimpleInstanceTest, self).tearDown()
        CONF.network_label_regex = self.orig_conf
        CONF.ip_start = None
def local_rank(self) -> int:
        return 0 if self._local_rank is None else self._local_rank