mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
Please note that this is a development version of nova. Many features are not available. Currently nova works on FreeBSD 11 and supports QEMU and Xen. Common issues: - Security groups are not implemented - ARP spoofing, DHCP isolation protection are not implemented - Nova services work from the root user - No IPv6 support QEMU issues: - Need to enable serialconsole (TCP) - Need to disable online CPU tracking - Cannot mount cinder volumes Xen issues: - Live snapshots don't work - No support for cinder volume hot-plugging - XENBUS delay (5 min) when using qemu driver and COW images - Some Linux images cannot be booted For further FreeBSD specific notes please refer to port's pkg-message. PR: 215151 Submitted by: Alexander Nusov (alexander.nusov@nfvexpress.com)
51 lines
1.6 KiB
Diff
51 lines
1.6 KiB
Diff
diff --git a/nova/conf/network.py b/nova/conf/network.py
|
|
index 3bb4cd9..eb57041 100644
|
|
--- a/nova/conf/network.py
|
|
+++ b/nova/conf/network.py
|
|
@@ -704,6 +704,30 @@ Related options:
|
|
"""),
|
|
]
|
|
|
|
+freebsd_net_opts = [
|
|
+ cfg.StrOpt("freebsdnet_interface_driver",
|
|
+ default="nova.network.freebsd.FreeBSDBridgeInterfaceDriver",
|
|
+ help="""
|
|
+This is the class used as the ethernet device driver for freebsdnet bridge
|
|
+operations. The default value should be all you need for most cases, but if you
|
|
+wish to use a customized class, set this option to the full dot-separated
|
|
+import path for that class.
|
|
+
|
|
+Possible values:
|
|
+
|
|
+ Any string representing a dot-separated class path that Nova can import.
|
|
+"""),
|
|
+ cfg.StrOpt("freebsdnet_ovs_integration_bridge",
|
|
+ default="br-int",
|
|
+ help="""
|
|
+The name of the Open vSwitch bridge that is used with freebsdnet when connecting
|
|
+with Open vSwitch."
|
|
+
|
|
+Possible values:
|
|
+
|
|
+ Any string representing a valid bridge name.
|
|
+"""),
|
|
+]
|
|
|
|
ldap_dns_opts = [
|
|
cfg.StrOpt('ldap_dns_url',
|
|
@@ -766,12 +790,13 @@ by using this option.
|
|
'some rpc network calls will be sent directly to host.'),
|
|
]
|
|
|
|
-ALL_DEFAULT_OPTS = (linux_net_opts + network_opts + ldap_dns_opts
|
|
+ALL_DEFAULT_OPTS = (linux_net_opts + freebsd_net_opts + network_opts + ldap_dns_opts
|
|
+ rpcapi_opts + driver_opts)
|
|
|
|
|
|
def register_opts(conf):
|
|
conf.register_opts(linux_net_opts)
|
|
+ conf.register_opts(freebsd_net_opts)
|
|
conf.register_opts(network_opts)
|
|
conf.register_opts(ldap_dns_opts)
|
|
conf.register_opts(driver_opts)
|
|
|