Revision 0ccb6461 snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py

b/snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py
49 49
    - Missing Ganeti networks
50 50
    - Ganeti networks that are not connected to all Ganeti nodegroups
51 51
    - Networks that have unsynced state
52
    - Networks that have unsynced IP pools
53 52
    - Orphan networks in the Ganeti backend
54 53
"""
55 54

  
......
58 57
        make_option('--fix-all', action='store_true',
59 58
                    dest='fix', default=False,
60 59
                    help='Fix all issues.'),
61
        make_option('--conflicting-ips', action='store_true',
62
                    dest='conflicting_ips', default=False,
63
                    help='Detect conflicting ips')
64 60
    )
65 61

  
66 62
    def handle(self, **options):
67
        conflicting_ips = options['conflicting_ips']
68 63
        verbosity = int(options["verbosity"])
69 64
        fix = options["fix"]
70 65

  
......
84 79
            logger.setLevel(logging.WARNING)
85 80

  
86 81
        logger.addHandler(log_handler)
87
        reconciler = reconciliation.NetworkReconciler(
88
            logger=logger,
89
            fix=fix,
90
            conflicting_ips=conflicting_ips)
82
        reconciler = reconciliation.NetworkReconciler(logger=logger, fix=fix)
91 83
        reconciler.reconcile_networks()

Also available in: Unified diff