def tearDown(self):
        super(SimpleInstanceTest, self).tearDown()
        CONF.network_label_regex = self.orig_conf
        CONF.ip_start = None
def forceCloseCliConnectionTo(self):
        self.modeList = None
        if self._connection:
            self._debugLog("Closing connection.")
            self._connection.close()
        self._connection = None