Hi,

I have couple of doubts regarding gluon core plugin code, which are listed
below

1) https://github.com/openstack/gluon/blob/master/gluon/plugin/core.py

def *create_subnet*(self, context, subnet): #Line 176-191
        """
        Comment
        """
        result = super(GluonPlugin, self).create_subnet(context, subnet)
        LOG.debug(result)
        return result

def *create_network*(self, context, network): #Line 350-365
        """Comment
        """
        result = super(GluonPlugin, self).create_network(context, network)
        LOG.debug(result)
        return result
def *create_port*(self, context, port):  #Line 466-481
        """
        Comment
        """
        *self.update_gluon_objects(context)*
        result = super(GluonPlugin, self).create_port(context, port)
        LOG.debug(result)
        return result
*def update_gluon_port(self, backend, id, port): *#Line 135-160
        result = dict()
        try:
            driver = self.backend_manager.get_backend_driver(
                backend, self.gluon_network, self.gluon_subnet)
            port_data = port["port"]
            host_id = port_data.get('binding:host_id', None)
            LOG.debug("host_id = %s" % host_id)
            if host_id is None:
                LOG.debug("Performing unbind")


why create network and subnet information only added to GluonPlugin(here
Gluon work as core plugin). and it is not updated to any backend like how
gluon create port does ?

2) As gluon network and subnet information not updated to backend. How SDN
controller will realize network and subnet information from openstack
controller node ? I think, after updating ml2 mechanism driver in ml2.ini
file, right ?


Thanks and Regards,
Mohammad Shahid
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to