summaryrefslogtreecommitdiff
path: root/cleopatre/application/spidnetsnmp/agent/mibgroup
AgeCommit message (Collapse)Author
2013-07-25{cleopatre,cesar}[eoc]: make some stats fields on 64 bits, closes #4080Nélio Laranjeiro
2013-01-02cleo/app/spidnetsnmp: use libspid nvram interface, refs #3607Olivier Dufour
2012-12-12cleo/app/snmp[eoc-drv]: move few functions declaration from c to h in sarft ↵Wentao Hu
mib, closes #3556 The list of move functions: 1. modEoCCNUWhiteListTable_allocate_data(); 2. modEoCCNUServiceTable_allocate_data();
2012-12-12cleo/app/snmp[eoc-drv]: adapt local variables type to return type of ↵Wentao Hu
functions, closes #3549
2012-12-12cleo/app/snmp[eoc-drv]: warning on constant object release fixed, refs #3549Wentao Hu
2012-12-12cleo/app/snmp[eoc-drv]: libspid called with correct parameters type in ↵Wentao Hu
mstar-mib, refs #3549
2012-12-12cleo/app/snmp[eoc-drv]: include the needed header files by the right way, ↵Wentao Hu
refs #3549 The libgen.h is included for basename(), and string.h with the macro of _GNU_SOURCE for strcasestr();
2012-12-12cleo/app/snmp[eoc-drv]: move few functions declaration from c to h, refs #3549Wentao Hu
Fix compilation warnings about functions: 1. eocCBATAdminSNMPCommunityTable_allocate_data(); 2. eocCNUServiceTable_allocate_data(); 3. eocCNUWhiteListTable_allocate_data(); 4. eocTrapTable_allocate_data(); 5. eocVLANTable_allocate_data();
2012-11-29cleo/app/spidnetsnmp[eoc]: close file after use, closes #3473Yacine Belkadi
libspid_config_read_line_repetitive() closes the file if it reaches EOF or if an error occurs. Otherwise, the idiom is to call libspid_config_read_line_repetitive(0, 0, 0, 0, 0, 0, 0, &user_data) to close the file. This call was missing in clearEoCCurrentAlarms(). As a result, the snmpd agent periodically opened /var/run/info/alarm.info without closing it. Thus leaking ~4kB each time. Close the file after we're done reading it. Do it also in clearEoCSCCNCurrentAlarms().
2012-09-20Merge branch 'mse500-asic' into eoc-mse500-asicCyril Jourdan
In order to make this commit compile, we had to extract some functions from LEON ILRAM. We made this by playing on the ARCH_ILRAM_PRIO config item, but we will do some fine tuning later. Conflicts: cleopatre/devkit/tests/libspid/utests/src/system_utests.c cleopatre/tools/openocd-r668/src/flash/spc300.h common/tests/tests
2012-09-20Merge branch 'mse500-common' into eoc-drvCyril Jourdan
More than resolving the conflicts, there were some other modifications to handle to make the merge complete: - rename of the CHIP_SPC300DINI into CHIP_MSE500DINI_300 - rename of the spc300_nvram_t type into spidcom_nvram_t - CHIP_FEATURE_GIC_64_LINES and CHIP_FEATURE_NVRAM_EXTRA_FIELDS added - rename of some defines in spid_img_desc.h Conflicts: cleopatre/application/libspid/inc/libspid.h cleopatre/application/libspid/src/image.c cleopatre/application/libspid/src/system.c cleopatre/buildroot/target/device/Spidcom/scr310/linux26.config cleopatre/buildroot/target/device/Spidcom/spk300/linux26.config cleopatre/buildroot/target/device/Spidcom/spk300g/linux26.config cleopatre/buildroot/target/device/Spidcom/spk310/linux26.config cleopatre/buildroot/target/device/Spidcom/spr300/linux26.config cleopatre/buildroot/target/device/Spidcom/spr310/linux26.config cleopatre/devkit/tests/libspid/utests/src/system_utests.c cleopatre/include/spid_img_desc.h cleopatre/linux-2.6.25.10-spc300/include/asm-arm/arch-spc300/nvram.h cleopatre/linux-2.6.25.10-spc300/include/asm-arm/arch-spc300/spid_img_desc.h cleopatre/u-boot-1.1.6/include/asm-arm/arch-spc300/image_desc.h cleopatre/u-boot-1.1.6/include/asm-arm/arch-spc300/nvram.h common/tools/genNVRAM/Makefile
2012-06-28cleo/app/snmp[eoc]: use the default password of a whitelist new entry with ↵Tom Yang
SNMP, closes #3218 - default password SPIDCOM-SCR310-01
2012-06-28cleo/app/snmp[eoc]: correct set the IP 0.0.0.0 to several slaves in ↵Tom Yang
whitlelist with SNMP, closes #3203
2012-06-28cleo/app/{libspid,snmp}[eoc]: correct mac limitation range for maclimit and ↵Tom Yang
SNMP, closes #3217
2012-06-14cleo/app/snmp[eoc]: implement eocSCCNCnuTable of the SCCN-EOC-MIB, refs #3153Tom Yang
2012-06-13cleo/app/snmp[eoc]: implement eocSCCNConfigBackupTable of the SCCN-EOC-MIB, ↵Tom Yang
closes #3152
2012-06-12cleo/app/snmp[eoc]: implement the alarmgroup of the SCCN-ALARM-MIB, closes #3151Tom Yang
2012-06-11cleo/{app/snmp,buildroot/{package,target}}[eoc]: generate skeleton code from ↵Tom Yang
SCCN MIB files, closes #3150 - add make menuconfig choose support SCCN snmp, default is disable
2012-06-11cleo/app/snmp[eoc]: add the support of eocCNUConfigurationSaving, closes #3118Tom Yang
- fixed eocCNUAuthorizationState not correct
2012-06-06cleo/app/snmp[eoc]: implement eocIGMPSnoopingGroup of the ↵Tom Yang
NSCRTV-EPONEOC-MOD-EOC-MIB, closes #3024
2012-06-06cleo/app/snmp[eoc]: remove redundant calls to free() in all scalar groups, ↵Sena Mars
closes #3099 - resources are already automatically deallocated by system procedures - unnecessary free() calls are removed from SET_FREE, SET_COMMIT and SET_UNDO phases of scalar handlers - also fixed undoing the value in SET_UNDO of modEoCCNUServiceType
2012-06-06cleo/app/snmp[eoc]: implement eocExtBcmpObjects group, refs #3140Lysin Miao
2012-06-05cleo/{app/snmp,buildroot/package}[eoc]: correct eocVLANPortTable, refs #3141Jun Xiang
- only defined VLANs inside eocVLANTable can be set inside eocVLANTPortTable - modified Corresponding busybox about eocVLANPortTable VlanID must be in eocVLANTable
2012-06-05cleo/app/snmp[eoc]: implement eocVLANTable, refs #3141Tom Yang
- modify eocMulticastVLANFlag value to disable(0), enable(1)
2012-06-05cleo/app/snmp[eoc]: generate eocVLANTable skeleton code, refs #3141Tom Yang
- modify MIB file for eocMulticastVLANFlag value use disable(0), enable(1) - depends the new MIB file generate skeleton code
2012-06-05cleo/app/snmp[eoc]: implement eocCBATCardMACCNUIsolationTable, closes #3156Tom Yang
- modify eocCBATCardMACCNUIsolationEN value to disable(0), enable(1)
2012-06-05cleo/app/snmp[eoc]: generate eocCBATCardMACCNUIsolationTable skeleton code, ↵Tom Yang
refs #3156 - modify MIB file for eocCBATCardMACCNUIsolationEN value use disable(0), enable(1) - depends the new MIB file generate skeleton code
2012-06-04cleo/app/snmp[eoc]: modify get TechProject value from config file, closes #3148Jun Xiang
2012-05-28cleo/app/snmp[eoc]: adjust reading formatMilan Stevanovic
- change sscanf format from %ld to %d
2012-05-28cleo/{app/spidnetsnmp,buildroot}[eoc]: implement eocAlarmGroup of the ↵Lysin Miao
NSCRTV-EPONEOC-ALARMS-MIB, closes #3034
2012-05-25cleo/app/snmp[eoc]: correct eocCBATAdminDateAndTime implementation, closes #3014Sena Mars
- corrected GET request to use built-in net-snmp conversion functions - added checks for proper binary string length - reimplemented UNDO value storage and retrieval
2012-05-25cleo/app/snmp[eoc]: add error checks for AdminGroup of the ↵Sena Mars
NSCRTV-EPONEOC-MOD-EOC-MIB, refs #3014 - added error checks for return values of function for all fields with missing checks - added default values in case of read errors for GET to permit walk requests - corrected and added missing enum values and defines in EoCCommon header - fixed IP and MAC address length and VLAN ID to use libspid defines instead of numerical values - corrected UNDO implementation to use standard methods - corrected comments to describe proper modules and function names
2012-05-25cleo/app/{libspid, snmp}[eoc]: correct typo for ONU_MAC and ONU_PORT labelsSena Mars
- also use libspid define for MAC address length
2012-05-25cleo/app/snmp[eoc]: implement the AdminGroup of the ↵Lysin Miao
NSCRTV-EPONEOC-MOD-EOC-MIB, refs #3014
2012-05-25cleo/app/spidnetsnmp[eoc]: implement the eocCNU of the ↵Lysin Miao
NSCRTV-EPONEOC-MOD-EOC-MIB, closes #3019
2012-05-25cleo/app/snmp[eoc]: implement the SoftwareUpgradeGroup, refs #3017Tom Yang
Conflicts: cleopatre/application/spidnetsnmp/agent/mibgroup/mstar-eoc-mib.h
2012-05-25cleo/app/snmp[eoc]: modify modEoCSoftwareUpgradeGroup for new column of ↵Tom Yang
SARFT V1, refs #3017
2012-05-25cleo/app/snmp[eoc]: implement the eocCNUGRoup/eocCNUService, closes #3020Jun Xiang
2012-05-23cleo/app/snmp[eoc]: add checks when reading or modifying configuration ↵Sena Mars
files, closes #3026 - add error checks when reading from configuration file for eocVLANTable - add check of VLAN conf file before attempting to modify - include common EoC header instead of libspid headers - correct comments to include references to VLANPortTable and VLANTable - remove checks for setting parameters in VLANPortTable and VLANTable already performed by generated code - fix spelling error for libspid check function invocation
2012-05-23cleo/app/snmp[eoc]: implement eocVLANGroup, refs #3026Jun Xiang
2012-05-22cleo/app/snmp[eoc]: implement eocTrapGroup of the ↵Tom Yang
NSCRTV-EPONEOC-MOD-EOC-MIB, closes #3025
2012-05-22cleo/app/snmp[eoc]: implement eocPropertyGroup of the ↵Tom Yang
NSCRTV-EPONEOC-PROPERTY-MIB, closes #3033
2012-05-21cleo/app/spidnetsnmp[eoc]: implement eocCNUPort of the ↵Tom Yang
NSCRTV-EPONEOC-MOD-EOC-MIB, closes #3021
2012-05-21cleo/app/spidnetsnmp[eoc]: implement eocBroadcastStormProtectionGroup of the ↵Lysin Miao
NSCRTV-EPONEOC-MOD-EOC-MIB, closes #3027
2012-05-21cleo/app/snmp[eoc]: implementation of the Whitelist group, closes #3018Tom Yang
Conflicts: cleopatre/application/spidnetsnmp/agent/mibgroup/mstar-eoc-mib.h cleopatre/application/spidnetsnmp/agent/mibgroup/mstar-eoc-mib/eocCNUGroup.h
2012-05-21cleo/app/snmp[eoc]: modify SARFT V1 modEoCCNUWhiteListTable for set default ↵Tom Yang
ip, refs #3018 --add default ip 0.0.0.0
2012-05-21cleo/app/snmp[eoc]: implement of the eocCBATCardMACGroup, closes #3016Jun Xiang
2012-05-21cleo/app/snmp[eoc]: implement the RFGroup of the NSCRTV-EPONEOC-MOD-EOC-MIB, ↵Jun Xiang
closes #3015
2012-05-17cleo/app/snmp[eoc]: implement eocExtCnuEtherPortTable of the ↵Tom Yang
NSCRTV-EPONEOC-MOD-EOC-MIB, closes #3044
2012-05-17cleo/app/snmp[eoc]: implement EocStatisticGroup of the ↵Tom Yang
NSCRTV-EPONEOC-MOD-EOC-MIB, closes #3023