commit f528dba3968d69b5dd97345757561ec614f9ae51
Author: Adrian Szczepański <email address hidden>
Date: Wed Jun 20 11:14:55 2018 +0200
VCenter Port management refactor
Use Criteria to fetch DVPorts
Add method for retrieving DVS by UUID
Change VCenterPort constructor to consume whole device object
Change set_vlan_id signature to consume whole VCenterPort object
Change get_vlan_id signature to consume only VCenterPort object
Change restore_vlan_id signature to consume only VCenterPort object
Extract fetching port from dvs to a function
Extract creating inherited port config spec to a function
Remove unused get_ip_pool methods from VCenterAPIClient
Catch exceptions for vrouter-uuid annotation reading
Remove NoneType check from create_and_read_instance_ip
Partial-Bug: #1777404
Change-Id: I271ff574509fbbb070acb0ddaa0a35f5a76ea5ce
(cherry picked from commit 7f3b6588ace16c7ad24412239c14852e5a4b9afc)
Reviewed: https:/ /review. opencontrail. org/44019 github. com/Juniper/ contrail- vcenter- manager/ commit/ f528dba3968d69b 5dd97345757561e c614f9ae51
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0
commit f528dba3968d69b 5dd97345757561e c614f9ae51
Author: Adrian Szczepański <email address hidden>
Date: Wed Jun 20 11:14:55 2018 +0200
VCenter Port management refactor
Use Criteria to fetch DVPorts and_read_ instance_ ip
Add method for retrieving DVS by UUID
Change VCenterPort constructor to consume whole device object
Change set_vlan_id signature to consume whole VCenterPort object
Change get_vlan_id signature to consume only VCenterPort object
Change restore_vlan_id signature to consume only VCenterPort object
Extract fetching port from dvs to a function
Extract creating inherited port config spec to a function
Remove unused get_ip_pool methods from VCenterAPIClient
Catch exceptions for vrouter-uuid annotation reading
Remove NoneType check from create_
Partial-Bug: #1777404 b070acb0ddaa0a3 5f5a76ea5ce ad24412239c1485 2e5a4b9afc)
Change-Id: I271ff574509fbb
(cherry picked from commit 7f3b6588ace16c7