Skip to content

Commit 094f7ed

Browse files
authored
Merge pull request #3015 : add kvm image support for all skus
[kvm]: add kvm image support for all skus
2 parents d5aa1d5 + 8761723 commit 094f7ed

File tree

16 files changed

+70
-865
lines changed

16 files changed

+70
-865
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{%- set default_cable = '300m' %}
2+
3+
{%- macro generate_port_lists(PORT_ALL) %}
4+
{# Generate list of ports #}
5+
{% for port_idx in range(0,32) %}
6+
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
7+
{% endfor %}
8+
{%- endmacro %}
9+
10+
{%- macro generate_buffer_pool_and_profiles() %}
11+
"BUFFER_POOL": {
12+
"ingress_lossless_pool": {
13+
"size": "12766208",
14+
"type": "ingress",
15+
"mode": "dynamic"
16+
},
17+
"egress_lossless_pool": {
18+
"size": "12766208",
19+
"type": "egress",
20+
"mode": "static"
21+
},
22+
"egress_lossy_pool": {
23+
"size": "7326924",
24+
"type": "egress",
25+
"mode": "dynamic"
26+
}
27+
},
28+
"BUFFER_PROFILE": {
29+
"ingress_lossy_profile": {
30+
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
31+
"size":"0",
32+
"dynamic_th":"3"
33+
},
34+
"egress_lossless_profile": {
35+
"pool":"[BUFFER_POOL|egress_lossless_pool]",
36+
"size":"0",
37+
"static_th":"12766208"
38+
},
39+
"egress_lossy_profile": {
40+
"pool":"[BUFFER_POOL|egress_lossy_pool]",
41+
"size":"1518",
42+
"dynamic_th":"3"
43+
}
44+
},
45+
{%- endmacro %}

device/virtual/x86_64-kvm_x86_64-r0/Force10-S6000/buffers.json.j2

-128
This file was deleted.

device/virtual/x86_64-kvm_x86_64-r0/Force10-S6000/lanemap.ini

-34
This file was deleted.

device/virtual/x86_64-kvm_x86_64-r0/Force10-S6000/pg_profile_lookup.ini

-17
This file was deleted.

device/virtual/x86_64-kvm_x86_64-r0/Force10-S6000/port_config.ini

-33
This file was deleted.

device/virtual/x86_64-kvm_x86_64-r0/Force10-S6000/qos.json.j2

-1
This file was deleted.

0 commit comments

Comments
 (0)