push s_tag, c_tag, next_hop down into yaml
diff --git a/xos/openstack_observer/steps/sync_container.py b/xos/openstack_observer/steps/sync_container.py
index 915ef3d..b28453a 100644
--- a/xos/openstack_observer/steps/sync_container.py
+++ b/xos/openstack_observer/steps/sync_container.py
@@ -71,6 +71,9 @@
pd["snoop_instance_id"] = ""
pd["src_device"] = "eth%d" % i
+ for (k,v) in port.get_parameters().items():
+ pd[k] = v
+
ports.append(pd)
i = i + 1
diff --git a/xos/openstack_observer/steps/sync_container.yaml b/xos/openstack_observer/steps/sync_container.yaml
index 4eac2a1..887d145 100644
--- a/xos/openstack_observer/steps/sync_container.yaml
+++ b/xos/openstack_observer/steps/sync_container.yaml
@@ -16,6 +16,9 @@
snoop_instance_mac: {{ port.snoop_instance_mac }}
snoop_instance_id: {{ port.snoop_instance_id }}
src_device: {{ port.src_device }}
+ s_tag: {{ port.s_tag|default("") }}
+ c_tag: {{ port.c_tag|default("") }}
+ next_hop: {{ port.next_hop|default("") }}
{% endfor %}
volumes:
{% for volume in volumes %}