#include <boost/bind.hpp>
#include <boost/asio/ip/host_name.hpp>
#include <boost/foreach.hpp>
#include <boost/tokenizer.hpp>
#include <boost/assign/list_of.hpp>
#include <isc/hmacmd5.h>
#include <isc/hmacsha.h>
#include "base/contrail_ports.h"
#include "http/http_request.h"
#include "http/http_session.h"
#include "http/http_server.h"
#include "http/client/http_client.h"
#include "http/client/http_curl.h"
#include "io/event_manager.h"
#include "cmn/agent_cmn.h"
#include "init/agent_param.h"
#include "oper/operdb_init.h"
#include "oper/mirror_table.h"
#include "oper/interface_common.h"
#include "oper/global_vrouter.h"
#include "pkt/pkt_handler.h"
#include "services/services_types.h"
#include "services/services_init.h"
#include "services/metadata_proxy.h"
#include "services/metadata_server.h"
#include "services/metadata_server_session.h"
#include "services/metadata_client.h"
#include "services/metadata_client_session.h"
#include "services/services_sandesh.h"
Go to the source code of this file.
|
static std::string | ErrorMessage (uint16_t ec) |
|
static std::string | GetHmacSha256 (const std::string &key, const std::string &data) |
|
#define METADATA_TRACE |
( |
|
obj, |
|
|
|
arg |
|
) |
| |
Value:do { \
std::ostringstream _str; \
_str << arg; \
} while (false) \
SandeshTraceBufferPtr MetadataTraceBuf
Definition at line 39 of file metadata_proxy.cc.
static std::string ErrorMessage |
( |
uint16_t |
ec | ) |
|
|
static |
static std::string GetHmacSha256 |
( |
const std::string & |
key, |
|
|
const std::string & |
data |
|
) |
| |
|
static |
std::map<uint16_t, std::string> g_http_error_map |
Initial value:= boost::assign::map_list_of<uint16_t, std::string>
(404, "404 Not Found")
(500, "500 Internal Server Error")
(501, "501 Not Implemented")
(502, "502 Bad Gateway")
(503, "503 Service Unavailable")
(504, "504 Gateway Timeout")
Definition at line 47 of file metadata_proxy.cc.