** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1287524

Title:
  ip_lib netns.execute should work with or without namespace

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  There are a number of places in the neutron code that run an ip
  command like this:

          if self.network.namespace:
              ip_wrapper = ip_lib.IPWrapper(self.root_helper,
                                            self.network.namespace)
              ip_wrapper.netns.execute(cmd)
          else:
              utils.execute(cmd, self.root_helper)

  This code could be simplified if netns.execute simply checked if there
  was a namespace defined or not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1287524/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to