简体   繁体   中英

What is the difference between provider network and self-service network in OpenStack?

I can't understand what is the difference between these types of networks.
When I reed about it:
http://docs.openstack.org/mitaka/install-guide-rdo/neutron-controller-install.html
I just see that self-service network it is provider network but better because it also provides layer-3 services. If it the difference is only in this then why/when we need provider network?

"self-service networking" allows users to create their own virtual networks, subnets, routers, etc., where as the "provider networking" does not allow users to create new virtual networking components and allow them to use only the ones that are predefined by the provider.

As the document also points out, "self-service networking" provides more options and is a superset of options available with "provider networking"; but, it also entails a bit more setup.

Expaling a little bit from the last answer:

Provider-networks are normally tied to your already-existent switching architecture, and can be used as "external-network" for OpenStack. The FIP's (floating IP's) are taken from that "external network". Normally, FLAT or VLAN based networks are used for provider-networks.

The self-service are, like the answer above, created internally by the tenant/project. Those self-service are tunneled type networks (using both gre and/or vxlan), and "tied" in a SNAT/DNAT scheme to external networks (provider-type) using a OpenStack router.

The OpenStack router have a "leg" attached to the external network, and another leg into the self-service, internal network.

Then, depending of your environment and OpenStack release (specially from Kilo to Mitaka) you can have multiple external networks, and combine different types of tunneled self-service ones (vxlan or gre). As a matter of facts, you can both assign FIP to your instances, or directly assign IP's from the provider-type net's (permissions provided of course) to your instances.

Hope this clarify a little more about the topic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM