OpenSDN source code
|
Functions | |
bool | GetStringAttribute (const xml_node &node, const string &name, string *value) |
bool | GetUintAttribute (const xml_node &node, const string &name, uint16_t *value) |
bool | GetIntAttribute (const xml_node &node, const string &name, int *value) |
bool | GetBoolAttribute (const xml_node &node, const string &name, bool *value) |
void | NovaIntfAdd (bool op_delete, const uuid &id, const Ip4Address &ip, const uuid &vm_uuid, const uuid vn_uuid, const string &name, const string &mac, const string vm_name) |
void | LinkXmlNode (xml_node *parent, const string <ype, const string lname, const string &rtype, const string rname) |
xml_node | AddXmlNodeWithAttr (xml_node *parent, const char *attr) |
xml_node | AddXmlNodeWithValue (xml_node *parent, const char *name, const string &value) |
xml_node | AddXmlNodeWithIntValue (xml_node *parent, const char *name, int val) |
bool | GetStringAttribute (const pugi::xml_node &node, const std::string &name, std::string *value) |
bool | GetUintAttribute (const pugi::xml_node &node, const std::string &name, uint16_t *value) |
bool | GetIntAttribute (const pugi::xml_node &node, const std::string &name, int *value) |
bool | GetBoolAttribute (const pugi::xml_node &node, const std::string &name, bool *value) |
void | NovaIntfAdd (bool op_delete, const boost::uuids::uuid &id, const Ip4Address &ip, const boost::uuids::uuid &vm_uuid, const boost::uuids::uuid vn_uuid, const std::string &name, const std::string &mac, const std::string vm_name) |
void | LinkXmlNode (pugi::xml_node *parent, const std::string <ype, const std::string lname, const std::string &rtype, const std::string rname) |
pugi::xml_node | AddXmlNodeWithAttr (pugi::xml_node *parent, const char *attr) |
pugi::xml_node | AddXmlNodeWithValue (pugi::xml_node *parent, const char *name, const std::string &value) |
pugi::xml_node | AddXmlNodeWithIntValue (pugi::xml_node *parent, const char *name, int val) |
pugi::xml_node AgentUtXmlUtils::AddXmlNodeWithAttr | ( | pugi::xml_node * | parent, |
const char * | attr | ||
) |
xml_node AgentUtXmlUtils::AddXmlNodeWithAttr | ( | xml_node * | parent, |
const char * | attr | ||
) |
Definition at line 112 of file test_xml.cc.
pugi::xml_node AgentUtXmlUtils::AddXmlNodeWithIntValue | ( | pugi::xml_node * | parent, |
const char * | name, | ||
int | val | ||
) |
xml_node AgentUtXmlUtils::AddXmlNodeWithIntValue | ( | xml_node * | parent, |
const char * | name, | ||
int | val | ||
) |
Definition at line 125 of file test_xml.cc.
pugi::xml_node AgentUtXmlUtils::AddXmlNodeWithValue | ( | pugi::xml_node * | parent, |
const char * | name, | ||
const std::string & | value | ||
) |
xml_node AgentUtXmlUtils::AddXmlNodeWithValue | ( | xml_node * | parent, |
const char * | name, | ||
const string & | value | ||
) |
Definition at line 118 of file test_xml.cc.
bool AgentUtXmlUtils::GetBoolAttribute | ( | const pugi::xml_node & | node, |
const std::string & | name, | ||
bool * | value | ||
) |
bool AgentUtXmlUtils::GetBoolAttribute | ( | const xml_node & | node, |
const string & | name, | ||
bool * | value | ||
) |
Definition at line 60 of file test_xml.cc.
bool AgentUtXmlUtils::GetIntAttribute | ( | const pugi::xml_node & | node, |
const std::string & | name, | ||
int * | value | ||
) |
bool AgentUtXmlUtils::GetIntAttribute | ( | const xml_node & | node, |
const string & | name, | ||
int * | value | ||
) |
Definition at line 49 of file test_xml.cc.
bool AgentUtXmlUtils::GetStringAttribute | ( | const pugi::xml_node & | node, |
const std::string & | name, | ||
std::string * | value | ||
) |
bool AgentUtXmlUtils::GetStringAttribute | ( | const xml_node & | node, |
const string & | name, | ||
string * | value | ||
) |
Definition at line 25 of file test_xml.cc.
bool AgentUtXmlUtils::GetUintAttribute | ( | const pugi::xml_node & | node, |
const std::string & | name, | ||
uint16_t * | value | ||
) |
bool AgentUtXmlUtils::GetUintAttribute | ( | const xml_node & | node, |
const string & | name, | ||
uint16_t * | value | ||
) |
Definition at line 37 of file test_xml.cc.
void AgentUtXmlUtils::LinkXmlNode | ( | pugi::xml_node * | parent, |
const std::string & | ltype, | ||
const std::string | lname, | ||
const std::string & | rtype, | ||
const std::string | rname | ||
) |
void AgentUtXmlUtils::LinkXmlNode | ( | xml_node * | parent, |
const string & | ltype, | ||
const string | lname, | ||
const string & | rtype, | ||
const string | rname | ||
) |
Definition at line 90 of file test_xml.cc.
void AgentUtXmlUtils::NovaIntfAdd | ( | bool | op_delete, |
const boost::uuids::uuid & | id, | ||
const Ip4Address & | ip, | ||
const boost::uuids::uuid & | vm_uuid, | ||
const boost::uuids::uuid | vn_uuid, | ||
const std::string & | name, | ||
const std::string & | mac, | ||
const std::string | vm_name | ||
) |
void AgentUtXmlUtils::NovaIntfAdd | ( | bool | op_delete, |
const uuid & | id, | ||
const Ip4Address & | ip, | ||
const uuid & | vm_uuid, | ||
const uuid | vn_uuid, | ||
const string & | name, | ||
const string & | mac, | ||
const string | vm_name | ||
) |
Definition at line 75 of file test_xml.cc.