Improve SD-Fabric telegraf

Use jq to parse the output from ONOS API and kubectl
Add interval value for service monitor
Makesure ONOS is ready before query the topology matrix

Change-Id: I14c57299debc5fb2c731e5c5021314896e6ee473
diff --git a/apps/tost-telegraf/templates/servicemonitor.yaml b/apps/tost-telegraf/templates/servicemonitor.yaml
index 5959341..794394b 100644
--- a/apps/tost-telegraf/templates/servicemonitor.yaml
+++ b/apps/tost-telegraf/templates/servicemonitor.yaml
@@ -16,3 +16,4 @@
   - port: prometheus-client
     path: /metrics
     scheme: HTTP
+    interval: {{ .Values.service_monitor_interval }}