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

separated enterprise code from orchestrator for sharing #550

Open
wants to merge 226 commits into
base: mitaka_21st_march_base
Choose a base branch
from

Conversation

mak-454
Copy link

@mak-454 mak-454 commented Jul 24, 2016

No description provided.

ashutosh-mishra and others added 30 commits June 28, 2016 17:41
>> Added fix for docker load inside VM
>> Added a sleep after docker daemon is started and before invoking
   docker load inside VM
>> Added support for building VyOS image into devstack script
>> updated the time for VM to bootup to a safe time
>> The vyos image building scritp should be run as sudo/root
@@ -374,7 +377,7 @@ def post_event_graph(self, event, graph_nodes):
LOG.debug(message)
self._manager.process_events([event])

def post_event(self, event):
def post_event(self, event, target=None):
Copy link

Choose a reason for hiding this comment

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

What is target here? Does target indicate who should be handling it? There should be a separation between who is posting and who is handling..

Copy link
Author

Choose a reason for hiding this comment

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

yes, target is which module should be handling the event.

# is_internal_event=True)
# LOG.info(_LI("Sharing existing device: %s(device)s for reuse"),
# {'device': device})
# REVISIT(TODO): Removing sharing for cisco live demo

Choose a reason for hiding this comment

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

Why we are removing this TODO,
If we need to remove this, then remove "if 0" case also.

Copy link
Author

Choose a reason for hiding this comment

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

This is not required anymore.. yes will remove 'if 0' too.

@ashutosh-mishra
Copy link

As per my understanding, sharing code gets applicable on top of submitted master/mitaka code.
But current orchestration driver has other enterprise things also, like metrics, stats info.

@ashutosh-mishra
Copy link

What about non-hotplug sharing support, that code will be part of sharing module or new driver ?

@@ -65,7 +65,7 @@ def events_init(controller, config, device_orchestrator):
for event in events:
events_to_register.append(
Event(id=event, handler=device_orchestrator))
controller.register_events(events_to_register)
controller.register_events(events_to_register, module='device_orchestrator')

Choose a reason for hiding this comment

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

Can we put description of what this is doing ?

njagadish and others added 20 commits July 25, 2016 12:07
…ixed_unittest

Mitaka nfp 13 july 2016 fixed unittest
enhanced and fixed db migration
…erialized on servicechain_node, bug: creating multiple service_chain parallely not orking creating multiple vm ,need to fix that
…13_july

Adding advanced mode gate tests.
…nding: creating multiple service chain sharing same vm
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.