Public bug reported: In lbaasv2,when I create a listener with no loadbalancer and no default_pool_id.there will be an error.But this judgment repeat in neutronclient and plugin。 codes in neutronclietn: if not parsed_args.loadbalancer and not parsed_args.default_pool: message = _('Either --default-pool or --loadbalancer must be ' 'specified.') raise exceptions.CommandError(message) codes in plugin: elif not lb_id: raise sharedpools.ListenerMustHaveLoadbalancer()
** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1587800 Title: There is a judgment repeat in neutronclient and lbaas Status in neutron: New Bug description: In lbaasv2,when I create a listener with no loadbalancer and no default_pool_id.there will be an error.But this judgment repeat in neutronclient and plugin。 codes in neutronclietn: if not parsed_args.loadbalancer and not parsed_args.default_pool: message = _('Either --default-pool or --loadbalancer must be ' 'specified.') raise exceptions.CommandError(message) codes in plugin: elif not lb_id: raise sharedpools.ListenerMustHaveLoadbalancer() To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1587800/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp