OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test_xml.h File Reference
#include <iostream>
#include <vector>
#include <pugixml/pugixml.hpp>
#include <boost/uuid/uuid.hpp>
#include <base/util.h>
Include dependency graph for test_xml.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AgentUtXmlTest
 
class  AgentUtXmlTestCase
 
class  AgentUtXmlNode
 
class  AgentUtXmlTask
 
class  AgentUtXmlLink
 
class  AgentUtXmlConfig
 

Namespaces

 AgentUtXmlUtils
 

Functions

bool AgentUtXmlUtils::GetStringAttribute (const pugi::xml_node &node, const std::string &name, std::string *value)
 
bool AgentUtXmlUtils::GetUintAttribute (const pugi::xml_node &node, const std::string &name, uint16_t *value)
 
bool AgentUtXmlUtils::GetIntAttribute (const pugi::xml_node &node, const std::string &name, int *value)
 
bool AgentUtXmlUtils::GetBoolAttribute (const pugi::xml_node &node, const std::string &name, bool *value)
 
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::LinkXmlNode (pugi::xml_node *parent, const std::string &ltype, const std::string lname, const std::string &rtype, const std::string rname)
 
pugi::xml_node AgentUtXmlUtils::AddXmlNodeWithAttr (pugi::xml_node *parent, const char *attr)
 
pugi::xml_node AgentUtXmlUtils::AddXmlNodeWithValue (pugi::xml_node *parent, const char *name, const std::string &value)
 
pugi::xml_node AgentUtXmlUtils::AddXmlNodeWithIntValue (pugi::xml_node *parent, const char *name, int val)