-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
eos_static_route DI module #32587
eos_static_route DI module #32587
Conversation
2b27b41
to
4b8f4e4
Compare
4b8f4e4
to
e993ed4
Compare
0736b66
to
02131aa
Compare
0da74e5
to
6e6144e
Compare
@@ -0,0 +1,102 @@ | |||
--- | |||
- name: setup - remove config used in test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are same tests as above cli/basic.yaml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah same test. but for platform agnostic net_static_route
.
supports_check_mode=True) | ||
|
||
warnings = list() | ||
check_args(module, warnings) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verifying here that IP address and prefix are in correct format would be good.
Look for APIs:
socket.inet_pton(socket.AF_INET, address)
and socket.inet_pton(socket.AF_INET6, address)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8d03c43
to
a9cccb2
Compare
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
a9cccb2
to
3d7a2b0
Compare
Signed-off-by: Trishna Guha trishnaguha17@gmail.com
SUMMARY
eos_static_route DI module #31299
Integration test
ISSUE TYPE
COMPONENT NAME
module_utils/network_common
modules/network/eos/eos_static_route
test/integration/targets/eos_static_route/*
test/integration/targets/net_static_route/*
ANSIBLE VERSION