Skip to content

Commit

Permalink
"Fix for static route module aoscx_static_route.py"
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwangHPEAruba committed Oct 8, 2020
1 parent 2f57cd0 commit e7eecac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.1.3

## Notable Changes
* Minor fix for static route module

# 2.1.1

## Notable Changes
Expand Down
2 changes: 1 addition & 1 deletion library/aoscx_static_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def main():
if prefix is not None:
static_route[index]["prefix"] = prefix
if route_type is not None:
static_route[index]["type"] = route_type
static_route[index]['static_nexthops']["0"]["type"] = route_type
if route_type == 'forward':
static_route[index]['static_nexthops'] = {
"0": {
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ galaxy_info:
author: Madhusudan Pranav Venugopal
Tiffany Chiapuzio-Wong
Yang Liu
Derek Wang
description: Ansible modules for configuring AOS-CX switches. (github repo - https://github.com/aruba/aoscx-ansible-role)
company: Aruba, a Hewlett Packard Enterprise Company

Expand Down

0 comments on commit e7eecac

Please sign in to comment.