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

[rfc1213] Interface MIB add l3 vlan interfaces & aggregate rif counters #169

Merged
merged 26 commits into from
Dec 8, 2020

Commits on May 15, 2020

  1. [rfc1213] Interface MIB add l3 vlan interfaces

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed May 15, 2020
    Configuration menu
    Copy the full SHA
    f1b5ec1 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. [rfc1213] aggregate rifcounters on top of l2 counters

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed May 21, 2020
    Configuration menu
    Copy the full SHA
    029a992 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. fix issues

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed May 28, 2020
    Configuration menu
    Copy the full SHA
    5d3421f View commit details
    Browse the repository at this point in the history
  2. add unittests

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed May 28, 2020
    Configuration menu
    Copy the full SHA
    f0e4048 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. add mock data

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed May 29, 2020
    Configuration menu
    Copy the full SHA
    2a35053 View commit details
    Browse the repository at this point in the history
  2. cleanup

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed May 29, 2020
    Configuration menu
    Copy the full SHA
    0999b4b View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. lag rif fixes

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    cbf06e3 View commit details
    Browse the repository at this point in the history
  2. add more unittests

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    7c969b7 View commit details
    Browse the repository at this point in the history
  3. update test_mibs.py

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    b5c4632 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2020

  1. Configuration menu
    Copy the full SHA
    20afa18 View commit details
    Browse the repository at this point in the history
  2. fix comments

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 6, 2020
    Configuration menu
    Copy the full SHA
    167ece7 View commit details
    Browse the repository at this point in the history
  3. update namespace/test_mibs.py unittest

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 6, 2020
    Configuration menu
    Copy the full SHA
    9124833 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. [rfc1213] add vlan interface admin_status

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    ed9409f View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. only aggregate errors

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    b141e51 View commit details
    Browse the repository at this point in the history
  2. add vlan subinterface unitttests

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    80935af View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. fix init_sync_d_lag

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    89616da View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. update namespace mib test

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    Mykola Faryma committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    0116f85 View commit details
    Browse the repository at this point in the history
  2. add namespace mock table data

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    root authored and Mykola Faryma committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    5d2110d View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

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

Commits on Oct 9, 2020

  1. Fix exception when RIF counters are not available.

    Fix for the following error in syslog:
    
    Oct  9 10:07:21.427210 mts-sonic-dut ERR snmp#snmp-subagent [ax_interface] ERROR: MIBUpdater.start() caught an unexpected exception during update_data()#012Traceback (most recent call last):sonic-net#12  File "/usr/local/lib/python3.7/dist-packa
    ges/ax_interface/mib.py", line 43, in start#012    self.update_data()sonic-net#12  File "/usr/local/lib/python3.7/dist-packages/sonic_ax_impl/mibs/ietf/rfc1213.py", line 245, in update_data#012    self.update_rif_counters()sonic-net#12  File "/usr/local
    /lib/python3.7/dist-packages/sonic_ax_impl/mibs/ietf/rfc1213.py", line 271, in update_rif_counters#012    for sai_id in rif_sai_ids}sonic-net#12  File "/usr/local/lib/python3.7/dist-packages/sonic_ax_impl/mibs/ietf/rfc1213.py", line 271, in <dic
    tcomp>sonic-net#12    for sai_id in rif_sai_ids}sonic-net#12  File "/usr/local/lib/python3.7/dist-packages/sonic_ax_impl/mibs/__init__.py", line 627, in dbs_get_all#012    ns_result = db_conn.get_all(db_name, _hash, *args, **tmp_kwargs)sonic-net#12  File "/usr/
    local/lib/python3.7/dist-packages/swsssdk/dbconnector.py", line 295, in get_all#012    return self.dbintf.get_all(db_name, _hash, *args, **kwargs)sonic-net#12  File "/usr/local/lib/python3.7/dist-packages/swsssdk/interface.py", line 38, in wrapp
    ed#012    ret_data = f(inst, db_name, *args, **kwargs)sonic-net#12  File "/usr/local/lib/python3.7/dist-packages/swsssdk/interface.py", line 314, in get_all#012    raise UnavailableDataError(message, _hash)#012swsssdk.exceptions.UnavailableDataE
    rror: Key 'b'COUNTERS:oid:0x60000000005d3'' unavailable in database 'COUNTERS_DB'
    
    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    stepanblyschak committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    76fb565 View commit details
    Browse the repository at this point in the history
  2. make rif key unique in multi-asic env

    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    stepanblyschak committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    b22236b View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Merge remote-tracking branch 'origin/master' into rif_vlan_counters

    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    stepanblyschak committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    8a741fb View commit details
    Browse the repository at this point in the history
  2. support multi-asic devices & unit test for multi-asic

    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    stepanblyschak committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    068f530 View commit details
    Browse the repository at this point in the history
  3. merge import lines

    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    stepanblyschak committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    144658f View commit details
    Browse the repository at this point in the history
  4. remove unused report

    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    stepanblyschak committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    196033f View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Merge branch 'master' of github.com:azure/sonic-snmpagent into rif_vl…

    …an_counters
    
    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    stepanblyschak committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    a00e69e View commit details
    Browse the repository at this point in the history