':param  creds: Credentials
:type   creds: ``str``
:rtype: ``None``'

def __init__(self, creds):

    self.creds = creds
    try:
        num = int(creds)
    except ValueError:
        num = None
    if num:
        self.nl = []
        startip = _ip_to_int('127.0.0.1')
        for i in range(num):
            ip = _int_to_ip((startip + i))
            self.nl.append(Node(id=i, name=('dummy-%d' % i), state=NodeState.RUNNING, public_ips=[ip], private_ips=[], driver=self, extra={'foo': 'bar'}))
    else:
        self.nl = [Node(id=1, name='dummy-1', state=NodeState.RUNNING, public_ips=['127.0.0.1'], private_ips=[], driver=self, extra={'foo': 'bar'}), Node(id=2, name='dummy-2', state=NodeState.RUNNING, public_ips=['127.0.0.1'], private_ips=[], driver=self, extra={'foo': 'bar'})]
    self.connection = DummyConnection(self.creds)
