mirror of https://github.com/apache/cloudstack.git
Corrected parsing vlan tag in JuniperSrx resource
With out this chagne ipAssoc command for juniperSrx is failed
This commit is contained in:
parent
80a5dd75cd
commit
8454885fbe
|
|
@ -700,7 +700,7 @@ public class JuniperSrxResource implements ServerResource {
|
|||
Long publicVlanTag = null;
|
||||
if (ip.getBroadcastUri() != null && !ip.getBroadcastUri().equals("untagged")) {
|
||||
try {
|
||||
publicVlanTag = Long.parseLong(ip.getBroadcastUri());
|
||||
publicVlanTag = Long.parseLong(BroadcastDomainType.getValue(ip.getBroadcastUri()));
|
||||
} catch (Exception e) {
|
||||
throw new ExecutionException("Could not parse public VLAN tag: " + ip.getBroadcastUri());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue