Moti Asayag has uploaded a new change for review.

Change subject: engine: Configure unique host name on neutron.conf
......................................................................

engine: Configure unique host name on neutron.conf

The agent name should be determined by the engine to
support its association with the ml2 port bindings.

Change-Id: I18db7cce8769b23b1fafcf5ac31ebdb7556a7cec
Signed-off-by: Moti Asayag <masa...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsDeploy.java
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/91/28791/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsDeploy.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsDeploy.java
index 7e76ae2..2a71ff4 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsDeploy.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsDeploy.java
@@ -496,6 +496,14 @@
         }},
         new Callable<Boolean>() 
{@CallWhen(CustomizationCondition.NEUTRON_SETUP)
         public Boolean call() throws Exception {
+            _parser.cliEnvironmentSet(
+                    OpenStackEnv.NEUTRON_CONFIG_PREFIX + "DEFAULT/host",
+                    _vds.getHostName()
+                );
+            return true;
+        }},
+        new Callable<Boolean>() 
{@CallWhen(CustomizationCondition.NEUTRON_SETUP)
+        public Boolean call() throws Exception {
             _setCliEnvironmentIfNecessary(
                 OpenStackEnv.NEUTRON_CONFIG_PREFIX + "DEFAULT/" + 
_messagingConfiguration.getBrokerType().getHostKey(),
                 _messagingConfiguration.getAddress()


-- 
To view, visit http://gerrit.ovirt.org/28791
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18db7cce8769b23b1fafcf5ac31ebdb7556a7cec
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to