12 "172.16.47.10,gts_community_r,gts_community_w,10,1,001CC0B16177,64,128,64,128\n"
13 "172.16.47.11,gts_community_r,gts_community_w,10,1,001CC0B16178,65,129,66,138\n"
14 "172.16.47.10,gts_community_r,gts_community_w,16,1,001CC0B16179,66,130,68,148\n"
15 "172.16.47.10,gts_community_r,gts_community_w,16,8,001CC0B16180,67,131,70,158\n"
18 std::cout << data << std::endl;
20 if (!parseData(data, lines)) {
21 logger << "Failed to parse data" << std::endl;
23 SSMD::Lines::const_iterator it;
24 for (it = lines.begin(); it != lines.end(); ++it) {
26 << it->switchIP << ","
27 << it->readCommunity << ","
28 << it->writeCommunity << ","
29 << it->uplinkPort << ","
30 << it->userPort << ","
33 << it->downShape << ","
35 << it->downBurst << std::endl;