'Turns the IPv6 vNIC on
Required because guest images usually set only the first vNIC on boot.
Searches for the IPv6 vNIC\'s MAC and brings it up.
@param ssh: RemoteClient ssh instance to server
@param sid: server uuid
@param network_id: the network id the NIC is connected to'

def turn_nic6_on(self, ssh, sid, network_id):

    ports = [p['mac_address'] for p in self.os_admin.ports_client.list_ports(device_id=sid, network_id=network_id)['ports']]
    self.assertEqual(1, len(ports), message=('Multiple    IPv6    ports    found    on    network    %s.    ports:    %s' % (network_id, ports)))
    mac6 = ports[0]
    nic = ssh.get_nic_name_by_mac(mac6)
    ssh.exec_command(('sudo    ip    link    set    %s    up' % nic))
