Show
Ignore:
Timestamp:
07/23/14 15:16:06 (8 years ago)
Author:
andreu
Message:

RECORDFLOW option

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/renetcolSMP/src/renetcolParam.h

    r164 r166  
    3333 * your collector address - syntax: 10.0.0.90, can be empty 
    3434*/ 
    35 #define SMP1_RECEPTION_ADDRESS "192.68.2.2" 
    36 #define SMP2_RECEPTION_ADDRESS "192.68.3.2" 
    37 #define SMP3_RECEPTION_ADDRESS "192.68.4.2" 
    38 #define SMP4_RECEPTION_ADDRESS "192.68.5.2" 
     35#define SMP1_RECEPTION_ADDRESS "10.0.0.1" 
     36#define SMP2_RECEPTION_ADDRESS "10.0.0.2" 
     37#define SMP3_RECEPTION_ADDRESS "10.0.0.3" 
     38#define SMP4_RECEPTION_ADDRESS "10.0.0.4" 
    3939 
    4040/* 
     
    5050 * (not necessary the number of routers) 
    5151 */ 
    52 #define SMP1_ROUTER_INDEX_MAX 1 
    53 #define SMP2_ROUTER_INDEX_MAX 2 
    54 #define SMP3_ROUTER_INDEX_MAX 2 
    55 #define SMP4_ROUTER_INDEX_MAX 2 
     52#define SMP1_ROUTER_INDEX_MAX 13 
     53#define SMP2_ROUTER_INDEX_MAX 16 
     54#define SMP3_ROUTER_INDEX_MAX 20 
     55#define SMP4_ROUTER_INDEX_MAX 15 
    5656 
    5757/* 
    5858 * FILE with your routers IP address 
    5959*/ 
    60 #define SMP1_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP1.txt" 
    61 #define SMP2_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP2.txt" 
    62 #define SMP3_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP3.txt" 
    63 #define SMP4_ROUTERS_LIST "/home/maintenance/CONF_RENETCOL/routersSMP4.txt" 
     60#define SMP1_ROUTERS_LIST "/home/maintenance/RSMP/CONF_RENETCOL/routersSMP1.txt" 
     61#define SMP2_ROUTERS_LIST "/home/maintenance/RSMP/CONF_RENETCOL/routersSMP2.txt" 
     62#define SMP3_ROUTERS_LIST "/home/maintenance/RSMP/CONF_RENETCOL/routersSMP3.txt" 
     63#define SMP4_ROUTERS_LIST "/home/maintenance/RSMP/CONF_RENETCOL/routersSMP4.txt" 
    6464 
    6565/* 
    6666 * FILE with your prefix/subnet 
    6767 */ 
    68 #define SUBNETS_LIST "/home/maintenance/CONF_RENETCOL/SUBNETSAGA.txt" 
     68#define SUBNETS_LIST "/home/maintenance/RSMP/CONF_RENETCOL/SUBNETSAGA.txt" 
    6969 
    7070/* 
    7171 * FILE with your IPv6 prefixes list 
    7272 */ 
    73 #define SUBNETS_V6_LIST "/home/maintenance/CONF_RENETCOL/IPv6_Subnet_Aggregation_based_on_SNMP_index.txt" 
     73#define SUBNETS_V6_LIST "/home/maintenance/RSMP/CONF_RENETCOL/IPv6_Subnet_Aggregation_based_on_SNMP_index.txt" 
    7474 
    7575/* 
    7676 * FILE with the list of AS with accounting 
    7777 */ 
    78 #define AS_LIST "/home/maintenance/CONF_RENETCOL/AS_MS.txt" 
     78#define AS_LIST "/home/maintenance/RSMP/CONF_RENETCOL/AS_MS.txt" 
    7979 
    8080/* 
    8181 * constants, here a subnet is include in a prefix 
    8282 */ 
    83 #define MAX_IPV4_PREFIX 4247 
    84 #define MAX_IPV4_SUBNET 410 
    85 #define MAX_AS 559 
     83#define MAX_IPV4_PREFIX 4315 
     84#define MAX_IPV4_SUBNET 417 
     85#define MAX_AS 576 
    8686#define MAX_IPV6_PREFIX 500 
    8787#define MAX_IPV6_SUBNET 100 
     
    9494 * FILE for the rules 
    9595 */ 
    96 #define RULES_FILE "/home/maintenance/CONF_RENETCOL/rules.txt" 
     96#define RULES_FILE "/home/maintenance/RSMP/CONF_RENETCOL/rules.txt" 
    9797 
    9898/* 
     
    100100 * tagged "C"ustomers or "B"ackbone 
    101101 */ 
    102 #define SMP1_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP1_SNMP_INDEX.txt" 
    103 #define SMP2_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP2_SNMP_INDEX.txt" 
    104 #define SMP3_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP3_SNMP_INDEX.txt" 
    105 #define SMP4_INTERFACES_TYPE_LIST "/home/maintenance/CONF_RENETCOL/SMP4_SNMP_INDEX.txt" 
     102#define SMP1_INTERFACES_TYPE_LIST "/home/maintenance/RSMP/CONF_RENETCOL/SMP1_SNMP_INDEX.txt" 
     103#define SMP2_INTERFACES_TYPE_LIST "/home/maintenance/RSMP/CONF_RENETCOL/SMP2_SNMP_INDEX.txt" 
     104#define SMP3_INTERFACES_TYPE_LIST "/home/maintenance/RSMP/CONF_RENETCOL/SMP3_SNMP_INDEX.txt" 
     105#define SMP4_INTERFACES_TYPE_LIST "/home/maintenance/RSMP/CONF_RENETCOL/SMP4_SNMP_INDEX.txt" 
    106106 
    107107/* 
     
    113113 * maximum number of interfaces by router (one interface == one SNMP index) 
    114114 */ 
    115 #define MAX_INDEX_BY_ROUTER 150 
     115#define MAX_INDEX_BY_ROUTER 200 
    116116 
    117117/* 
    118118 * RRD files paths 
    119119 */ 
    120 #define PREFIX_RRD_LOCATION "/mnt/data/RRD/RENATER/IPv4_SUBNET/" 
    121 #define MATRIX_RRD_LOCATION "/mnt/data/RRD/RENATER/MATRIX/" 
    122 #define AS_RRD_LOCATION "/mnt/data/RRD/RENATER/AS/" 
    123 #define SNMP_INDEX_RRD_LOCATION "/mnt/data/RRD/RENATER/SNMP_INDEX/" 
    124 #define MIB_RRD_LOCATION "/mnt/data/RRD/RENATER/RENETCOL_MIB/" 
     120#define PREFIX_RRD_LOCATION "/home/RRD/RENATER/IPv4_SUBNET/" 
     121#define MATRIX_RRD_LOCATION "/home/RRD/RENATER/MATRIX/" 
     122#define AS_RRD_LOCATION "/home/RRD/RENATER/AS/" 
     123#define SNMP_INDEX_RRD_LOCATION "/home/RRD/RENATER/SNMP_INDEX/" 
     124#define MIB_RRD_LOCATION "/home/RRD/RENATER/RENETCOL_MIB/" 
    125125 
    126126/* 
     
    144144#define THIRD_CoS 8   /* CS1, Less than BE - dec 8, bin 001000 - 00100000 */ 
    145145#define FOURTH_CoS 0  /* Best Effort or All flows if not in the 3 others class */ 
     146/* 
     147 * FILES PATH/NAMES FOR RECORD FLOW OPTION, enabled via ./configure^M 
     148 * 2 files per process^M 
     149 */ 
     150#define RECORD_FILE_PATH "/home/FLOW_DATA/" 
     151#define SMP1_RECORD_FILE_1 "RENETCOL_SMP1_1_FLOWS" 
     152#define SMP1_RECORD_FILE_2 "RENETCOL_SMP1_1_FLOWS" 
     153#define SMP2_RECORD_FILE_1 "RENETCOL_SMP2_1_FLOWS" 
     154#define SMP2_RECORD_FILE_2 "RENETCOL_SMP2_1_FLOWS" 
     155#define SMP3_RECORD_FILE_1 "RENETCOL_SMP3_1_FLOWS" 
     156#define SMP3_RECORD_FILE_2 "RENETCOL_SMP3_1_FLOWS" 
     157#define SMP4_RECORD_FILE_1 "RENETCOL_SMP4_1_FLOWS" 
     158#define SMP4_RECORD_FILE_2 "RENETCOL_SMP4_1_FLOWS" 
    146159 
    147160/****************************************************************