dfilppi | 9981f55 | 2017-08-07 20:10:53 +0000 | [diff] [blame] | 1 | |
| 2 | Nova-net Support |
| 3 | ================ |
| 4 | |
| 5 | The Openstack plugin includes support for Nova-net mode - |
| 6 | i.e. an Openstack installation which does not have the Networking API |
| 7 | (Neutron service). |
| 8 | |
| 9 | In such an environment, there is but a single preconfigured private network, |
| 10 | which all servers make use of automatically. |
| 11 | There are no subnets, networks, routers or ports. |
| 12 | Since these resource types don't exist, |
| 13 | the plugin's equivalent types aren't valid to use in such an environment. |
| 14 | |
| 15 | There are, however, some resource types whose API is available via both the Nova and Neutron services - These had originally been on the Nova service, |
| 16 | and later were moved and got extended implementation in the Neutron one, |
| 17 | but were also kept in the Nova service for backward compatibility. |
| 18 | |
| 19 | For these resource types, the Openstack plugin defines two separate types - one in the plugin's standard types namespace (``cloudify.openstack.nodes.XXX``), |
| 20 | which uses the newer and extended API via the Neutron service; |
| 21 | and Another in a special namespace (``cloudify.openstack.nova_net.nodes.XXX``), |
| 22 | which uses the older API via the Nova service. |
| 23 | This is why you may notice two separate types defined for [Floating](#cloudifyopenstacknodesfloatingip) [IP](#cloudifyopenstacknovanetnodesfloatingip), |
| 24 | as well as for [Security](#cloudifyopenstacknodessecuritygroup) [Group](#cloudifyopenstacknovanetnodessecuritygroup). |
| 25 | |
| 26 | |
| 27 | To summarize, ensure that when working in a Nova-net Openstack environment, |
| 28 | Neutron types aren't used - these include all types whose resources' APIs are natively available only via the Network API, |
| 29 | as well as the types which are in the ``cloudify.openstack.nova_net.Nodes`` namespace. |
| 30 | |
| 31 | On the opposite side, when using an Openstack environment which supports Neutron, |
| 32 | it's recommended to use the Neutron-versions of the relevant types |
| 33 | (i.e. avoid any types defined under the |
| 34 | ``cloudify.openstack.nova_net.Nodes`` namespace), |
| 35 | as they offer more advanced capabilities. |
| 36 | However, it's important to mention that this is not required, |
| 37 | and using the Nova-versions of some types in a Neutron-enabled environment is possible and will work as well. |
| 38 | |
| 39 | |
| 40 | Nova-net Node Types |
| 41 | ------------------- |
| 42 | |
| 43 | |
| 44 | .. cfy:node:: cloudify.openstack.nova_net.nodes.FloatingIP |
| 45 | |
| 46 | |
| 47 | .. cfy:node:: cloudify.openstack.nova_net.nodes.SecurityGroup |
| 48 | |