Revision 3f68fa52 snf-cyclades-app/synnefo/logic/backend.py

b/snf-cyclades-app/synnefo/logic/backend.py
550 550
def _create_network(network, backend):
551 551
    """Create a network."""
552 552

  
553
    network_type = network.public and 'public' or 'private'
554

  
555 553
    tags = network.backend_tag
556 554
    if network.dhcp:
557 555
        tags.append('nfdhcpd')
......
574 572
                                    network6=network.subnet6,
575 573
                                    gateway=network.gateway,
576 574
                                    gateway6=network.gateway6,
577
                                    network_type=network_type,
578 575
                                    mac_prefix=mac_prefix,
579 576
                                    conflicts_check=conflicts_check,
580 577
                                    tags=tags)

Also available in: Unified diff