@@ -860,7 +860,7 @@ private static NetworkVO getNetworkVO(long id, final NetworkOffering offering, f
860860 final NetworkVO vo = new NetworkVO (id , network , offering .getId (), guru .getName (), owner .getDomainId (), owner .getId (),
861861 relatedFile , name , displayText , predefined .getNetworkDomain (), offering .getGuestType (),
862862 plan .getDataCenterId (), plan .getPhysicalNetworkId (), aclType , offering .isSpecifyIpRanges (),
863- vpcId , offering .isRedundantRouter (), predefined . getExternalId () );
863+ vpcId , offering .isRedundantRouter ());
864864 vo .setDisplayNetwork (isDisplayNetworkEnabled == null || isDisplayNetworkEnabled );
865865 vo .setStrechedL2Network (offering .isSupportingStrechedL2 ());
866866 return vo ;
@@ -2722,30 +2722,30 @@ public void removeNics(final VirtualMachineProfile vm) {
27222722 public Network createPrivateNetwork (final long networkOfferingId , final String name , final String displayText , final String gateway , final String cidr , final String vlanId , final boolean bypassVlanOverlapCheck , final Account owner , final PhysicalNetwork pNtwk , final Long vpcId ) throws ConcurrentOperationException , InsufficientCapacityException , ResourceAllocationException {
27232723 // create network for private gateway
27242724 return createGuestNetwork (networkOfferingId , name , displayText , gateway , cidr , vlanId ,
2725- bypassVlanOverlapCheck , null , owner , null , pNtwk , pNtwk .getDataCenterId (), ACLType . Account , null ,
2726- vpcId , null , null , true , null , null , null , true , null , null ,
2727- null , null , null , null , null , null );
2725+ bypassVlanOverlapCheck , null , owner , null , pNtwk , pNtwk .getDataCenterId (),
2726+ ACLType . Account , null , vpcId , null , null , true , null , null ,
2727+ null , null , null , null , null , null , null , null );
27282728 }
27292729
27302730 @ Override
27312731 @ DB
27322732 public Network createGuestNetwork (final long networkOfferingId , final String name , final String displayText , final String gateway , final String cidr , String vlanId ,
27332733 boolean bypassVlanOverlapCheck , String networkDomain , final Account owner , final Long domainId , final PhysicalNetwork pNtwk ,
27342734 final long zoneId , final ACLType aclType , Boolean subdomainAccess , final Long vpcId , final String ip6Gateway , final String ip6Cidr ,
2735- final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType , String externalId ,
2735+ final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType ,
27362736 String routerIp , String routerIpv6 , String ip4Dns1 , String ip4Dns2 , String ip6Dns1 , String ip6Dns2 ,
27372737 Pair <Integer , Integer > vrIfaceMTUs , Integer networkCidrSize ) throws ConcurrentOperationException , InsufficientCapacityException , ResourceAllocationException {
27382738 // create Isolated/Shared/L2 network
27392739 return createGuestNetwork (networkOfferingId , name , displayText , gateway , cidr , vlanId , bypassVlanOverlapCheck ,
27402740 networkDomain , owner , domainId , pNtwk , zoneId , aclType , subdomainAccess , vpcId , ip6Gateway , ip6Cidr ,
2741- isDisplayNetworkEnabled , isolatedPvlan , isolatedPvlanType , externalId , false , routerIp , routerIpv6 , ip4Dns1 , ip4Dns2 , ip6Dns1 , ip6Dns2 , vrIfaceMTUs , networkCidrSize );
2741+ isDisplayNetworkEnabled , isolatedPvlan , isolatedPvlanType , false , routerIp , routerIpv6 , ip4Dns1 , ip4Dns2 , ip6Dns1 , ip6Dns2 , vrIfaceMTUs , networkCidrSize );
27422742 }
27432743
27442744 @ DB
27452745 private Network createGuestNetwork (final long networkOfferingId , final String name , final String displayText , final String gateway , final String cidr , String vlanId ,
27462746 boolean bypassVlanOverlapCheck , String networkDomain , final Account owner , final Long domainId , final PhysicalNetwork pNtwk ,
27472747 final long zoneId , final ACLType aclType , Boolean subdomainAccess , final Long vpcId , final String ip6Gateway , final String ip6Cidr ,
2748- final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType , String externalId ,
2748+ final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType ,
27492749 final Boolean isPrivateNetwork , String routerIp , String routerIpv6 , final String ip4Dns1 , final String ip4Dns2 ,
27502750 final String ip6Dns1 , final String ip6Dns2 , Pair <Integer , Integer > vrIfaceMTUs , Integer networkCidrSize ) throws ConcurrentOperationException , InsufficientCapacityException , ResourceAllocationException {
27512751
@@ -3013,13 +3013,9 @@ public Network doInTransaction(final TransactionStatus status) {
30133013 userNetwork .setIp6Gateway (ip6Gateway );
30143014 }
30153015
3016- if (externalId != null ) {
3017- userNetwork .setExternalId (externalId );
3018- }
3019-
3020- if (StringUtils .isNotBlank (routerIp )) {
3021- userNetwork .setRouterIp (routerIp );
3022- }
3016+ if (StringUtils .isNotBlank (routerIp )) {
3017+ userNetwork .setRouterIp (routerIp );
3018+ }
30233019
30243020 if (StringUtils .isNotBlank (routerIpv6 )) {
30253021 userNetwork .setRouterIpv6 (routerIpv6 );
0 commit comments