-
Notifications
You must be signed in to change notification settings - Fork 71
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
Command Status and Report Generations #1854
base: AV-104274
Are you sure you want to change the base?
Conversation
@sagarpsalvi, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction. |
@@ -17,6 +17,6 @@ def get_nsx_config(self): | |||
return nsx_lb_config | |||
|
|||
if __name__ == "__main__": | |||
nsx_util = NSXUtil('admin', 'Admin!23Admin', '10.168.204.70', '443') | |||
nsx_util = NSXUtil('admin', 'Admin!23Admin', '10.206.96.85', '443') |
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.
Do not push creds in repo
import os | ||
from pprint import PrettyPrinter | ||
|
||
SUPPORTED_ALB_OBJECTS = [ |
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.
Move this information to yaml file and read from file
"Webhook" | ||
] | ||
|
||
albObjectType = { |
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.
Move this to command status yaml
|
||
# SUPPORTED_ALB_OBJECTS = ['VirtualService'] | ||
|
||
NOT_APPLICABLE = ['url', 'uuid', 'tenant_ref'] |
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.
Move to command status yaml
output_dir, report_name, vs_level_status) | ||
|
||
def get_port_by_protocol(self, protocol): | ||
""" |
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.
Convert to static map
if skipped_setting['pools']: | ||
return skipped_setting | ||
|
||
def vs_complexity_level(self): |
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.
Remove unused code if can be reused from F5 migration tool utils then move to base util class
-vs skip for unsupported topology -SSL cipher string issue -cleanup of parameters -added examples of parameter usage -seperate cleanup script
-Added example for config file and moved sample files to test directory -Renamed controller parameters -Removed unwanted/unsupported parameters -Fixed warning messages
Changes Done