'Return Primary IP address to REST API.'

def _get_ise_primary_ip(self):

    if (self.ise_primary_ip == ''):
        self.ise_primary_ip = self.configuration.san_ip
    if (self.ise_primary_ip == ''):
        LOG.error('Primary    IP    must    be    set!')
        RaiseXIODriverException()
    return self.ise_primary_ip
