1. 06 Aug, 2021 1 commit
  2. 08 Jul, 2021 1 commit
  3. 17 Jun, 2021 1 commit
  4. 31 Mar, 2021 1 commit
  5. 26 Mar, 2021 1 commit
    • Patryk Jakuszew's avatar
      Add ipsec.secrets reload function to strongSwan driver · 22970988
      Patryk Jakuszew authored
      Currently, strongSwan driver only triggers "ipsec reload" command
      when a new IPsec Site Connection configuration is received. If that
      configuration uses a different PSK, it will not be picked up upon
      reload called by restart() function. This change introduces a separate
      reload_secrets() function which will call "ipsec rereadsecrets" before
      "ipsec reload".
      
      Closes-Bug: #1921514
      Change-Id: Ia5458bbbb38b1d645547baf56ce3bb5ee2a97781
      22970988
  6. 22 Mar, 2021 2 commits
  7. 14 Jan, 2021 1 commit
  8. 06 Jan, 2021 1 commit
    • Akihiro Motoki's avatar
      Fix inconsistency in requirements · 7c8262cf
      Akihiro Motoki authored
      The latest pip resolver started to check requirements strictly
      and it detects many inconsistencies in neutron-vpnaas requirements.
      Also applies the practices discussed in the mailing list [1][2].
      
      * Drop pyflakes from requirements.txt as it is not used.
      * Move document dependencies to doc/requirements.txt [1]
        and drop them from lower-constriants.txt.
      * Bump MarkupSafe lower-constraint to 1.1.1
        to make it work with newer setuptools.
      * Bump the minimum neutron requirement to 17.0.0 (victoria release)
        as the previous min version 13.0.0.0b2 is too old.
        Wallaby and Victoria neutron are not different much, so I think
        it is no problem to use the latest released version here.
      * Dependenicy related to neutron min version bump are updated
        in requirements and lower-constraints.
        Note that eventlet 0.22.0 is used as lower-constraints as 0.21.0
        (the min requirement in neutron 17.0.0) is blocked in several libs.
      * Move linter dependencies to tox.ini and drop them from
        lower-constraints.txt (pylint, pyflakes, astroid, isort)
      * Drop psutil from neutron_vpnaas/tests/functional/requirements.txt
        as the specified version of psutil is too old and psutil is a dependency
        of neutron so we don't need to install it explicitly here.
      
      In addition, hacking version is updated as hacking 0.12.0 is not compatible
      with python 3.8. W504 and I202 are ignored as we do in the neutron repo.
      Other new flake8 violations are fixed.
      
      [1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
      [2] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019362.html
      
      Change-Id: I47f6d39379b68c4d71fc4d85ebb06d97cb5a6ce2
      7c8262cf
  9. 30 Sep, 2020 3 commits
  10. 27 Sep, 2020 1 commit
  11. 23 Sep, 2020 2 commits
  12. 30 Aug, 2020 1 commit
  13. 12 Aug, 2020 1 commit
    • Elod Illes's avatar
      Pin isort to 4.3.21 · 2b293a1b
      Elod Illes authored
      This patch fixes multiple issues to unblock gate:
      
      1. With new isort releases (5.X.X) pylint started to fail, with error:
      
           AttributeError: module 'isort' has no attribute 'SortImports'
      
         This patch pin isort to 4.3.21, the last version before 5.0.0.
      
      2. lower-constraints of appdirs and pytz need to be updated as
         currently lower-constraints job fails.
      
         Since patch Ia012a8e116a276a6674f86366c803e0e2d8ff704 modified the
         NEUTRON_PATH variable the functional test fails with:
      
         [..]neutron/tools/configure_for_func_testing.sh: line 113: /home/zuul/src/opendev.org/openstack/neutron-vpnaas/devstack/lib/ovs: No such file or directory
      
      3. Functional job fails, because during tox run the latest released
         neutron is installed and it requires mock to be installed. This
         patch adds mock to functional test requirements. Note: this needs
         to be deleted as soon as new neutron will be released as on
         development branch neutron does not depend on mock anymore.
      
      Change-Id: Ibc4cd7f8a055457b288ef101893c252cf0464a28
      2b293a1b
  14. 03 Jul, 2020 1 commit
  15. 29 Jun, 2020 1 commit
  16. 18 Jun, 2020 3 commits
  17. 04 Jun, 2020 1 commit
    • zhanghao's avatar
      Add aggressive negotiation mode for ikepolicy · e6bb1584
      zhanghao authored
      The *swan drivers can support the selection of main or aggressive
      negotiation mode, but vpnaas only supports main mode. When the external
      host establishes a VPN communication with the internal virtual machine in
      the cloud environment, if the external vpn site connection is configured
      in aggressive mode, this will cause communication failure. Therefore, this
      patch adds support for aggressive mode.
      
      Change-Id: Ia3c9db2d151bd7c63c6ab500dbdecfaf07583a6f
      Partial-Bug: #1701413
      e6bb1584
  18. 02 Jun, 2020 1 commit
  19. 27 May, 2020 1 commit
    • gugug's avatar
      Remove translation sections from setup.cfg · 644a19d3
      gugug authored
      These translation sections are not needed anymore, Babel can
      generate translation files without them.
      
      Change-Id: Idbd4f0b3565de74aa40a054ee6e98699422a0095
      644a19d3
  20. 21 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · d18958bf
      Andreas Jaeger authored
      Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
      these versions will allow especially:
      * Linking from HTML to PDF document
      * Allow parallel building of documents
      * Fix some rendering problems
      
      Update Sphinx version as well.
      
      Set openstackdocs_pdf_link to link to PDF file. Note that
      the link to the published document only works on docs.openstack.org
      where the PDF file is placed in the top-level html directory. The
      site-preview places the PDF in a pdf directory.
      
      Disable openstackdocs_auto_name to use 'project' variable as name.
      
      Change pygments_style to 'native' since old theme version always used
      'native' and the theme now respects the setting and using 'sphinx' can
      lead to some strange rendering.
      
      openstackdocstheme renames some variables, so follow the renames
      before the next release removes them. A couple of variables are also
      not needed anymore, remove them.
      
      See also
      http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
      
      Change-Id: Ibeec55164eaa9985b3e9281bc23ecdad232e4fff
      d18958bf
  21. 12 May, 2020 1 commit
  22. 04 May, 2020 2 commits
  23. 03 May, 2020 1 commit
  24. 29 Apr, 2020 1 commit
    • Dongcan Ye's avatar
      Fix unsubscriptable-object error · 3e1828e0
      Dongcan Ye authored
      After astroid upgrade from 2.3.3 to 2.4.0, we hit
      unsubscriptable-object error:
      neutron_vpnaas/db/vpn/vpn_db.py:197:
      E1136: 'ipsec_site_conn_db' is unsubscriptable
      neutron_vpnaas/db/vpn/vpn_db.py:622:
      E1136: Value 'endpoint_group_db' is unsubscriptable
      
      Use db attribute while vpn_models not define _getitem__()
      for getting object values.
      
      Change-Id: If0b83c693eedba5eb11dcda7abe07f51e4539516
      3e1828e0
  25. 24 Apr, 2020 1 commit
    • Sean McGinnis's avatar
      Bump default tox env from py37 to py38 · f1c68ac9
      Sean McGinnis authored
      
      
      Python 3.8 is now our highest level supported python runtime.
      This updates the default tox target environments to swap out
      py37 for py38 to make sure local development testing is
      covering this version.
      
      This does not impact zuul jobs in any way, nor prevent local
      tests against py37. It just changes the default if none is
      explicitly provided.
      
      Change-Id: Ic9f2f0b044a8ab6e6974447dc2d710b3b328bf84
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      f1c68ac9
  26. 22 Apr, 2020 2 commits
  27. 20 Apr, 2020 1 commit
  28. 08 Apr, 2020 2 commits
    • Dongcan Ye's avatar
      Fix invalid escape sequence warning · be935a22
      Dongcan Ye authored
      Python 3 interprets string literals as Unicode strings,
      and therefore '\d' is treated as an escaped Unicode character.
      
      If you’re not using a raw string to express the pattern,
      remember that Python also uses the backslash as an escape sequence in
      string literals; if the escape sequence isn’t recognized by Python’s parser,
      the backslash and subsequent character are included in the resulting string.
      However, if Python would recognize the resulting sequence, the backslash
      should be repeated twice. This is complicated and hard to understand,
      so it’s highly recommended that you use raw strings for all but the
      simplest expressions. [1]
      
      This patch use raw string for the regular expression.
      
      [1] https://docs.python.org/3.6/library/re.html#regular-expression-syntax
      
      Change-Id: Ibee059af3b24896749b66d87a6691fdf40a5767a
      Closes-Bug: #1871621
      be935a22
    • Zuul's avatar
      Merge "Cleanup py27 support" · 358d3520
      Zuul authored
      358d3520
  29. 05 Apr, 2020 1 commit
    • Andreas Jaeger's avatar
      Cleanup py27 support · a64f25f6
      Andreas Jaeger authored
      Make a few cleanups:
      - Remove python 2.7 stanza from setup.py
      - Remove obsolete sections from setup.cfg:
        * Wheel is not needed for python 3 only repo
        * Some other sections are obsolete
      - Update classifiers
      - Update requirements, no need for python_version anymore
      
      Change-Id: I79cf58adf35726999a0791525dd28a7e70de4591
      a64f25f6
  30. 02 Apr, 2020 2 commits