← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1207572] Re: VPNaaS db model - ikepolicy lifetime unit typo error

 

** 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/1207572

Title:
  VPNaaS db model - ikepolicy lifetime unit typo error

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

Bug description:
  In vpn_db.py line 361,  instead of doing a get with "units", it is doing a get with "unit".
  So there is a mismatch between ikepolicy create and ipsecpolicy create.

  In the command below, if you pass "units" ,then the units value will
  not be honored.

  guest@ubuntu-server:~/newdevstack/devstack$ neutron vpn-ikepolicy-create myikepolicy2 --li
  fetime "unit=kilobytes,value=20000"
  Created a new ikepolicy:
  +-------------------------+------------------------------------------+
  | Field                   | Value                                    |
  +-------------------------+------------------------------------------+
  | auth_algorithm          | sha1                                     |
  | description             |                                          |
  | encryption_algorithm    | aes-128                                  |
  | id                      | e8742664-1d09-4317-94a5-cdcfa263aede     |
  | ike_version             | v1                                       |
  | lifetime                | {"units": "kilobytes", "value": "20000"} |
  | name                    | myikepolicy2                             |
  | pfs                     | group5                                   |
  | phase1_negotiation_mode | main                                     |
  | tenant_id               | b3d949dca4ce4ffe9aeb7c7387d0449b         |
  +-------------------------+------------------------------------------+

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