From dbc30d321bd385e5cd5bce1e6f567ade9ca1aa25 Mon Sep 17 00:00:00 2001
From: Jan Srnicek <jsrnicek@cisco.com>
Date: Tue, 12 Sep 2017 08:22:07 +0200
Subject: HONEYCOMB-392 - Footprint measuring support

Change-Id: I079c8ceef84cda43159e1823fe42ad77cdc981e8
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
---
 infra/footprint/footprint-impl/asciidoc/Readme.adoc | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 infra/footprint/footprint-impl/asciidoc/Readme.adoc

(limited to 'infra/footprint/footprint-impl/asciidoc/Readme.adoc')

diff --git a/infra/footprint/footprint-impl/asciidoc/Readme.adoc b/infra/footprint/footprint-impl/asciidoc/Readme.adoc
new file mode 100644
index 000000000..79306b52e
--- /dev/null
+++ b/infra/footprint/footprint-impl/asciidoc/Readme.adoc
@@ -0,0 +1,19 @@
+= impl
+
+== To read footprint
+
+[source,java]
+----
+HttpResponse<String> response = Unirest.get("http://localhost:8183/restconf/operational/footprint:memory-footprint-state")
+  .header("authorization", "Basic YWRtaW46YWRtaW4=")
+  .header("content-type", "application/json")
+  .asString();
+----
+
+[source,shell]
+----
+curl --request GET \
+  --url http://localhost:8183/restconf/operational/footprint:memory-footprint-state \
+  --header 'authorization: Basic YWRtaW46YWRtaW4=' \
+  --header 'content-type: application/json'
+----
\ No newline at end of file
-- 
cgit 1.2.3-korg

