Changeset 164 for branches/renetcolSMP/src/renetcolParam.h
- Timestamp:
- 03/12/13 14:22:33 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/renetcolSMP/src/renetcolParam.h
r144 r164 1 1 /* 2 2 * File: renetcolParam.h 3 * 4 * Authors: ANDREU Francois-Xavier 5 * 6 * Copyright (C) 2007-2010 GIP RENATER 7 */ 8 9 /* This file is part of renetcol. 3 * 4 * Authors: ANDREU Francois-Xavier 5 * 6 * Copyright (C) 2007-2012 GIP RENATER 7 * Copyright (C) 2012 ANDREU Francois-Xavier 8 */ 9 10 /* This file is part of renetcol. 10 11 * 11 12 * renetcol is free software; you can redistribute it and/or modify … … 28 29 /************************************** 29 30 * Parameters which MUST be changed: 30 **************************************/ 31 /* 32 * your collector address - syntax: 10.0.0.90, can be empty 31 **************************************/ 32 /* 33 * your collector address - syntax: 10.0.0.90, can be empty 33 34 */ 34 #define RECEPTION_ADDRESS "" 35 36 /* 37 * your collector port to recept netflow export 38 */ 39 #define RECEPTION_PORT 1111 40 41 /* 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" 39 40 /* 41 * your collector port to recept netflow export 42 */ 43 #define SMP1_RECEPTION_PORT 1111 44 #define SMP2_RECEPTION_PORT 1112 45 #define SMP3_RECEPTION_PORT 1113 46 #define SMP4_RECEPTION_PORT 1114 47 48 /* 42 49 * routers index max + 1 (index of the first column who begins the line, 43 50 * (not necessary the number of routers) 44 51 */ 45 #define ROUTER_INDEX_MAX 55 46 47 /* 48 * FILE with your routers IP address 49 */ 50 #define ROUTERS_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/routers.txt" 51 52 /* 53 * FILE with your prefix/subnet 54 */ 55 #define SUBNETS_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/IPv4_Subnet_Aggregation_based_on_SNMP_index.txt" 56 57 /* 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 56 57 /* 58 * FILE with your routers IP address 59 */ 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" 64 65 /* 66 * FILE with your prefix/subnet 67 */ 68 #define SUBNETS_LIST "/home/maintenance/CONF_RENETCOL/SUBNETSAGA.txt" 69 70 /* 58 71 * FILE with your IPv6 prefixes list 59 72 */ 60 #define SUBNETS_V6_LIST " <path to renetcol>/renetcol-0.0.14beta/conf/IPv6_Subnet_Aggregation_based_on_SNMP_index.txt"61 62 /* 73 #define SUBNETS_V6_LIST "/home/maintenance/CONF_RENETCOL/IPv6_Subnet_Aggregation_based_on_SNMP_index.txt" 74 75 /* 63 76 * FILE with the list of AS with accounting 64 77 */ 65 #define AS_LIST " <path to renetcol>/renetcol-0.0.14beta/conf/AS.txt"66 67 /* 68 * constants, here a subnet is include in a prefix 69 */ 70 #define MAX_IPV4_PREFIX 4 00071 #define MAX_IPV4_SUBNET 100072 #define MAX_AS 378 #define AS_LIST "/home/maintenance/CONF_RENETCOL/AS_MS.txt" 79 80 /* 81 * constants, here a subnet is include in a prefix 82 */ 83 #define MAX_IPV4_PREFIX 4247 84 #define MAX_IPV4_SUBNET 410 85 #define MAX_AS 559 73 86 #define MAX_IPV6_PREFIX 500 74 87 #define MAX_IPV6_SUBNET 100 … … 78 91 #define RATIO_FIELD 69 /* field 69 is a "reserved" field who is not used actualy. */ 79 92 80 /* 81 * FILE for the rules 82 */ 83 #define RULES_FILE " <path to renetcol>/renetcol-0.0.14beta/conf/rules.txt"84 85 /* 93 /* 94 * FILE for the rules 95 */ 96 #define RULES_FILE "/home/maintenance/CONF_RENETCOL/rules.txt" 97 98 /* 86 99 * FILE with SNMP index of the interfaces 87 * tagged "C"ustomers or "B"ackbone 88 */ 89 #define INTERFACES_TYPE_LIST "<path to renetcol>/renetcol-0.0.14beta/conf/SNMP_INDEX.txt" 90 91 /* 100 * tagged "C"ustomers or "B"ackbone 101 */ 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" 106 107 /* 92 108 * maximum SNMP index for one router 93 109 */ … … 96 112 /* 97 113 * maximum number of interfaces by router (one interface == one SNMP index) 98 */ 99 #define MAX_INDEX_BY_ROUTER 150 114 */ 115 #define MAX_INDEX_BY_ROUTER 150 100 116 101 117 /*