Skip to content

Mitaka nfp 08 june 2016 oslo with perf#435

Open
mak-454 wants to merge 20 commits into
mitaka_21st_march_basefrom
mitaka_nfp_08_june_2016_oslo_with_perf
Open

Mitaka nfp 08 june 2016 oslo with perf#435
mak-454 wants to merge 20 commits into
mitaka_21st_march_basefrom
mitaka_nfp_08_june_2016_oslo_with_perf

Conversation

@mak-454

@mak-454 mak-454 commented Jun 13, 2016

Copy link
Copy Markdown

No description provided.

context, network_function_id, operation='create')

# Check for NF status in a separate thread
gth = self.thread_pool.spawn(self._wait_for_network_function_operation_completion,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pep8 error

@ashutosh-mishra

Copy link
Copy Markdown

Did we tested this with multiple prs ?
Did we tested N-S scenario ?

consumer_ports = None

if service_targets['consumer_pt_objs']:
consumer_pt = service_targets.get('consumer_pt_objs', [None])[0]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None never get executed, since we already checked with if.
Why we are doing different for both provider, consumer, Can we do in similar way

@ashutosh-mishra

Copy link
Copy Markdown

Can we remove all *_v1 functions ?
If not then can we rename all new functions to older functions, and remove older functions.
Why to add duplicate/unused code ?

def _get_heat_client_v1(self, tenant_id, assign_admin=False):
if assign_admin:
try:
self._assign_admin_user_to_project(tenant_id)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need new function ?
Except assign_admin variable, code is same with function _get_heat_client()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants