Revision 388197fe kamaki/clients/cyclades.py
b/kamaki/clients/cyclades.py | ||
---|---|---|
136 | 136 |
def create_network(self, name, cidr=False, gateway=False, type=False, dhcp=False): |
137 | 137 |
"""@params cidr, geteway, type and dhcp should be strings |
138 | 138 |
""" |
139 |
print('cidr[%s], type[%s]'%(cidr, type)) |
|
140 | 139 |
net = dict(name=name) |
141 | 140 |
if cidr: |
142 | 141 |
net['cidr']=cidr |
Also available in: Unified diff