17#ifndef DAISI_UTILS_SOLA_UTILS_H_
18#define DAISI_UTILS_SOLA_UTILS_H_
28#include <unordered_map>
31#include "ns3/network-module.h"
35std::string getScenariofilePath(std::string scenariofile_name);
36int getTestFile(std::string &scenariofile_name, std::string &scenariofile_string,
37 std::string &scenariofile_path);
38std::string getIpv4AddressString(ns3::Ipv4Address address);
40std::string generateRandomString();
43std::string generateDBNameWithMinhtonInfo(
const std::string &app_name, uint16_t fanout,
44 uint16_t number_of_nodes);
46std::string generateDBName(
const std::string &app_name);
47std::string generateDBName(
const std::string &app_name,
const std::string &identification_string);
49std::vector<ns3::Ipv4Address> getAddressesForNode(
const ns3::NodeContainer &container,
50 uint32_t node_container_idx);
54ns3::Ipv4Address getNonLocalAddress(std::vector<ns3::Ipv4Address> addresses);