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

Command Status and Report Generations #1854

Open
wants to merge 90 commits into
base: AV-104274
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
ca41392
Command Status and Report Generations
sagarpsalvi Nov 25, 2021
a42054c
Minor Changes
sagarpsalvi Nov 25, 2021
94caa28
Added prefix and migration of profile converter
agarwalme Nov 25, 2021
67da3e6
Command Status and Reports for Http Application Profile
sagarpsalvi Nov 29, 2021
5dce37e
report generation for network profile
agarwalme Nov 30, 2021
2c4d3b6
changed command_status.yaml
agarwalme Dec 1, 2021
15fe81e
Minor Changes
sagarpsalvi Dec 1, 2021
902b790
converted config to ansible playbook , added progress bar and made so…
agarwalme Dec 3, 2021
6709a45
minor changes
agarwalme Dec 3, 2021
5ce775d
Unit testing for profile and pool conversion
agarwalme Dec 7, 2021
51c1aad
#AV-103663: NSX-T to ALB migration pep8 fixes
Dec 8, 2021
85888e5
#AV-103663: NSX-T to ALB migration fix excel path
Dec 8, 2021
a9f9c6b
unit-testing for monitor convertion
agarwalme Dec 8, 2021
2023439
unit-test for monitor conversion
agarwalme Dec 8, 2021
562c69d
Code Reafactor & Log Generation
sagarpsalvi Dec 8, 2021
8dd89a8
#AV-103663: NSX-T to ALB migration support for migrate to option
Dec 8, 2021
f6401d0
Minor changes
sagarpsalvi Dec 8, 2021
b7804f1
Minor change in Testcases
sagarpsalvi Dec 8, 2021
baf10d9
#AV-103663: NSX-T to ALB migration fixed ansible migration issues
Dec 8, 2021
78b721a
Added Logs
sagarpsalvi Dec 8, 2021
905b62f
added test cases and minor changes in nsxt converter code
agarwalme Dec 14, 2021
90f3578
implemented object merging for HealthMonitor , Application and networ…
agarwalme Dec 16, 2021
7e962b4
Added Avi object for merged objects of application profile
agarwalme Dec 21, 2021
eb3ce29
Added the migration of vs
agarwalme Dec 22, 2021
4b88c16
Migration of vs and test cases
agarwalme Dec 24, 2021
371b7c9
added code for overall skipped setting in vs
agarwalme Jan 12, 2022
f432ea8
SSL Cert Changes
sagarpsalvi Jan 5, 2022
2404109
Final Changes SSL merges with AVI
sagarpsalvi Jan 12, 2022
bef7caf
Minor changes
sagarpsalvi Jan 16, 2022
0527c0c
Added test cases for vs and have done some modification in earlier te…
agarwalme Jan 17, 2022
83140b5
minor modifications
agarwalme Jan 18, 2022
e6fdac9
minor change in ssl and persistence file
agarwalme Jan 19, 2022
f6e3c8e
added test cases for ssl and persistance profile
agarwalme Jan 19, 2022
97e5492
added vs_filter
agarwalme Jan 20, 2022
f0cb717
Minor Fixes Demo code to upload alb config to ALB
sagarpsalvi Jan 21, 2022
b0a57a9
Upload Avi Config
sagarpsalvi Jan 25, 2022
9f2e52c
SSL Configuration Changes
sagarpsalvi Jan 25, 2022
9d1ca23
added code for patch , config , minor changes in not applicable list .
agarwalme Feb 9, 2022
e500fb6
added code for preserve client ip
agarwalme Feb 10, 2022
dd54b9f
HttpPolicySet Rules
sagarpsalvi Feb 11, 2022
31f367c
Code for PKI profile , minor changes in not applicable list
agarwalme Feb 15, 2022
f8aa9df
Rule Integration added skipped settings and na setings
sagarpsalvi Feb 15, 2022
d99b45b
Minor Changes
sagarpsalvi Feb 15, 2022
d9740e6
added code for changes in avi mapping
agarwalme Feb 17, 2022
3e83d23
completed the changes as per the changes in avi mapping sheet , added…
agarwalme Feb 23, 2022
2a6c58e
added code for nsx-cleanup
agarwalme Feb 28, 2022
d8bcffe
Policy Rules Minor changes
sagarpsalvi Mar 2, 2022
f2d2159
added code for new mapping
agarwalme Mar 16, 2022
8151c5f
minor changes
agarwalme Mar 16, 2022
7233b7d
minor changes in conversion_util file
agarwalme Mar 16, 2022
7af35ae
Added code for new mapping for ssl , monitor and persistence and modi…
agarwalme Mar 22, 2022
fed0c82
Added Discovery tool code
agarwalme Apr 1, 2022
4b6d9df
Discovery tool code changes
agarwalme Apr 1, 2022
00b1850
Code for vlan pool config , added cloud ref , discovery tool script
agarwalme Apr 18, 2022
116c286
Added pool group configuration
agarwalme Apr 28, 2022
03d72b4
Minor changes
agarwalme May 19, 2022
da27119
Done Changes in the skipped and indirect setting , vs filter
agarwalme May 20, 2022
fe23308
Done changes in the code regarding ids and name
agarwalme May 24, 2022
89d2f7b
Added filters for nsx cleanup code
agarwalme May 25, 2022
53d63a9
Added migration code for
shardullatkar May 30, 2022
9f25c96
Added support for vs_state and traffic_enabled
Rohan-sss1 May 31, 2022
5dfe57e
Merge branch 'SS-AV-104274' of https://github.com/vmware/alb-sdk into…
Rohan-sss1 May 31, 2022
c849b5a
Fixed minor changes
Rohan-sss1 May 31, 2022
9023a25
Fixed tenant and cloud ref , fixed the vs filter issues
agarwalme May 31, 2022
6bb7dd9
fixed cloud ref
agarwalme Jun 1, 2022
399953a
minor fixes
agarwalme Jun 1, 2022
ff866af
minor fixed for traffic
Rohan-sss1 Jun 1, 2022
8c8dc45
minor fix regarding cloud
agarwalme Jun 1, 2022
25c416a
fix in nsxt_util
agarwalme Jun 1, 2022
944de19
fixes regarding cloud , pools
agarwalme Jun 2, 2022
f5fe462
fixed overlay cloud
agarwalme Jun 2, 2022
f1a997a
minor changes
agarwalme Jun 2, 2022
d0980e0
changes for vs filter
agarwalme Jun 2, 2022
ab7b3d0
Added certificate handling, fixed script parameters, rollback and cut…
shardullatkar Jun 3, 2022
d79b05b
Fixed known hosts issue in paramiko, fixed cert logger
shardullatkar Jun 3, 2022
4fe2dcf
added placement network script to vs vip
agarwalme Jun 3, 2022
20a1ad8
Added fixes for following
shardullatkar Jun 5, 2022
19e875a
fixed test cases and fixes vs script
agarwalme Jun 5, 2022
9e7ad3e
Updated example
Rohan-sss1 Jun 6, 2022
a598604
Fixed following points
shardullatkar Jun 7, 2022
2be3c26
Added tenant ref
agarwalme Jun 7, 2022
91f583f
Fixed paramiko ssh connect error, removed duplicate parameter
shardullatkar Jun 7, 2022
5259648
changes for tenant ref in ssl profile
agarwalme Jun 14, 2022
9bc854c
Added script for pool sharing and pool group
agarwalme Jun 15, 2022
4e6ef56
minor changes in pool sharing script
agarwalme Jun 15, 2022
0b68dc0
change in network ref
agarwalme Jun 16, 2022
12262ea
added passwords in environment variables , added ssh root password
agarwalme Jun 16, 2022
ee83560
minor changes
agarwalme Jun 16, 2022
d297d4c
changes in console data format
agarwalme Jun 17, 2022
48d776f
minor changes in pool and vs
agarwalme Jun 20, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ def build_ansible_objects(self, obj_type, objs, ansible_dict, inuse_list):
Returns
Ansible dict
"""

for obj in objs:

task = deepcopy(obj)
# Added tag for checking object ref.
if isinstance(task, str):
Expand Down Expand Up @@ -499,6 +501,7 @@ def generate_traffic(self, ansible_dict, f5server, f5username, f5password,

def write_ansible_playbook(self, f5server=None, f5user=None,
f5password=None, instance_type=None):

"""
Create the ansible playbook based on output json
:param f5server: Ip of f5 server
Expand All @@ -514,7 +517,7 @@ def write_ansible_playbook(self, f5server=None, f5user=None,
% self.outdir
# Get the reference object list for not_in_use tag.
inuse_list = []
if not self.not_in_use:
if 'VirtualService' in self.avi_cfg and not self.not_in_use:
inuse_list = filter_for_vs(self.avi_cfg)
ad = deepcopy(ansible_dict)
generate_traffic_dict = deepcopy(ansible_dict)
Expand Down
3 changes: 2 additions & 1 deletion python/avi/migrationtools/avi_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class AviConverter(object):
user = None
password = None
tenant = None
prefix = None

def print_pip_and_controller_version(self):
pass
Expand All @@ -45,7 +46,7 @@ def process_for_utils(self, avi_config):
avi_config = cp.patch()
# Check if vs_filter args present then execute vs_filter.py with args
if self.vs_filter:
avi_config = filter_for_vs(avi_config, self.vs_filter)
avi_config = filter_for_vs(avi_config, self.vs_filter, self.prefix)
return avi_config

def upload_config_to_controller(self, avi_config):
Expand Down
Loading