#include "base/os.h"
#include <iostream>
#include <fstream>
#include <pugixml/pugixml.hpp>
#include <boost/filesystem.hpp>
#include <boost/uuid/uuid.hpp>
#include <test/test_cmn_util.h>
#include <pkt/test/test_pkt_util.h>
#include <pkt/flow_mgmt.h>
#include <oper/global_vrouter.h>
#include "test_xml.h"
#include "test_xml_validate.h"
#include "test_xml_packet.h"
Go to the source code of this file.
|
bool | AgentUtXmlUtils::GetStringAttribute (const xml_node &node, const string &name, string *value) |
|
bool | AgentUtXmlUtils::GetUintAttribute (const xml_node &node, const string &name, uint16_t *value) |
|
bool | AgentUtXmlUtils::GetIntAttribute (const xml_node &node, const string &name, int *value) |
|
bool | AgentUtXmlUtils::GetBoolAttribute (const xml_node &node, const string &name, bool *value) |
|
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) |
|
void | AgentUtXmlUtils::LinkXmlNode (xml_node *parent, const string <ype, const string lname, const string &rtype, const string rname) |
|
xml_node | AgentUtXmlUtils::AddXmlNodeWithAttr (xml_node *parent, const char *attr) |
|
xml_node | AgentUtXmlUtils::AddXmlNodeWithValue (xml_node *parent, const char *name, const string &value) |
|
xml_node | AgentUtXmlUtils::AddXmlNodeWithIntValue (xml_node *parent, const char *name, int val) |
|
static bool | CheckConfigNode (const string &node_name, const xml_node &node, uuid *id, string *name) |
|
static void | AddPermissions (xml_node *parent) |
|
static void | AddUuid (xml_node *parent, const uuid &id) |
|
static void AddPermissions |
( |
xml_node * |
parent | ) |
|
|
static |
static void AddUuid |
( |
xml_node * |
parent, |
|
|
const uuid & |
id |
|
) |
| |
|
static |
static bool CheckConfigNode |
( |
const string & |
node_name, |
|
|
const xml_node & |
node, |
|
|
uuid * |
id, |
|
|
string * |
name |
|
) |
| |
|
static |