Skip to content

Addition of service graph modules and their test files (DCNE-410) #754

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,23 @@ plugin_routing:
deprecation:
removal_version: 3.0.0
warning_text: Use cisco.aci.aci_l4l7_policy_based_redirect_destination instead.
aci_l4l7_service_graph_template_func_conn:
redirect: cisco.aci.aci_l4l7_service_graph_template_functional_connection
deprecation:
removal_version: 3.0.0
warning_text: Use aci_l4l7_service_graph_template_functional_connection instead.
aci_l4l7_service_graph_template_abs_conn:
redirect: cisco.aci.aci_l4l7_service_graph_template_connection
deprecation:
removal_version: 3.0.0
warning_text: Use cisco.aci.aci_l4l7_service_graph_template_connection instead.
aci_l4l7_device_selection_if_context:
redirect: cisco.aci.aci_l4l7_device_selection_interface_context
deprecation:
removal_version: 3.0.0
warning_text: Use cisco.aci.aci_l4l7_device_selection_interface_context instead.
aci_l4l7_service_graph_template_abs_connection_conns:
redirect: cisco.aci.aci_l4l7_service_graph_template_connection_to_connector
deprecation:
removal_version: 3.0.0
warning_text: Use cisco.aci.aci_l4l7_service_graph_template_connection_to_connector instead.
28 changes: 28 additions & 0 deletions plugins/module_utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,3 +451,31 @@
L4L7_FUNC_TYPES_MAPPING = {"go_to": "GoTo", "go_through": "GoThrough", "l1": "L1", "l2": "L2"}

L4L7_HASH_ALGORITHMS_MAPPING = {"source_ip": "sip", "destination_ip": "dip", "ip_and_protocol": "sip-dip-prototype"}

L4L7_FUNCTIONAL_TEMPLATE_TYPES_MAPPING = {
"adc_one_arm": "ADC_ONE_ARM",
"adc_two_arm": "ADC_TWO_ARM",
"cloud_native_fw": "CLOUD_NATIVE_FW",
"cloud_native_lb": "CLOUD_NATIVE_LB",
"cloud_vendor_fw": "CLOUD_VENDOR_FW",
"cloud_vendor_lb": "CLOUD_VENDOR_LB",
"fw_routed": "FW_ROUTED",
"fw_trans": "FW_TRANS",
"other": "OTHER",
}

L4L7_UI_TEMPLATE_TYPE = {
"ndo_implicit_template": "NDO_IMPLICIT_TEMPLATE",
"one_node_adc_one_arm": "ONE_NODE_ADC_ONE_ARM",
"one_node_adc_one_arm_l3ext": "ONE_NODE_ADC_ONE_ARM_L3EXT",
"one_node_adc_two_arm": "ONE_NODE_ADC_TWO_ARM",
"one_node_fw_routed": "ONE_NODE_FW_ROUTED",
"one_node_fw_trans": "ONE_NODE_FW_TRANS",
"two_node_fw_routed_adc_one_arm": "TWO_NODE_FW_ROUTED_ADC_ONE_ARM",
"two_node_fw_routed_adc_one_arm_l3ext": "TWO_NODE_FW_ROUTED_ADC_ONE_ARM_L3EXT",
"two_node_fw_routed_adc_two_arm": "TWO_NODE_FW_ROUTED_ADC_TWO_ARM",
"two_node_fw_trans_adc_one_arm": "TWO_NODE_FW_TRANS_ADC_ONE_ARM",
"two_node_fw_trans_adc_one_arm_l3ext": "TWO_NODE_FW_TRANS_ADC_ONE_ARM_L3EXT",
"two_node_fw_trans_adc_two_arm": "TWO_NODE_FW_TRANS_ADC_TWO_ARM",
"unspecified": "UNSPECIFIED",
}
Loading