Skip to content

Commit

Permalink
Added fanout support for 100G Interface
Browse files Browse the repository at this point in the history
  • Loading branch information
abirami-n authored and skg-net committed May 18, 2018
1 parent f56998b commit 878b811
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Role variables
| ``switchport`` | boolean: true,false\* | Configures an interface in L2 mode | dellos9, dellos10 |
| ``admin`` | string: up,down\* | Configures the administrative state for the interface; configuring the value as administratively "up" enables the interface; configuring the value as administratively "down" disables the interface | dellos6, dellos9, dellos10 |
| ``mtu`` | integer | Configures the MTU size for L2 and L3 interfaces; example, MTU range is 594 to 12000 for dellos9 devices, 1280 to 65535 on dellos10 devices, and set globally on dellos6 devices | dellos9, dellos10 |
| ``fanout`` | boolean: true,false | Configures fanout on the port if set to true | dellos9, dellos10 |
| ``fanout`` | string in dellos10, boolean: true,false in dellos9 | Configures fanout on the port if set to true in dellos9 devices and to the appropriate value (10g-4x/ 40g-1x/ 25g-4x/ 100g-1x/ 50g-2x) in dellos10 devices.| dellos9, dellos10 |
| ``keepalive`` | boolean: true,false | Configures keepalive on the port if set to true | dellos9 |
| ``speed`` | string:10,100,1000,auto | Configures interface speed parameters | dellos9 |
| ``duplex`` | string: full,half | Configures interface duplex parameters | dellos9 |
Expand Down
7 changes: 4 additions & 3 deletions templates/dellos10_interface.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ dellos_interface:
ip_helper:
- ip: 10.0.0.36
state: present
fanout: True
ethernet 1/1/3:
fanout: 10g-4x
range ethernet 1/1/1-1/1/4:
switchport: True
admin: down
Expand All @@ -34,9 +35,9 @@ dellos_interface:

{% if intf_vars.fanout is defined %}
{% if intf_vars.fanout %}
interface breakout {{ port[1] }} map 10g-4x
interface breakout {{ port[1] }} map {{ intf_vars.fanout }}
{% else %}
interface breakout {{ port[1] }} map 40g-1x
no interface breakout {{ port[1] }}
{% endif %}
{% endif %}
{% if (intf_vars.fanout is defined and not intf_vars.fanout) or (intf_vars.fanout is not defined) %}
Expand Down

0 comments on commit 878b811

Please # to comment.