def add_vm_ethernet_ports(self):
        """
        Add ethernet ports to Virtualbox and Qemu nodes
        """
        for i in range(self.node['properties']['adapters']):
            port = {'id': self.port_id,
                    'name': 'Ethernet%s' % i,
                    'port_number': i}
            self.node['ports'].append(port)
            self.port_id += 1
Add ethernet ports to Virtualbox and Qemu nodes