summaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/traffic_profiles/example.yaml
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-09-12 09:57:38 -0700
committerEdward MacGillivray <edward.s.macgillivray@intel.com>2017-09-18 10:30:58 -0700
commitae0cdbea1100a09d0c46191dd7e5d8d5eec8d484 (patch)
tree0649b8b464c4c7379eed8e05976eaa7c836f990e /samples/vnf_samples/traffic_profiles/example.yaml
parent468aeaf9fe6a5cd0d350f566ed7b9216efc752b6 (diff)
NSB: count from 0, vnf_0, tg_9, private->uplink, public->downlink
Also rename private to uplink, public to downlink for scale-out template we need to count from 0 so we can use range() without +1/-1 errors vnf_0, vnf_1 tg_0, tg_1 also fix Ixia defaults Change-Id: I6aecfbb95f99af20f012a9df19c19be77d1b5b77 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
Diffstat (limited to 'samples/vnf_samples/traffic_profiles/example.yaml')
-rw-r--r--samples/vnf_samples/traffic_profiles/example.yaml28
1 files changed, 14 insertions, 14 deletions
diff --git a/samples/vnf_samples/traffic_profiles/example.yaml b/samples/vnf_samples/traffic_profiles/example.yaml
index fc2501526..443fb88cf 100644
--- a/samples/vnf_samples/traffic_profiles/example.yaml
+++ b/samples/vnf_samples/traffic_profiles/example.yaml
@@ -150,8 +150,8 @@ public:
570B: {{get(imix_570B, 12) }}
1400B: {{get(imix_1400B, 12) }}
1518b: {{get(imix_1500B, 12) }}
- srcmac: {{get(private.ipv4_1.dst_mac}} # xe0.local_mac
- dstmac: {{get)private.ipv4_1.src_mac}} # xe0.dst_mac
+ srcmac: {{get(uplink.ipv4_1.dst_mac}} # xe0.local_mac
+ dstmac: {{get)uplink.ipv4_1.src_mac}} # xe0.dst_mac
QinQ:
S-VLAN:
id: {{ get(flow.s_vlan_range, "0") }}
@@ -166,33 +166,33 @@ public:
outer_l3v4:
proto: {{ get(flow.outer_proto, "udp") }},
- srcip4: {{ get(private.ipv4_1.outer_l3v4.dstip4) }}
- dstip4: {{ get(private.ipv4_1.outer_l3v4.srcip4) }}
+ srcip4: {{ get(uplink.ipv4_1.outer_l3v4.dstip4) }}
+ dstip4: {{ get(uplink.ipv4_1.outer_l3v4.srcip4) }}
ttl: 32
dscp: {{ get(flow.tos, 0) }}
outer_l4:
- srcport: {{ get(private.ipv4_1.outer_l4.dstport) }}
- dstport: {{ get(private.ipv4_1.outer_l4.srcport) }}
+ srcport: {{ get(uplink.ipv4_1.outer_l4.dstport) }}
+ dstport: {{ get(uplink.ipv4_1.outer_l4.srcport) }}
vni: {{ get(flow.vxlan_vni, "2345") }} #optional
inner_l2: #optional
- srcmac: {{ get(private.ipv4_1.outer_l4.inner_l2.dstmac) }}
- dstmac: {{ get(private.ipv4_1.outer_l4.inner_l2.srcmac) }}
+ srcmac: {{ get(uplink.ipv4_1.outer_l4.inner_l2.dstmac) }}
+ dstmac: {{ get(uplink.ipv4_1.outer_l4.inner_l2.srcmac) }}
inner_l3v4: #optional
proto: {{ get(flow.inner_proto, "udp") }},
- srcip4: {{ get(private.ipv4_1.inner_l3v4.dstip4) }}
- dstip4: {{ get(private.ipv4_1.inner_l3v4.srcip4) }}
+ srcip4: {{ get(uplink.ipv4_1.inner_l3v4.dstip4) }}
+ dstip4: {{ get(uplink.ipv4_1.inner_l3v4.srcip4) }}
ttl: 32
dscp: {{ get(flow.inner_tos, 0) }}
inner_l3v6:
proto: {{ get(flow.inner_proto, "udp") }},
- srcip6: {{ get(private.ipv4_1.inner_l3v6.dstip6) }}
- dstip6: {{ get(private.ipv4_1.inner_l3v6.srcip6) }}
+ srcip6: {{ get(uplink.ipv4_1.inner_l3v6.dstip6) }}
+ dstip6: {{ get(uplink.ipv4_1.inner_l3v6.srcip6) }}
ttl: 32
tc: {{ get(flow.inner_tos, 0) }}
inner_l4:
- srcport: {{ get(private.ipv4_1.inner_l4.dstport) }}
- dstport: {{ get(private.ipv4_1.inner_l4.srcport) }}
+ srcport: {{ get(uplink.ipv4_1.inner_l4.dstport) }}
+ dstport: {{ get(uplink.ipv4_1.inner_l4.srcport) }}