'Return the bridge\'s external ids as a dict.'

def get_external_ids(self):

    results = {}
    if self.exists():
        (rtc, out, err) = self._vsctl(['br-get-external-id', self.bridge])
        if (rtc != 0):
            self.module.fail_json(msg=err)
        lines = out.split('\n')
        lines = [item.split('=') for item in lines if (len(item) > 0)]
        for item in lines:
            results[item[0]] = item[1]
    return results
