Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new route modules #593

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Conversation

vivekpandeyibm
Copy link
Contributor

1: Create a new route module which is able to make manual entries into the network routing tables.
2: Added "add , delete , flush , change, set, get " command to performed the operation on routing table

Output:


TASK [Add a default route] **************************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [delete a default route] ***********************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Add a route with numeric mode] ****************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [delete a route with numeric mode] *************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Add a route with ioctl preference] ************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [delete a route with ioctl preference] *********************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Add a route with verbose mode] ****************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [delete a route with verbose mode] *************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Add a route with verbose,ioctl, numeric mode] *************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Delete a route with verbose,ioctl, numeric mode] **********************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Add a route with verbose,ioctl, numeric mode] *************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Delete a route with verbose,ioctl, numeric mode] **********************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Add a route for a specific ip] ****************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Get route information for a destination] ******************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Delete a specific route with netmask] *********************************************************************************************************************************************************************************************************
changed: [root@1xxxxxxxxxxxxxxxxx]

TASK [Add a route with weight and policy] ***********************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Change route parameters] **********************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [Set route attributes] *************************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

TASK [delete route attributes] **********************************************************************************************************************************************************************************************************************
changed: [root@xxxxxxxxxxxxxxxxx]

PLAY RECAP ******************************************************************************************************************************************************************************************************************************************
root@xxxxxxxxxxxxxxxxx          : ok=19   changed=19   unreachable=0    failed=0    skipped=0    rescued=0    ignored=0  ```

Signed-off-by: vivekpandeyibm <[email protected]>
@vivekpandeyibm vivekpandeyibm self-assigned this Jan 2, 2025
@nitismis nitismis merged commit 5bb9a85 into IBM:dev-collection Jan 7, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants