- Oct 29, 2020
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
--Store build log in a log file. Log size is ~32MB, log limit in gitlab is ~16MB. --Add log file into artifact archive --Fix adding wrs-firmware*.tar into artifacts --Fix a name of artifacts archive to contain job ID --Use all available cores on a build machine
-
Michal Wasiak authored
Export a subset of BRIDGE-MIB and Q-BRIDGE-MIB Implemented OIDs: dot1dBase: --dot1dBaseBridgeAddress --dot1dBaseNumPorts --dot1dBaseType dot1dBasePortTable: --dot1dBasePortIfIndex --dot1dBasePortCircuit dot1dTpFdbTable: --dot1dTpFdbAddress --dot1dTpFdbPort --dot1dTpFdbStatus dot1dStaticTable: --dot1dStaticAddress --dot1dStaticReceivePort --dot1dStaticAllowedToGoTo --dot1dStaticStatus dot1qBase: --dot1qVlanVersionNumber --dot1qMaxVlanId --dot1qMaxSupportedVlans --dot1qNumVlans --dot1qGvrpStatus dot1qFdbTable: --dot1qFdbDynamicCount dot1qTpFdbTable: --dot1qTpFdbPort --dot1qTpFdbStatus dot1qVlanCurrentTable: --dot1qVlanFdbId --dot1qVlanCurrentEgressPorts --dot1qVlanCurrentUntaggedPorts --dot1qVlanStatus --dot1qVlanCreationTime dot1qVlanStaticTable: --dot1qVlanStaticName --dot1qVlanStaticEgressPorts --dot1qVlanForbiddenEgressPorts --dot1qVlanStaticUntaggedPorts --dot1qVlanStaticRowStatus dot1qPortVlanTable: --dot1qPvid --dot1qPortAcceptableFrameTypes --dot1qPortIngressFiltering --dot1qPortGvrpStatus --dot1qPortGvrpFailedRegistrations --dot1qPortGvrpLastPduOrigin --dot1qPortRestrictedVlanRegistration
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
To be used by SNMP Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Check rtu shmem version on restart and make it populated earlier on regular start. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Usage of "=" followed usage of "+=" for CFLAGS Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generated with: mib2c -c mib2c.scalar.conf Q-BRIDGE-MIB::dot1qBase Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
In the generated code MacAddress is mapped into ASN_OCTET_STR, which uses a length as a first byte, then the content of MAC/string. With this behaviour of ASN_OCTET_STR, the index was 1 byte longer than suppose to be. Anyway, it is not needed to carry the length of MacAddress since it is defined as fixed in the MIB. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Used by SNMP Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
The following were defined, initialized, but never used --filters_offset --vlans_offset --mirror_offset --rtu_ports_offset Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
update: --wrs_dump_shmem --wrs_vlans (print info about untag) Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
rtu_port_shmem has nothing to do with ports. Use rtu_shmem_p instead of rtu_shmem to make search of rtu_shmem_p easier. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1qPortVlanTable with a command: mib2c -c mib2c.mfd.conf Q-BRIDGE-MIB::dot1qPortVlanTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1qVlanCurrentTable with a command: mib2c -c mib2c.mfd.conf Q-BRIDGE-MIB::dot1qVlanCurrentTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
In the generated code MacAddress is mapped into ASN_OCTET_STR, which uses a length as a first byte, then the content of MAC/string. With this behaviour of ASN_OCTET_STR, the index was 1 byte longer than suppose to be. Anyway, it is not needed to carry the length of MacAddress since it is defined as fixed in the MIB. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1qTpFdbTable with a command: mib2c -c mib2c.mfd.conf Q-BRIDGE-MIB::dot1qTpFdbTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Added functions were copied from rtu_stat Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Remove the following OIDs, since such counters are not implemented in WRS. --dot1dBasePortDelayExceededDiscards --dot1dBasePortMtuExceededDiscards Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1dBasePortTable with a command: mib2c -c mib2c.mfd.conf BRIDGE-MIB::dot1dBasePortTable The data in this table is static, it does not need a cache. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Annoying warnings like: In file included from ./include/libwr/hal_shmem.h:7:0, from ./include/libwr/fan.h:3, from ./include/libwr/switch_hw.h:6, from pps_gen.c:17: ./include/libwr/generic_fsm.h: In function ‘fsm_consume_state’: ./include/libwr/generic_fsm.h:134:3: warning: implicit declaration of function ‘pr_info’ [-Wimplicit-function-declaration] pr_info("%s: Enter state %s\n", fsm->fsm_name, fsm_get_state_name(fsm)); ^ Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
In the generated code MacAddress is mapped into ASN_OCTET_STR, which uses a length as a first byte, then the content of MAC/string. With this behaviour of ASN_OCTET_STR, the index was 1 byte longer than suppose to be. Anyway, it is not needed to carry the length of MacAddress since it is defined as fixed in the MIB. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Kinga Wujek authored
Signed-off-by:
Kinga Wujek <dev_public@wujek.eu>
-
Michal Wasiak authored
dot1dStaticTable with a command: mib2c -c mib2c.mfd.conf BRIDGE-MIB::dot1dStaticTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Kinga Wujek authored
Signed-off-by:
Kinga Wujek <dev_public@wujek.eu>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-