rest update
diff --git a/scripts/get-topology.sh b/scripts/get-topology.sh
new file mode 100755
index 0000000..834cf8b
--- /dev/null
+++ b/scripts/get-topology.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+# ------------------------------------------------------------------
+# Copyright © 2016 - 2017 Copyright (c) Sprint, Inc. and others. All rights reserved.
+#
+# This program and the accompanying materials are made available under the
+# terms of the Eclipse Public License v1.0 which accompanies this distribution,
+# and is available at http://www.eclipse.org/legal/epl-v10.html
+# ------------------------------------------------------------------
+
+echo ""
+curl -i -s \
+--header "Content-type: application/json" \
+--request GET \
+-u onos:rocks \
+http://localhost:8181/onos/restconf/data/ietf-dmm-fpcagent:tenants/tenant=default/fpc-topology
+echo ""
diff --git a/scripts/httpserver.py b/scripts/httpserver.py
index 9dd33d8..39a29a3 100755
--- a/scripts/httpserver.py
+++ b/scripts/httpserver.py
@@ -40,7 +40,7 @@
do_DELETE = do_GET
def main():
- port = 9997
+ port = 8181
print('Listening on localhost:%s' % port)
server = HTTPServer(('', port), RequestHandler)
server.serve_forever()
@@ -53,4 +53,4 @@
" reflect")
(options, args) = parser.parse_args()
- main()
\ No newline at end of file
+ main()