Public bug reported:

Now it is:
        ...
        if not vif_port.ofport:
            LOG.warn(_LW("VIF port: %s has no ofport configured, "
                         "and might not be able to transmit"), vif_port.vif_id)
        if vif_port:
            if admin_state_up:
                self.port_bound(vif_port, network_id, network_type,
        ...
logic:
        if vif_port:
            if not vif_port.ofport:
                ...
should be better.

** Affects: neutron
     Importance: Undecided
     Assignee: ZongKai LI (lzklibj)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => ZongKai LI (lzklibj)

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

Title:
  fix treat_vif_port logic

Status in neutron:
  In Progress

Bug description:
  Now it is:
          ...
          if not vif_port.ofport:
              LOG.warn(_LW("VIF port: %s has no ofport configured, "
                           "and might not be able to transmit"), 
vif_port.vif_id)
          if vif_port:
              if admin_state_up:
                  self.port_bound(vif_port, network_id, network_type,
          ...
  logic:
          if vif_port:
              if not vif_port.ofport:
                  ...
  should be better.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1508801/+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

Reply via email to