← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1698852] Re: port in mechanism driver's create_port_postcommit has no extra_dhcp_opts

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  port in mechanism driver's create_port_postcommit has no
  extra_dhcp_opts

Status in neutron:
  Expired

Bug description:
  The create port request must have both extra_dhcp_opts and binding
  information.

  The port in the following code of a mechanism driver will always have
  extra_dhcp_opts = [], regardless of whether it has dhcp options or
  not.

      def create_port_postcommit(self, context):
          port = context.current
          port.get('extra_dhcp_opts')  # always an empty list

  The create_port_precommit port does have the correct extra_dhcp_opts.

  Also, the create_port API response does not contain the dhcp options.

  Seen on stable/ocata

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


References