mirror of https://github.com/apache/jclouds.git
When network's vlan tag is not null, broadcast uri is vlan://<vlanTag>
This commit is contained in:
parent
5df7f7d148
commit
b0b79e3d5a
|
@ -55,8 +55,6 @@ public class NetworkClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
assert network.getGuestIPType() != null && network.getGuestIPType() != GuestIPType.UNRECOGNIZED : network;
|
||||
assert network.getAccount() != null : network;
|
||||
assert network.getBroadcastDomainType() != null : network;
|
||||
// TODO understand when this is null and for what reason
|
||||
// assert network.getBroadcastURI() != null : network;
|
||||
assert network.getDisplayText() != null : network;
|
||||
assert network.getNetworkDomain() != null : network;
|
||||
assert network.getNetworkOfferingAvailability() != null : network;
|
||||
|
@ -82,6 +80,7 @@ public class NetworkClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
assert network.getNetmask() != null : network;
|
||||
assert network.getGateway() != null : network;
|
||||
assert network.getVLAN() != null : network;
|
||||
assertEquals(network.getBroadcastURI(), "vlan://" + network.getVLAN());
|
||||
assert network.getStartIP() != null : network;
|
||||
assert network.getEndIP() != null : network;
|
||||
break;
|
||||
|
@ -89,5 +88,4 @@ public class NetworkClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue