'Creates a dummy node; the node id is equal to the number of
nodes in the node list
>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
>>> driver = DummyNodeDriver(0)
>>> sorted([node.name for node in driver.list_nodes()])
[\'dummy-1\', \'dummy-2\']
>>> nodeA = driver.create_node()
>>> sorted([node.name for node in driver.list_nodes()])
[\'dummy-1\', \'dummy-2\', \'dummy-3\']
>>> driver.create_node().name
\'dummy-4\'
>>> driver.destroy_node(nodeA)
True
>>> sorted([node.name for node in driver.list_nodes()])
[\'dummy-1\', \'dummy-2\', \'dummy-4\']
@inherits: :class:`NodeDriver.create_node`'

def create_node(self, **kwargs):

    l = (len(self.nl) + 1)
    n = Node(id=l, name=('dummy-%d' % l), state=NodeState.RUNNING, public_ips=[('127.0.0.%d' % l)], private_ips=[], driver=self, size=NodeSize(id='s1', name='foo', ram=2048, disk=160, bandwidth=None, price=0.0, driver=self), image=NodeImage(id='i2', name='image', driver=self), extra={'foo': 'bar'})
    self.nl.append(n)
    return n
