Skip to content
Snippets Groups Projects
  1. Nov 25, 2024
  2. Oct 07, 2024
  3. Sep 08, 2024
  4. Sep 01, 2024
  5. Jul 31, 2024
    • Markus Gothe's avatar
      net-snmp: Add pipe_cmd() · 510e31b8
      Markus Gothe authored
      Remove references to deprecated 'questd'.
      510e31b8
    • Lwithwma Brahma's avatar
      R#29252 IPTV Multicast transport stream analysis · e201831f
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Adds iptables-mod-mpeg2ts package.
      
      Change-Id: I7256fa201534cfe5176cb8c6130895ac438236a2
      e201831f
    • Markus Gothe's avatar
      net-snmp: Use portorder.sh · b26c2c71
      Markus Gothe authored
      b26c2c71
    • Markus Gothe's avatar
      net-snmp: Fixes for GenXOS 12 · a51b893c
      Markus Gothe authored
      Change-Id: Ie6154caddf47d627e040da99f2de184b4c536330
      a51b893c
    • Erik Karlsson's avatar
      RM#34349 - Merge iopsys-6.4.0BETA2 · 8c7b01c0
      Erik Karlsson authored and Markus Gothe's avatar Markus Gothe committed
      Do not use hw.board.ethernetPorts for SNMP as this option has been
      deprecated. Count the ports in hw.board.ethernetPortOrder instead. Add
      checks to avoid overflowing g_port_map or port_name in case
      hw.board.ethernetPortOrder would contain too many ports or too long
      port names.
      
      Change-Id: I471f8a0f8f35ff79ea0740c01ef54b1bc04cb3c4
      8c7b01c0
    • Mohd Husaam Mehdi's avatar
      Remove ports UCI usage from SNMP · ea09bd7e
      Mohd Husaam Mehdi authored and Markus Gothe's avatar Markus Gothe committed
      Modify BRIDGE-MIB module to use db instead.
      
      Change-Id: Ie7e81e3ede9fe39b56eff0ade1ff4262ba957e12
      ea09bd7e
    • Lwithwma Brahma's avatar
      R#36035 SNMP : ifPhysAddress returns wrong format data · f0ee1269
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Fix issue of ifPhysAddress wrong format data, base on RFC1213 : type of PhysAddress is OCTET string
      
      Testing:
      root@D_wan_136_1:~# snmpwalk -v 2c -c public 192.168.1.1 .1.3.6.1.2.1.2.2.1.6
      iso.3.6.1.2.1.2.2.1.6.1 = Hex-STRING: 02 10 18 01 BB 02
      iso.3.6.1.2.1.2.2.1.6.2 = Hex-STRING: 02 10 18 01 BB 02
      iso.3.6.1.2.1.2.2.1.6.3 = Hex-STRING: 02 10 18 01 BB 02
      iso.3.6.1.2.1.2.2.1.6.4 = Hex-STRING: 02 10 18 01 BB 02
      iso.3.6.1.2.1.2.2.1.6.5 = ""
      iso.3.6.1.2.1.2.2.1.6.6 = Hex-STRING: 02 10 18 01 BB 03
      
      Change-Id: I189d86a0ed4707cfab08fd7f00c6184aae6ab7d6
      f0ee1269
    • Pragati Pandey's avatar
      R#38802 - Failed to upgrade image using tftp via SNMP on XGX-L3 device · 6a0964ad
      Pragati Pandey authored and Markus Gothe's avatar Markus Gothe committed
      No of retries have been increased to ensure that download through
      tftp works
      
      Change-Id: I07556dd691aa204fedd827e413d15f288d32f527
      6a0964ad
    • Lwithwma Brahma's avatar
      R#31984 - SNMP upgrade via TFTP is not working · 9393be88
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Changed the rule of firewall to allow TFTP traffic before downloding the image and delete rule after download is complete.
      
      Test:
      -SNMP upgrade image via TFTP
      -Image upgrade using autotest 'pure/snmp/SnmpUpgrade.py'
      
      Change-Id: Iaeab1461087f5bd4fbbd9726cc9398f9a979c458
      9393be88
    • Surya  Pratap  Singh's avatar
      R#44670 - SNMP: snmpwalk of .1 abruptly terminates with genError after... · 3b2c6bf0
      Surya Pratap Singh authored and Markus Gothe's avatar Markus Gothe committed
      R#44670 - SNMP: snmpwalk of .1 abruptly terminates with genError after GENEXIS-INFO-MIB for products without CATV
      
      Fixed issue of snmpwalk failure if catv module is not present
      
      Change-Id: Ib063a30cab9eefc27fbe591ba29467cb2fe82150
      3b2c6bf0
    • Surya  Pratap  Singh's avatar
      R#44710 - SNMP: snmpwalk does not work if sysObjectID is not present · 0dca0685
      Surya Pratap Singh authored and Markus Gothe's avatar Markus Gothe committed
      Fixed snmpwalk error if sysObjectID is not present or
      system interface in snmpd config not present
      
      Change-Id: I42dad87b6f1fde6efb4a096fbe9960f7b459b65c
      0dca0685
    • Lwithwma Brahma's avatar
      R#42670 SNMP: 1.3.6.1.2.1.1.2.0 = (SysOID) · 7b1169af
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      OID 1.3.6.1.2.1.1.2.0  points to iso.3.6.1.4.1.25167.5.3.1.1.1.0
      
      Test Result:
      snmpget -v 2c -c public 172.25.115.100 iso.3.6.1.2.1.1.2.0
      iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.25167.5.3.1.1.1.0
      
      Related task:
      https://gerrit.genexislocal.nl:8443/c/feed_genexis_config/+/12380
      
      Change-Id: Idb5e3649e0e29237623a9ed241a1f5f3e08d3e44
      7b1169af
    • Mohd Husaam Mehdi's avatar
      R#33559 SNMP: Control LAN port ON/OFF status via MIB · 874f3404
      Mohd Husaam Mehdi authored and Markus Gothe's avatar Markus Gothe committed
      Adds logic to support setting ifAdminStatus to control port via SNMP.
      
      Change-Id: I2ebb89526c72f415147511d267db294c34dc2bfb
      874f3404
    • Lwithwma Brahma's avatar
      R#40312 Support for objects in system mib · b2521630
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Following system object types are implemented:
      	-sysDescr
      	-sysName
      	-sysLocation
      	-sysContact
      
      Change-Id: I45435071a0276df636b174a194ebda4fd65e4e87
      b2521630
    • Lwithwma Brahma's avatar
      R#36053 Add SNMP helper/utility function implementation for setting uci values · d601f79b
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Add new api to set option value of uci file.
      
      Change-Id: I9adb5f3dd7512f9874454fa88a69ec50a2124bbf
      d601f79b
    • Mohd Husaam Mehdi's avatar
      R38672 GENEXIS-INFO-MIB translation for productInfo is not working in SNMP · 8de64e23
      Mohd Husaam Mehdi authored and Markus Gothe's avatar Markus Gothe committed
      Changes productInfo objects OID from 3 to 1, so that translation is correct.
      
      Change-Id: I24918dbe61afb984eb17258e807177805687fb86
      8de64e23
    • Pragati Pandey's avatar
      R#35906 SNMP Extensions products · 1f4262b6
      Pragati Pandey authored and Markus Gothe's avatar Markus Gothe committed
      New snmp extensions have been created for product name, product serial no,
      firmware version and mac addressi
      
      Testing results:
      
      snmpwalk -v 2c -c public 172.25.115.102 1.3.6.1.4.1.25167.5.3
      iso.3.6.1.4.1.25167.5.3.1.1.1.0 = STRING: "FT-P3410B"
      iso.3.6.1.4.1.25167.5.3.1.1.2.0 = STRING: "W.4320270023"
      iso.3.6.1.4.1.25167.5.3.1.1.3.0 = STRING: "GenXOS-panther-GNXL2-genxos-11.4.0-N211205"
      iso.3.6.1.4.1.25167.5.3.1.1.4.0 = STRING: "34:e3:80:cb:84:90"
      iso.3.6.1.4.1.25167.5.3.1.2.1.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.3.1.2.4.0 = INTEGER: 1
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.1.0
      iso.3.6.1.4.1.25167.5.3.1.1.1.0 = STRING: "FT-P3410B"
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.2.0
      iso.3.6.1.4.1.25167.5.3.1.1.2.0 = STRING: "W.4320270023"
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.3.0
      iso.3.6.1.4.1.25167.5.3.1.1.3.0 = STRING: "GenXOS-panther-GNXL2-genxos-11.4.0-N211205"
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.4.0
      iso.3.6.1.4.1.25167.5.3.1.1.4.0 = STRING: "34:e3:80:cb:84:90"
      
      Change-Id: Ic7de2b5389929e2e1e539bb6bd615a4e4a7daf5c
      1f4262b6
    • Mohd Husaam Mehdi's avatar
      R38672 GENEXIS-INFO-MIB translation for productInfo is not working in SNMP · 9ed825d5
      Mohd Husaam Mehdi authored and Markus Gothe's avatar Markus Gothe committed
      Changes productInfo objects OID from 3 to 1, so that translation is correct.
      
      Change-Id: I24918dbe61afb984eb17258e807177805687fb86
      9ed825d5
    • Pragati Pandey's avatar
      R#35906 SNMP Extensions products · cef50205
      Pragati Pandey authored and Markus Gothe's avatar Markus Gothe committed
      New snmp extensions have been created for product name, product serial no,
      firmware version and mac addressi
      
      Testing results:
      
      snmpwalk -v 2c -c public 172.25.115.102 1.3.6.1.4.1.25167.5.3
      iso.3.6.1.4.1.25167.5.3.1.1.1.0 = STRING: "FT-P3410B"
      iso.3.6.1.4.1.25167.5.3.1.1.2.0 = STRING: "W.4320270023"
      iso.3.6.1.4.1.25167.5.3.1.1.3.0 = STRING: "GenXOS-panther-GNXL2-genxos-11.4.0-N211205"
      iso.3.6.1.4.1.25167.5.3.1.1.4.0 = STRING: "34:e3:80:cb:84:90"
      iso.3.6.1.4.1.25167.5.3.1.2.1.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.3.1.2.4.0 = INTEGER: 1
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.1.0
      iso.3.6.1.4.1.25167.5.3.1.1.1.0 = STRING: "FT-P3410B"
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.2.0
      iso.3.6.1.4.1.25167.5.3.1.1.2.0 = STRING: "W.4320270023"
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.3.0
      iso.3.6.1.4.1.25167.5.3.1.1.3.0 = STRING: "GenXOS-panther-GNXL2-genxos-11.4.0-N211205"
      root@D_wan_115_1:~# snmpget -v 2c -c public 172.25.115.102 iso.3.6.1.4.1.25167.5.3.1.1.4.0
      iso.3.6.1.4.1.25167.5.3.1.1.4.0 = STRING: "34:e3:80:cb:84:90"
      
      Change-Id: Ic7de2b5389929e2e1e539bb6bd615a4e4a7daf5c
      cef50205
    • Lwithwma Brahma's avatar
      R#33946 SNMP Extentions CATV · e1bde250
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Added SNMP Extention of CATV module
      
      Test:
      >1. For catv102, when at catv uci, catv=1 and agc=1
      
      root@D_wan_136_1:~# snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.4.1.25167.5.6.1
      iso.3.6.1.4.1.25167.5.6.1.1.3.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.1.4.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.1.11.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.1.12.0 = INTEGER: 3
      iso.3.6.1.4.1.25167.5.6.1.2.1.0 = INTEGER: 0
      iso.3.6.1.4.1.25167.5.6.1.2.2.0 = INTEGER: 0
      
      >2. For catv103, when at catv uci, catv=1 and agc=1
      
      root@D_wan_136_1:~# snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.4.1.25167.5.6.1
      iso.3.6.1.4.1.25167.5.6.1.1.3.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.1.4.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.1.11.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.1.12.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.2.1.0 = INTEGER: -124
      iso.3.6.1.4.1.25167.5.6.1.2.2.0 = INTEGER: 730
      
      >3. With invalid catv module name, when at catv uci, catv=0 and agc=1
      
      root@D_wan_136_1:~# snmpwalk -v 2c -c public 192.168.1.1 1.3.6.1.4.1.25167.5.6.1
      iso.3.6.1.4.1.25167.5.6.1.1.3.0 = INTEGER: 2
      iso.3.6.1.4.1.25167.5.6.1.1.4.0 = INTEGER: 3
      iso.3.6.1.4.1.25167.5.6.1.1.11.0 = INTEGER: 1
      iso.3.6.1.4.1.25167.5.6.1.1.12.0 = INTEGER: 3
      iso.3.6.1.4.1.25167.5.6.1.2.1.0 = INTEGER: 0
      iso.3.6.1.4.1.25167.5.6.1.2.2.0 = INTEGER: 0
      
      >4. snmpget and snmpset was also tested.
      
      Change-Id: I6f79d2eb69639a51bce4e6d15dc0d554318e3fec
      e1bde250
    • Lwithwma Brahma's avatar
      R#38875 Some SNMP variables are unknown to snmpd · 4af01695
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Included the "agent" and "agent/extend" SNMP Mib modules to recognize
      variable exec and extend respectively.
      
      For system variables, since our implementation in "system_mib.c" doesn't read/write
      variable from snmpd.conf and directly deals with only ubus call, the
      copying of system section from snmpd uci to snmpd.conf is removed to
      avoid the warning.
      
      Change-Id: I2aee4817170c524ad7ba52a2d01c7b11f541f0b7
      4af01695
    • Mohd Husaam Mehdi's avatar
      Remove ports UCI dependancy from SNMP · e805e0b0
      Mohd Husaam Mehdi authored and Markus Gothe's avatar Markus Gothe committed
      * Use db instead to determine if a port is EXT port.
      * Move the logic to init function to reduce repeated calling.
      
      Change-Id: Ie96eea7f3882d16c2b4df5a53edbe15e4f4a0b68
      e805e0b0
    • Surya  Pratap  Singh's avatar
      R#42956 - SNMP: support for ifHighSpeed in XGX · 0628df7f
      Surya Pratap Singh authored and Markus Gothe's avatar Markus Gothe committed
      Added support for ifHighSpeed and made changes in ifSpeeed
      in case of overflow to set the max value of ifSpeed
      
      Change-Id: I4cc5a4192823f48c410cb052b7c9bb5869444579
      0628df7f
    • Lwithwma Brahma's avatar
      R#33949 SNMP: 64 bit counters instead of 32 bit for all interfaces · 0f7ed024
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Added following 64 bit counters:
              ifHCInOctets(6)
              ifHCInUcastPkts(7)
              ifHCInMulticastPkts(8)
              ifHCOutOctets(10)
              ifHCOutUcastPkts(11)
              ifHCOutMulticastPkts(12)
      
      Related patch:
      https://gerrit.genexislocal.nl:8443/c/feed_inteno_packages/+/9988
      
      Change-Id: I8bd5390e5cd63a1b65a9b09eee471394b58b072c
      0f7ed024
    • George Yang's avatar
      Fix #36043 - SNMP : IF-MIB::ifLastChange is not updated accordingly · 218a2572
      George Yang authored and Markus Gothe's avatar Markus Gothe committed
      Change-Id: I7e1a7e3f80df98a5e6869ae8456dcf72d5a163e3
      218a2572
    • Lwithwma Brahma's avatar
      R#36101 Periodic SNMP Polling timesout · 334a9326
      Lwithwma Brahma authored and Markus Gothe's avatar Markus Gothe committed
      Fix the issue of periodic snmp polling timeout.
      
      Change-Id: I277866c6cb2cb9ec78f5aa837c1f34c39d2661f7
      334a9326
    • Mohd Husaam Mehdi's avatar
      R#33045 Merge SNMP Fix For EXT/LAN5 To GNX-11 · a346be84
      Mohd Husaam Mehdi authored and Markus Gothe's avatar Markus Gothe committed
      Merge commit : cd2778a4c9cb30210d1823ff90d2f50fbc8f3b28
      to GNX-11.
      
      Cherry-picked and tested on GNX-11.
      
      Change-Id: I9693b06a2942c9920efcb8a52ef56d2a5846eb60
      a346be84
    • Mohd Husaam Mehdi's avatar
      R#32909 Merge commit : 6d76992536eddbcb2c9fdd9053dad9f40f58c70e · af8b1116
      Mohd Husaam Mehdi authored and Markus Gothe's avatar Markus Gothe committed
      Merge from genexis-10 to genexis-11.
      Added support for rx and tx multicast packet counters.
      Extended ifXTable of IF-MIB for the same.
      
      Change-Id: Ia5a790fc046d14f45f6a0b3a88073ff951d3325f
      af8b1116
Loading