Revision 12cb6933 snf-cyclades-app/synnefo/api/management/commands/network-create.py

b/snf-cyclades-app/synnefo/api/management/commands/network-create.py
187 187
                                  link=link, mac_prefix=mac_prefix, tags=tags,
188 188
                                  floating_ip_pool=floating_ip_pool)
189 189

  
190
        self.stdout.write("Successfully created network '%s' in DB.\n",
191
                          network)
190 192
        # Create network in Backend if needed
191 193
        if floating_ip_pool:
192 194
            backends = Backend.objects.filter(offline=False)
......
196 198
            backends = []
197 199

  
198 200
        for backend in backends:
201
            self.stdout.write("Creating network in backend '%s'\n", backend)
199 202
            network.create_backend_network(backend)
200
            self.stdout.write("Trying to connect network to backend '%s'\n" %
201
                              backend)
202 203
            jobs = create_network(network=network, backend=backend,
203 204
                                  connect=True)
204 205
            self.stdout.write("Successfully issued jobs: %s\n" %

Also available in: Unified diff