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