Skip to content

Commit 3ebcfa9

Browse files
author
Anthony Xu
committed
save securitygroupenabled in host details
1 parent 4238ac9 commit 3ebcfa9

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ public Map<? extends ServerResource, Map<String, String>> find(long dcId, Long p
312312
DataCenterVO zone = _dcDao.findById(dcId);
313313
boolean securityGroupEnabled = zone.isSecurityGroupEnabled();
314314
params.put("securitygroupenabled", Boolean.toString(securityGroupEnabled));
315+
details.put("securitygroupenabled", Boolean.toString(securityGroupEnabled));
315316

316317
params.put("wait", Integer.toString(_wait));
317318
details.put("wait", Integer.toString(_wait));

‎plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5902,7 +5902,6 @@ protected void fillHostInfo(Connection conn, StartupRoutingCommand cmd) {
59025902
details.put("private.network.device", _privateNetworkName);
59035903
}
59045904

5905-
details.put("can_bridge_firewall", Boolean.toString(_canBridgeFirewall));
59065905
cmd.setHostDetails(details);
59075906
cmd.setName(hr.nameLabel);
59085907
cmd.setGuid(_host.uuid);

0 commit comments

Comments
 (0)