More debug
diff --git a/xos/synchronizers/fabric/steps/sync_vsgtenant.py b/xos/synchronizers/fabric/steps/sync_vsgtenant.py
index 2c26c36..1dd605e 100644
--- a/xos/synchronizers/fabric/steps/sync_vsgtenant.py
+++ b/xos/synchronizers/fabric/steps/sync_vsgtenant.py
@@ -67,6 +67,7 @@
rest_json = json.dumps(data, indent=4)
+ logger.error("object is %s" % fos)
logger.error("rest_hostname is %s" % fos.rest_hostname)
fields = {
diff --git a/xos/synchronizers/fabric/steps/sync_vsgtenant.yaml b/xos/synchronizers/fabric/steps/sync_vsgtenant.yaml
index 6d3f8b9..58bccba 100644
--- a/xos/synchronizers/fabric/steps/sync_vsgtenant.yaml
+++ b/xos/synchronizers/fabric/steps/sync_vsgtenant.yaml
@@ -5,11 +5,11 @@
rest_hostname: {{ rest_hostname }}
rest_port: {{ rest_port }}
rest_endpoint: {{ rest_endpoint }}
- rest_json: {{ rest_json }}
+ rest_json: '{{ rest_json }}'
tasks:
- debug: var=rest_json
-
+
- name: Call Fabric REST API
uri:
url: http://{{ '{{' }} rest_hostname {{ '}}' }}:{{ '{{' }} rest_port {{ '}}' }}/{{ '{{' }} rest_endpoint {{ '}}' }} #http://localhost:8181/onos/v1/network/configuration/