def create_node(self, **kwargs):
        l = len(self.nl) + 1
        n = Node(id=l,
                 name='dummy-%d' % l,
                 state=NodeState.RUNNING,
                 public_ip=['127.0.0.%d' % l],
                 private_ip=[],
                 driver=self,
                 extra={'foo': 'bar'})
        self.nl.append(n)
        return n
dataset/ETHPy150Open secondstory/dewpoint/libcloud/drivers/dummy.py/DummyNodeDriver.create_node/original