Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How does MechanismDriver api reflects on the topology?

Im trying to make a mechanism driver, but i wasn't able to find how exactly each api (create network, create port...) would reflect on the actual topology (switchs), how they should be connected and so on. Is there a pattern to how this apis should reflect on the hardwares? how they should be connected to form a topology? or OpenStack somehow detects the connections?

thanks in advance!

click to hide/show revision 2
No.2 Revision

How does MechanismDriver api reflects on the topology?

Im I'm trying to make a mechanism driver, but i I wasn't able to find how exactly each api (create network, create port...) would reflect on the actual topology (switchs), (switches), or how they should be connected and so on. Is there a pattern to about how this apis should reflect on the hardwares? how they should be connected to form a topology? or Or does OpenStack somehow detects the connections?

thanks in advance!

click to hide/show revision 3
No.3 Revision

How does MechanismDriver api reflects on the topology?

I'm trying to make a mechanism driver, but I wasn't able to find how exactly each api (create network, create port...) would reflect on the actual topology (switches), or how they should be connected and so on. Is there a pattern about how this apis should reflect on the hardwares? how How they should be connected to form a topology? Or does OpenStack somehow detects the connections?

thanks in advance!

How does MechanismDriver api reflects on the topology?

I'm trying to make a mechanism driver, but I wasn't able to find how exactly each api (create network, create port...) would reflect on the actual topology (switches), or how they should be connected and so on. Is there a pattern about how this apis should reflect on the hardwares? How they should be connected to form a topology? Or does OpenStack somehow detects the connections?

thanks These are the main documentations that we are using in order to learn on how to create the driver: http://docs.openstack.org/api/openstack-network/2.0/content/ https://wiki.openstack.org/wiki/NeutronDevelopment

Here is an example of what we don't know: once we receive a "Create Network" API call we don't know how exactly it reflects on ANY switch configuration. Suppose we receive a create_network with the tenant_id = tid and we use the TypeDriver VLAN, should we create a VLAN on the swtich with vid = tid? On a create_port API call should we add a specifc port -manually- to this vlan? Another thing that comes to mind is if there is a default port or do we get the correct port fron Neutron context?

Those kind of questions leads us to this main question: is there any kind of documentation that explains on how the topology may be affected by the API calls?

Thanks in advance!

How does MechanismDriver api reflects on the topology?

I'm trying to make a mechanism driver, but I wasn't able to find how exactly each api (create network, create port...) would reflect on the actual topology (switches), or how they should be connected and so on. Is there a pattern about how this apis should reflect on the hardwares? How they should be connected to form a topology? Or does OpenStack somehow detects the connections?

edited added to make te question more readable.

These are the main documentations that we are using in order to learn on how to create the driver: http://docs.openstack.org/api/openstack-network/2.0/content/ https://wiki.openstack.org/wiki/NeutronDevelopment

Here is an example of what we don't know: once we receive a "Create Network" API call we don't know how exactly it reflects on ANY switch configuration. Suppose we receive a create_network with the tenant_id = tid and we use the TypeDriver VLAN, should we create a VLAN on the swtich with vid = tid? On a create_port API call should we add a specifc port -manually- to this vlan? Another thing that comes to mind is if there is a default port or do we get the correct port fron Neutron context?

Those kind of questions leads us to this main question: is there any kind of documentation that explains on how the topology may be affected by the API calls?

Thanks in advance!