Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R3.2.3.x #762

Open
wants to merge 111 commits into
base: R3.2
Choose a base branch
from
Open

R3.2.3.x #762

wants to merge 111 commits into from

Commits on Jun 7, 2017

  1. Adding R3.2.3.x branch to CI Closes-Bug: 1696310

    Change-Id: I5f22cdb4d021eb6f16ccbcd900fba4cdf63fe4a9
    vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    b8eab37 View commit details
    Browse the repository at this point in the history
  2. change version info

    Change-Id: If61f183236d16a1c10181284e63d42f5d2eee9b0
    vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    6bfa82a View commit details
    Browse the repository at this point in the history
  3. [Config]: Fix VNC openstack

    Change-Id: Id519f13a37d2252255b7c2baa0fe103eeefe8ed4
    Closes-Bug: 1685954
    Closes-Bug: 1685040
    sahilsabharwal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    308b45b View commit details
    Browse the repository at this point in the history
  4. Add BGP Notification Flag support in GR

    https://tools.ietf.org/html/draft-ietf-idr-bgp-gr-notification-10
    
    Attempt GR Helper mode for all received notifications (and hold-timer expiry)
    except HardReset and PeerDeconfigured.
    
    Always send Notifications. NotificationFlag support has been in JUNOS already
    for a while. Older versions of control-node already skips most of the
    notifications received (and triggers GR helper mode)
    
    Also fix a couple of nits found by cpplint
    
    Closes-Bug: 1680047
    Change-Id: Ic0462e9483dda8ee2f6c1be503bf1c120c3d6786
    (cherry picked from commit c45ed8b)
    ananth-at-camphor-networks authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    059b059 View commit details
    Browse the repository at this point in the history
  5. If neutron sends empty body in floatingip-update, vnc_openstack

    receives body without 'resource' key. Simulate one and ensure any
    port association is cleared in such a case.
    
    Change-Id: I7ab14cb45b4896ddd4039f1343178d1984a4ca13
    Closes-Bug: 1685314
    (cherry picked from commit 4a2080d)
    Hampapur Ajay authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    a12133b View commit details
    Browse the repository at this point in the history
  6. Drop new xmpp connection for existing connection with same name

    If the IP address is different, then it implies mis-configuration of
    the xmpp agents. In such cases, drop new connection request and
    retain existing connection intact
    
    Since xmpp tasks run concurrently (across different IP addresses),
    use a XmppConnectionManager scoped mutex to solve concurrency issues
    among such parallel xmpp connection requests processing
    
    Also increase severity of a couple of related log messages
    
    Re-enable and fix few UTs that test this very exact scenario
    
    Closes-Bug: #1687096
    
    Change-Id: Ic7252060abfc4b34fa184ff163afc217a88bb40c
    ananth-at-camphor-networks authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    eec7e2f View commit details
    Browse the repository at this point in the history
  7. Reinitialize total_acl_count for each evaluate

    If all policies are removed from a network, we were not setting
    the acl counts back to 0. We should initialize it to 0 before
    evaluating policies.
    
    Change-Id: Ie1575095ca117346b3deefa7fe7d22e0ed59c492
    Closes-Bug: 1685458
    (cherry picked from commit cb6f312)
    Sachin Bansal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    b23a640 View commit details
    Browse the repository at this point in the history
  8. Address pairs not allowed with no port security

    Config: Address pairs should not be allowed when port security
            is not enabled
    
    Change-Id: I211bd7e89d82633bb6701ddb55d1527633ea246d
    Closes-Bug: 1685030
    sahilsabharwal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    5c8b568 View commit details
    Browse the repository at this point in the history
  9. Call update during create of logical router too, to check/set ref

    to route-target for any configured route-target values.
    
    Change-Id: Ida9bb18c40bf5576fc11c1dcb536b6a3db806f5a
    Closes-Bug: 1687824
    Hampapur Ajay authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    949ab9d View commit details
    Browse the repository at this point in the history
  10. Fix duplicate alarm delete messages

    When a UVE object gets deleted, any alarms associated with that UVE object
    also gets deleted. However, the corresponding UVE key is not removed from the
    alarm table in contrail-alarm-gen, resulting in duplicate alarm delete
    messages being sent continuously.
    
    Change-Id: I598f58687179d82c11f531b337508385098c9036
    Closes-Bug: #1615782
    Sundaresan Rajangam authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    be17fb3 View commit details
    Browse the repository at this point in the history
  11. [ST]: Fixed get_sandhesh_ref_list function

    Change-Id: I3d60d02f230ccc188ebbda58701423d5120024e4
    Closes-Bug: 1685734
    sahilsabharwal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    fc71720 View commit details
    Browse the repository at this point in the history
  12. Send additional fields in VMI UVE

    Send VN UUID, vlan tags and parent interface name in VMI UVE
    Closes-Bug: #1673490
    
    Change-Id: I47597fb83278d4f322e5d7257576381e86a77e2f
    ashoksr authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    5210d09 View commit details
    Browse the repository at this point in the history
  13. The syslog collector has issues with handling syslog messages

    arriving in TCP so taking off the support. The reason being, unlike
    UDP, TCP sockets read multiple syslog messages in one read until
    the buffer gets full. This can toss our parsing code.
    Closes-Bug:#1687475
    
    Change-Id: I87c72e2154e5eecd19657a1de92c6c28b77fcd35
    arvindvis authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    4b460f3 View commit details
    Browse the repository at this point in the history
  14. ECMP load balance is not effective on remote SI compute.

    Problem:
    On SI compute routes are imported from CN with ECMP NH.
    These routes were not notifying change in load balance params if changed.
    
    Solution:
    Notify on change in ecmp hash fields.
    
    Note:
    Any change in hash fields gets applied to new flows. Existing flows continue to
    use same index as computed before.
    
    Closes-bug: #1643842
    
    Conflicts:
    	src/vnsw/agent/controller/controller_route_path.cc
    Change-Id: I0216e12ba90b152c58deaaf67b477876eddfc9e8
    manishsing authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    b14290b View commit details
    Browse the repository at this point in the history
  15. [VNC openstack]: Added description field

    Added description field for neutron objects.
    
    Change-Id: I79969fb1b3b026bb0480d94900de72a9acf8372a
    Closes-Bug: 1686476
    Closes-Bug: 1685940
    sahilsabharwal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    8cdc01c View commit details
    Browse the repository at this point in the history
  16. Fix to raise exception for default SG update

    Updating default SG should not be allowed and should raise
    a 'SecurityGroupCannotUpdateDefault' neutron exception.
    
    We are only checking for this in neutron_plugin_db.py and
    will still allow the update to default SG from vnc_api.
    
    Closes-Bug: 1686496
    
    Change-Id: I7eab47b0047dd2e35ec270572d75d38eac3d90bc
    sahilsabharwal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    32b7c29 View commit details
    Browse the repository at this point in the history
  17. Provide Llgr only support

    o Send GR capability even when configured restart-time is 0
    o Enable GR helper even if received restart-time is 0
    
    Fix a few issues in LLGR
    
    o Process received notification code-subcode correctly and trigger
      GR/LLGR Helper mode accordingly
    o Add UTs to cover most of the scenarios described above
    
    Change-Id: Ibcef9c059408a61e8513b6a9f6e1d015128e6515
    Closes-Bug: 1688133
    ananth-at-camphor-networks authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    b692525 View commit details
    Browse the repository at this point in the history
  18. Fixing introspect bug

    When accessing control-node introspect,
    bgp standard communities does not show up
    that are configured as part of static routes.
    It is seen that extended communities associated
    with static routes override the bgp standard communities
    in introspect.
    Modify method FillRoutePathExtCommunityInfo
    in /opt/stack/contrail/controller/src/bgp/bgp_route.cc
    to avoid overwriting bgp standard communities.
    
    Change-Id: I13f2d2b338a5464afd56ebc558036fea507b2394
    Closes-Bug:1655088
    Albert Khoury Aouad authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    7568bd7 View commit details
    Browse the repository at this point in the history
  19. Fix nework-id and device-id filters management

    * When both filters (network-id and device-id) are used, the
      vnc_openstack has to compare the device-id and the network-id. Both
      have to be present in the vmi_obj refs. The vnc_lib with both refs returns
      a result with an OR logical operation, therefore with the current comparison
      the vnc_openstack returns a result with an AND on both filters.
    * Add a new conditional entry that manages the case if there is only the
      network-id provided in the filters.
    
    Change-Id: I3054345a84caeb892e85a350533e4e600f353665
    Closes-Bug: #1685764
    (cherry picked from commit 8ff6c71)
    bfernando authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    003fae9 View commit details
    Browse the repository at this point in the history
  20. Make BgpPeer buffer size configurable

    Following changes are implemented:
    
    - Use a vector instead of an array for BgpPeer buffer
    - Make the vector capacity configurable via an env variable
    - Add unit tests to exercise the new code
    
    Change-Id: I6490dad8797b23dfb2d65a4681c1e1f663e0dd85
    Closes-Bug: 1687442
    Nischal Sheth authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    4690729 View commit details
    Browse the repository at this point in the history
  21. Making keystone auth params optional

    Made keystone auth params optional so that it works for keystone and no-auth cases.
    
    Change-Id: I83e255d057621d217d305c545285032a85bf2f59
    Closes-Bug: #1677070
    (cherry picked from commit cffa0bc)
    Santosh Gupta authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    d7c97d3 View commit details
    Browse the repository at this point in the history
  22. Add bgp configured and operational peer lists to control node UVE

    These lists do not include BGPaaS peers.
    
    Change-Id: Ie1a359bb5c1b84e6cb93cbbb6e7d0c05b44fd694
    Closes-Bug: 1638065
    Nischal Sheth authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    36ee745 View commit details
    Browse the repository at this point in the history
  23. Fix to catch exception when IP addr already in use

    Change-Id: I490a0919b8ffa8b07c91ee324a10569f7901109c
    Closes-Bug: 1683548
    sahilsabharwal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    d84517d View commit details
    Browse the repository at this point in the history
  24. vrouter-port-control: remove unused imports and PEP8

    Change-Id: I31f4e35d5588a746bd896ee06314f4680454eaf9
    Closes-Bug: #1683672
    (cherry picked from commit 9c182b4e57f78e8be48a7c890fa5ef019db2d223)
    eonpatapon authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    48d4323 View commit details
    Browse the repository at this point in the history
  25. Fix to check port and router tenant id are same

    Added a check to see if router's and (port/subnet)'s tenant ids are
    same at the time of adding an interface to a router.
    
    Closes-Bug: 1686489
    
    Change-Id: Ibc2fe74c6ce56e467aec87698077d145751f64cc
    sahilsabharwal authored and vmahuli committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    3109120 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    669d29b View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ca8118e View commit details
    Browse the repository at this point in the history
  28. Merge "If neutron sends empty body in floatingip-update, vnc_openstac…

    …k receives body without 'resource' key. Simulate one and ensure any port association is cleared in such a case." into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    5b3991f View commit details
    Browse the repository at this point in the history
  29. Merge "Drop new xmpp connection for existing connection with same nam…

    …e" into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    9b143c0 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    894fedd View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    24c9b89 View commit details
    Browse the repository at this point in the history
  32. Merge "Call update during create of logical router too, to check/set …

    …ref to route-target for any configured route-target values." into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    621c520 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d4446ab View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    ae3e8ae View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    d90c181 View commit details
    Browse the repository at this point in the history
  36. Merge "The syslog collector has issues with handling syslog messages …

    …arriving in TCP so taking off the support. The reason being, unlike UDP, TCP sockets read multiple syslog messages in one read until the buffer gets full. This can toss our parsing code. Closes-Bug:#1687475" into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    4266c8c View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    4fcf275 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    4e2ed5e View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    450e5d4 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    7e4d184 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    63a62c0 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    9fbc62d View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    f3535ee View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    a340ec5 View commit details
    Browse the repository at this point in the history
  45. Merge "Add bgp configured and operational peer lists to control node …

    …UVE" into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    9f65c61 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    27395d9 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    1e7bc69 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    09adeb5 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2017

  1. ssl and crypto libraries are need for vizd because new librdkafka

    uses it. In 4.0 these libraries were added as part of securing
    introspect changes, so no build failures seen. But for 3.2 they
    have to be added.
    Closes-Bug:#1695543
    
    Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
    arvindvis authored and vmahuli committed Jun 8, 2017
    Configuration menu
    Copy the full SHA
    47a0525 View commit details
    Browse the repository at this point in the history
  2. Merge "ssl and crypto libraries are need for vizd because new librdka…

    …fka uses it. In 4.0 these libraries were added as part of securing introspect changes, so no build failures seen. But for 3.2 they have to be added. Closes-Bug:#1695543" into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jun 8, 2017
    Configuration menu
    Copy the full SHA
    ba3def3 View commit details
    Browse the repository at this point in the history
  3. Fixed contrail-analytics unavailablity issue

    contrail-svc-monitor uses the uve status if the query
    is succeed to the contrail-analytics. Otherwise it is
    better to continue with last known state of agents and vrouters
    
    Change-Id: I3b4c896a8834f5fef71ff4262dc09dc62cee36bc
    Closes-bug: #1696593
    ymariappan authored and Yuvaraja Mariappan committed Jun 8, 2017
    Configuration menu
    Copy the full SHA
    adf5c2e View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2017

  1. Currently max_reties is set to 30 in cassandra

    ConnectionPool initialization object.
    Which will retry (max_retries) time with the sleep
    of "_BASE_BACKOFF * (2 ** self._retry_count)" seconds
    
    Where _BASE_BACKOFF = 0.01 and self._retry_count can
    reach up to 30(max_retries), during an operation on a
    connection fails due to a TimedOutException or
    UnavailableException
    
    changing the max_reties to 15 so that the max sleep
    time will be approximately 5 minutes before the config
    services are restarted due to DatabaseUnavailableError
    
    Change-Id: Ib96c9e3f9745bcb06fea621e0d7fb52c8ff87f69
    Closes-Bug: 1697252
    (cherry picked from commit e31027f)
    cijohnson committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    35d163a View commit details
    Browse the repository at this point in the history
  2. Ignore errors during flush, similar to the base

    class handle method.
    
    Change-Id: I6b4ba7c20e9b13afa62704fb879e69550c68ad17
    Closes-Bug: 1697548
    (cherry picked from commit 37ba4e9)
    cijohnson committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    9cc6dc1 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2017

  1. Configuration menu
    Copy the full SHA
    fdc0af9 View commit details
    Browse the repository at this point in the history
  2. Update release to 3.2.3.2

    Change-Id: Ifcf3d3c81dccfbda808c2dc747290a05963d4de9
    Karl Klashinsky committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    590e50c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    719f0f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2017

  1. [VNC OpenStack] Admin can set router interface

    Authorize administrative users to set router interface even the router
    does not belongs to the user's project.
    
    Change-Id: Ie9f44b60a9018f67bd62a49b00aef22a6ec77ac7
    Partial-Bug: #1686489
    (cherry picked from commit 3bea664)
    (cherry picked from commit 4b37571)
    Édouard Thuleau authored and Sachin Bansal committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    607a742 View commit details
    Browse the repository at this point in the history
  2. Fix health-check when fat flow enabled on vmi

    Problem:
    Fat flow is enabled on the vm-interface and not on vhost0 interface.
    So, packets from vhost0 result in non-fat flow and packets from
    vm-interface result in fat-flow.
    
    Health Check assumes that flows are always initiated from vhost0
    interface. So, flows created due to packets from vm-interface do not
    have NAT translation based on health-check rules. As a result, packets
    from vm-interface are going to host-os
    
    Solution:
    
    1. Health-Check status is ACTIVE
    When fat-flow is enabled, the fat-flow created due to packet from
    vm-interface will also apply health-check rules and create appropriated
    NAT-ed reverse flow.
    
    2. Health-Check status is INACTIVE
    When health-check status is INACTIVE, the routes for IP address on
    vm-interface are also withdrawn. So, flows cannot be setup for packets
    from vm-interface.
    As a solution, we disable fat-flow on the vm-interface when health-check
    status is INACTIVE. As a result, packets from vm-interface will match
    flows created due to request and health-check session will succeed.
    
    Conflicts:
    	src/vnsw/agent/pkt/test/SConscript
    
    Change-Id: I7766cbd9bbc25e1f740148c35ed7e115a4fd7d95
    Closes-Bug: #1676721
    praveenkv authored and haripk committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    7481eb4 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2017

  1. Configuration menu
    Copy the full SHA
    8b2f9f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2017

  1. Always generate the global options in named config.

    If contrail-dns doesnt generate global options and named reads the
    config file in the time between contrail-dns generation and script
    update, it woulnt listen on port 8094.
    
    Change-Id: Iabb6203bbde1d900b7f20bbe2330373e001ff300
    closes-bug: #1694927
    (cherry picked from commit 7ee4969)
    haripk committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    e729f46 View commit details
    Browse the repository at this point in the history
  2. Enable flow setup when BGPaaS is configured on VMI with policy disabled

    Agent oper tables point the GW and DNS routes to pkt0 using NH with policy
    enabled. However, this is not being updated in vrouter due to an additional
    check in ksync. Removing the same so that traffic sent to pkt0 will always
    have flows setup.
    
    Change-Id: Icf3fb0be8bda3f8d482db3ecc7356a20d43a18cd
    closes-bug: #1636574
    haripk committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    4e876d7 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2017

  1. Merge "Enable flow setup when BGPaaS is configured on VMI with policy…

    … disabled" into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jun 22, 2017
    Configuration menu
    Copy the full SHA
    d30fdaf View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2017

  1. If IPAM DNS mode is set to none, consider it as default DNS mode.

    Change-Id: Ia60c141ccdaabef814cc97ccb28be3db7bb6e969
    closes-bug: #1699983
    haripk committed Jun 23, 2017
    Configuration menu
    Copy the full SHA
    4f69b38 View commit details
    Browse the repository at this point in the history
  2. gw_ip and dns_server_address were stored lower case in api database

    when request comes for the update where user has entered uppercase
    gw_ip or dns_server_address, string compare would fail, causing
    network_update to fail. Modify the validate check to compare lower case
    strings.
    Closes-Bug: #1667155
    
    Change-Id: Iae6d0eb2621fc4d960beb0c643f3877a0452dfd1
    moghea committed Jun 23, 2017
    Configuration menu
    Copy the full SHA
    a3cec14 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2017

  1. Handle NULL AsPaths during remove-private processing

    Change-Id: Ief5a66f266bd6accb7d99e0d06633bf98445e4f7
    Closes-Bug: 1697530
    (cherry picked from commit cc5e1b9)
    Nischal Sheth committed Jun 26, 2017
    Configuration menu
    Copy the full SHA
    89da0f6 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2017

  1. Fix messages for contrail exceptions

    _() was wrongly used for contrail exception messages in neutron_plugin_db.
    It is not imported nor the translations are available, so it was raising
    different exception without meaningful message.
    
    Change-Id: I07a20c66980deda0b053beaa691d9ea8e4c75d9b
    Partial-Bug: #1700622
    pjediny committed Jun 27, 2017
    Configuration menu
    Copy the full SHA
    6a73386 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2017

  1. Fix ZooDelete in zookeeper client

    Fix ZooDelete in zookeeper client to retry recoverable errors
    
    Closes-Bug #1692453
    
    Change-Id: If9a9d10d8675acd181aeb2f8436c1aa944cbb13f
    (cherry picked from commit 97b9d19)
    Megh Bhatt authored and Sundaresan Rajangam committed Jun 28, 2017
    Configuration menu
    Copy the full SHA
    079d4ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95e4001 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb0e9ac View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2017

  1. Configuration menu
    Copy the full SHA
    61ce426 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2017

  1. update version.info

    Change-Id: Ia9abb2540ebbf32d3e9e142a9ebfd7f54269628a
    vmahuli committed Jul 3, 2017
    Configuration menu
    Copy the full SHA
    8378c5a View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2017

  1. Disable opserver:test temporarily from running in CI

    Change-Id: I0453a360b2f2708b1e48a93e35ddc4d241bf89db
    Closes-Bug: #1708239
    Megh Bhatt committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    7933bca View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2017

  1. Backport cql_if changes needed for newer version of libcassandra

    This fix adds a new API cass_value_is_null to our CQL library so
    that we can check if a value is null or not before trying to decode
    the datatype and readh the column value.
    
    Re-enable opserver:test
    
    Closes-Bug: #1699934
    
    Conflicts:
    	src/database/cassandra/cql/cql_if.cc
    	src/database/cassandra/cql/cql_lib_if.h
    
    (cherry picked from commit 5b2442c)
    (cherry picked from commit 1f6331a)
    
    Change-Id: I884f4c275c7cb92b19884d4cc4d45f9cd3a2c8d4
    arvindvis authored and Megh Bhatt committed Aug 3, 2017
    Configuration menu
    Copy the full SHA
    1dcb361 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2017

  1. * Read reverse flow entry after acquiring the lock

    In case of short lived TCP session using same 5 tuple we might
    end up accesssing a reverse flow entry which might be already deleted
    and present in free list. Below set of events lead to this issue
    
    1. F1 and R1 flow are added to flow table
    2. R1 is written to vrouter
    3. F1 is written to vrouter
    4. R1 flow add response is received, triggering update of
       F1(not needed now as reverse flow index is not written to
       kernel?)
    5. In the meantime flow is evicted in vrouter, hence flow
       update for F1 would result in error from vrouter resulting in short flow
    6. Since F1 is shortflow Flow delete gets enqueued
    7. Since R1 is evict marked, flow evict gets enqueued
    8. Both event F1 and R1 delete and evict event can run in
       parallel,and hence reverse flow pointer obtained before FLOW
       lock could be invalid, hence read back the same
    
    Was able to simulate the same in UT, UT is disabled as it need some
    instrumentation to run it to hit the issue
    
    Change-Id: I368f465f9d446b43dfe0e4baa547d8c8cbfd6840
    Closes-bug: #1714371
    naveen-n committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    bba3d9c View commit details
    Browse the repository at this point in the history
  2. Add new libraries to be linked to the collector

    the new librdkafka requires collector to be
    linked against these new libraries.
    Closes-Bug:#1711833
    
    Change-Id: Ie4f6e06372be6292a9834795409a09d7aea02990
    arvindvis committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    207fec1 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2017

  1. Fix subnet re-creation

    Avoid using old cached subnet when re-creating subnet with same
    CIDR but different gateway setting.
    
    Change-Id: I51b25c946b75a72fb0139e9250f319389588b380
    Closes-Bug: #1722837
    pjediny committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    dae4afd View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2017

  1. Allow filter ports by mac_address

    This change allows filter port list by mac_address field.
    
    Closes-Bug: 1718447
    
    Change-Id: If2425f8553701440eb4fedd0b391268752b237ed
    (cherry picked from commit e437fde)
    Andrey Shestakov authored and jumpojoy committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    fa5e0dd View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2017

  1. Configuration menu
    Copy the full SHA
    b4115de View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2017

  1. Allow to update vnic_type when port is not bound

    Updating vnic type is legal procedure, and is used by Ironic. This patch
    allows to update vnic type when port is not bound (doesn't have
    references to VM or Vrouter)
    
    Closes-Bug: 1719268
    
    Change-Id: Ic7b6a7232316c698b2f8521a9b3d46fb755d4e3d
    (cherry picked from commit 3ef7d84)
    Andrey Shestakov authored and jumpojoy committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    84e20ac View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2017

  1. Adding timestamp to UVE structs when they are aggregated and evaluate…

    …d in alarmgen.
    
    Closes-Bug: #1697745
    
    Change-Id: I1861c2415f05f0cd71d52172f422afff15abc821
    
    Conflicts:
    	src/opserver/alarmgen.py
    
    Change-Id: I1861c2415f05f0cd71d52172f422afff15abc821
    
    Conflicts:
    	src/opserver/alarmgen.py
    Change-Id: I1861c2415f05f0cd71d52172f422afff15abc821
    anishmehta authored and Anish Mehta committed Nov 12, 2017
    Configuration menu
    Copy the full SHA
    ed6264e View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2017

  1. Do not re-evaluate backrefs for ksync flow entries

    The backref entries are updated in DB and ksync tasks, which are mutually
    exclusive. The flow event task was accessing the same and it doesnt actually
    require. Avoiding backref reevaluation.
    
    Change-Id: I8cb9b92196626ea219f7f9e1055e2579c62c7c86
    closes-bug: #1726709
    (cherry picked from commit ef13c6b)
    haripk committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    158da92 View commit details
    Browse the repository at this point in the history
  2. Add task exclusion between agent profile & sandesh tasks

    Agent Profile task is updating maps in the profile data (like
    profile_stats_table_) while sandesh is fetching the same and iterating them,
    resulting in crash.
    
    Change-Id: I0503035340fd505610e8114f5341c5289ecdda12
    closes-bug: #1719840
    (cherry picked from commit 540592c)
    haripk committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    aa81a95 View commit details
    Browse the repository at this point in the history
  3. * Initialize flow entry variable in pkt flow info.

    Flow index passed in ECMP resolve trap could be -1 resulting in no
    flow entry being present in agent. In such case agent was accessing a
    invalid flow pointer, initializing the same.
    
    Change-Id: I559b6be8f75bae87442517e6edab00868742e397
    Closes-bug: #1717507
    (cherry picked from commit da656c5)
    (cherry picked from commit 45e8e93)
    naveen-n authored and haripk committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    f3b3049 View commit details
    Browse the repository at this point in the history
  4. Add NULL check

    A flow is marked as reverse flow and its forward flow is NULL. Recompute flow
    is accessing this forward flow causing the crash. Updating to ignore this case.
    
    Change-Id: I08ac5beb3cc6b1879d8679d7a582ecf1eedb2286
    closes-bug: #1719857
    (cherry picked from commit 41779f4)
    haripk committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    57287c5 View commit details
    Browse the repository at this point in the history
  5. * Increase no. of free requests processed in flow queue

    Flow addition and deletion to flow table happens in same task context,
    addition happens in flow_event work queue and deletion from flow tree
    and freeing of flow entry happens in tokenless_queue. For every flow
    add message processed we would have 2 flow entry created, hence free
    queue should process twice the no. of entries so as to relinquish
    free entries inline with flow addition rate.
    
    Change-Id: Ic99ced407594dec50b998d80e8e52b08876783f3
    Closes-bug: #1728316
    (cherry picked from commit 2030642)
    naveen-n authored and haripk committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    0405014 View commit details
    Browse the repository at this point in the history
  6. Take only the v4 address for service health check IP.

    When we have dual interfaces, v4 and v6 service health check addresses are
    created and sent to agent. Agent oper data has only one service health check
    address, which is a problem. Updating to use only the v4 address. Need to add
    support for v6 health check separately.
    
    Change-Id: Ia5c1973c500d1e6d5d89ca83c3a48b8d94c0e579
    closes-bug: #1692283
    (cherry picked from commit 93d5d4e)
    haripk committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    243d629 View commit details
    Browse the repository at this point in the history
  7. Fix port-update API to support mac-address update

    If mac address of a port is chnaged via port-update API,
    it is ignored. This fix handles the updating of the mac
    address. Also, it ensures that the same mac address
    does not exixt on any other port in the same virtual
    network.
    
    Change-Id: Iec9290e0bc4485f2d59c38b223ddc458679aa1f4
    Closes-Bug: 1682672
    Partial-Bug: 1683547
    (cherry picked from commit 3905546)
    Sukhdev Kapur authored and jumpojoy committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    692d9e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2017

  1. Configuration menu
    Copy the full SHA
    8c974f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f42cd55 View commit details
    Browse the repository at this point in the history
  3. Merge "Add NULL check" into R3.2.3.x

    Zuul authored and opencontrail-ci-admin committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    8b706ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8182172 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a69a12 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c9fca5d View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. Configuration menu
    Copy the full SHA
    8b55508 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2017

  1. Merge "Adding timestamp to UVE structs when they are aggregated and e…

    …valuated in alarmgen. Closes-Bug: #1697745" into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    08300ee View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2018

  1. Fix route target delete ordering

    Change-Id: I0c7821695cccffb60496a55b6e7af4a27ebfe5e2
    Closes-Bug: #1747427
    pjediny committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    97cc90b View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2018

  1. Allow port security to be disabled if aap is present, but empty

    Change-Id: I9fa3f3f494ec2769cc03ec88987aa68903643999
    Closes-Bug: #1735409
    (cherry picked from commit ccdaf51)
    (cherry picked from commit a6dfe12)
    Sachin Bansal authored and pjediny committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    5e7be3a View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Disable port security on SNAT router_interface

    Change-Id: I6994be634e5b136d9ad78cb8a452bf81310cbf55
    Closes-Bug: #1750795
    pjediny committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    0d5b276 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2018

  1. Remove gdb pretty printer for agent.

    Change-Id: Iebe0617e40a862d144c4d80cdc0d7d16970ac567
    Closes-Bug: #1765599
    krharsh committed Apr 20, 2018
    Configuration menu
    Copy the full SHA
    64aa2d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2018

  1. Replace tbb::task::spawn() by tbb::task::enqueue() and also support f…

    …or task monitoring
    
    Replace tbb::task::spawn() by tbb::task::enqueue(). enqueue() is more
    appropriate call since task library just fires the task without calling
    spawn_root_and_wait()
    
    Also, introduced a TaskMonitor class which monitors number of tasks
    enqueued to scheduler and number of tasks spawned by TBB. If the monitor
    finds tasks are enqueued but not scheduled for a configured time, it
    will exit the program.
    
    Conflicts:
    	src/base/task.cc
    	src/base/task.h
    	src/vnsw/agent/cmn/agent.cc
    	src/vnsw/agent/contrail-vrouter-agent.conf
    	src/vnsw/agent/init/agent_param.cc
    
    Change-Id: Ia68d52f4aba0e79a3fe75f8c4fc248d49ab94faf
    Closes-Bug: #1684993
    (cherry picked from commit a2eb064)
    praveenkv authored and Sangarshan committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    ac4e397 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2018

  1. flow logging task can free the flow entry from flow table free list

     at present concurrency check is in place not to allow any task
     other than flow event task to free teh flow entry from free list.
     it is possible that flow log entry can be processed even after flow entry
     gets deleted ( log work queue entry holds flow entry pointer,
     so entry won't be freed until log queue entry gets processed)
     after processing log queue entry flow entry ref count becomes zero and
     it will freed up under flow logging task.
    
     added a check to allow only flow logging task and flow event task
     to free up the flow entry from flow table free list.
    
    Closes-Bug: #1779841
    
    Change-Id: I9ee65f27c2a56869b99919745b5bd3ef6dbb7092
    Sangarshan committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    99d18a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2018

  1. Check Gen id for processing recompute events for flows

    it is possible that enqueued forward flow become reverse flow when
    flows get evicted from vrouter and traffic is received for reverse flow,
    
    made changes to pass gen_id also when flow is enquwqued for recompute
    and when it gets processed for recompute , check whether gen id present
    in the event and gen id of flow matches, if it does not match,
    ignore the event.
    
    Change-Id: Ib647a157ecd852a3520a90ffba5f392ae3b33e1e
    Closes-Bug: #1768322
    (cherry picked from commit e5df8e0)
    Sangarshan committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    c065431 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2018

  1. Merge "flow logging task can free the flow entry from flow table free…

    … list" into R3.2.3.x
    Zuul authored and opencontrail-ci-admin committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    6af7eff View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2018

  1. Increase the task monitor timeout

    In the crash seen in this bug, task monitor asserts although the task
    activity seems to be going fine. Agent in not in gdb, no system time
    change is seen (even if server is healvily loaded this should not be
    seen). As no other task monitor bug is seen, increasing the timeout
    to 20s.
    
    Change-Id: Iceb277c2b25c3041175c158efa3cb1c4bbbf91d3
    partial-bug: #1714744
    (cherry picked from commit 28a0fa2)
    haripk authored and Sangarshan committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    233a7f2 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2018

  1. Configuration menu
    Copy the full SHA
    ce51242 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2018

  1. Configuration menu
    Copy the full SHA
    27b9b4a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2018

  1. Fix build with newer TBB

    Partial-Bug: #1603881
    Change-Id: Iefe4d410cbf5cfda21510d44b6cafac8bd31c33f
    (cherry picked from commit db50e81)
    fpytloun authored and Sangarshan committed Aug 28, 2018
    Configuration menu
    Copy the full SHA
    555d999 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2018

  1. Do not insert already sleeping tbb task back into sleeping list

    During testing, it was found that tbb sleeping threads singly linked
    list was corrupted and had become circular. This seemingly caused
    my_slack count to get permanently stuck at -1, as the sleeping list
    traversal would potentially never end.
    
    During testing, using a specific assert, it was confirmed that duplicate
    insertion did happen.
    
    Fixed it by modifying the sleeing threads singly linked list into a
    doubly linked list and then making sure that a thread if already in
    the list is never prepended back as the head of the list.
    
    oneapi-src/oneTBB#86
    
    Change-Id: I3375b8be324245c329a9bd3a1f001a38576f617d
    Closes-Bug: #1684993
    ananth-at-camphor-networks authored and vmahuli committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    5095a90 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2018

  1. Revert "Fix port-update API to support mac-address update"

    This reverts commit 692d9e4
    
    Change-Id: Id985be27253dd0aca929b4f75bc1a0ff292bc3f5
    Closes-bug: #1683547
    jebap authored and vmahuli committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    bcc20bc View commit details
    Browse the repository at this point in the history
  2. For scaled config schema re-init is taking time more than 2min withou…

    …t yeilding
    
    due to which zookeeper/RabbitMQ is timing out. This change yields schema such
    that it yields only if schema is runnning continuously half of zookeeper timeout
    value. Also correcting zookeeper client timeout to 120sec to be insync with
    zookeeper server timeout value.
    
    Change-Id: Ibe2778191c73832a704474c1803fdbcead81426a
    Closes-Bug: #1769728
    Shivayogi123 committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    26ff2b4 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2018

  1. Protect against invalid ICMP, IGMP and ICMPv6 pkts.

    In customer setup an ICMPv6 pkt was received with IPv4 header leading to crash.
    Was able to repro the issue with UT test case added.
    
    Change-Id: Id3c6c3c437ef068685dda0e9114806f5b2453955
    Closes-Bug: #1792057
    anandrao79 committed Nov 10, 2018
    Configuration menu
    Copy the full SHA
    1125ad7 View commit details
    Browse the repository at this point in the history