@@ -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 vo .setKeepMacAddressOnPublicNic (predefined .getKeepMacAddressOnPublicNic ());
@@ -2723,22 +2723,22 @@ public void removeNics(final VirtualMachineProfile vm) {
27232723 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 {
27242724 // create network for private gateway
27252725 return createGuestNetwork (networkOfferingId , name , displayText , gateway , cidr , vlanId ,
2726- bypassVlanOverlapCheck , null , owner , null , pNtwk , pNtwk .getDataCenterId (), ACLType . Account , null ,
2727- vpcId , null , null , true , null , null , null , true , null , null ,
2728- null , null , null , null , null , null , true );
2726+ bypassVlanOverlapCheck , null , owner , null , pNtwk , pNtwk .getDataCenterId (),
2727+ ACLType . Account , null , vpcId , null , null , true , null , null ,
2728+ null , null , null , null , null , null , null , null );
27292729 }
27302730
27312731 @ Override
27322732 @ DB
27332733 public Network createGuestNetwork (final long networkOfferingId , final String name , final String displayText , final String gateway , final String cidr , String vlanId ,
27342734 boolean bypassVlanOverlapCheck , String networkDomain , final Account owner , final Long domainId , final PhysicalNetwork pNtwk ,
27352735 final long zoneId , final ACLType aclType , Boolean subdomainAccess , final Long vpcId , final String ip6Gateway , final String ip6Cidr ,
2736- final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType , String externalId ,
2736+ final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType ,
27372737 String routerIp , String routerIpv6 , String ip4Dns1 , String ip4Dns2 , String ip6Dns1 , String ip6Dns2 ,
27382738 Pair <Integer , Integer > vrIfaceMTUs , Integer networkCidrSize ) throws ConcurrentOperationException , InsufficientCapacityException , ResourceAllocationException {
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 ,
2741+ isDisplayNetworkEnabled , isolatedPvlan , isolatedPvlanType , false , routerIp , routerIpv6 ,
27422742 ip4Dns1 , ip4Dns2 , ip6Dns1 , ip6Dns2 , vrIfaceMTUs , networkCidrSize , true );
27432743 }
27442744
@@ -2747,21 +2747,21 @@ public Network createGuestNetwork(final long networkOfferingId, final String nam
27472747 public Network createGuestNetwork (final long networkOfferingId , final String name , final String displayText , final String gateway , final String cidr , String vlanId ,
27482748 boolean bypassVlanOverlapCheck , String networkDomain , final Account owner , final Long domainId , final PhysicalNetwork pNtwk ,
27492749 final long zoneId , final ACLType aclType , Boolean subdomainAccess , final Long vpcId , final String ip6Gateway , final String ip6Cidr ,
2750- final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType , String externalId ,
2750+ final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType ,
27512751 String routerIp , String routerIpv6 , String ip4Dns1 , String ip4Dns2 , String ip6Dns1 , String ip6Dns2 ,
27522752 Pair <Integer , Integer > vrIfaceMTUs , Integer networkCidrSize , boolean keepMacAddressOnPublicNic ) throws ConcurrentOperationException , InsufficientCapacityException , ResourceAllocationException {
27532753 // create Isolated/Shared/L2 network
27542754 return createGuestNetwork (networkOfferingId , name , displayText , gateway , cidr , vlanId , bypassVlanOverlapCheck ,
27552755 networkDomain , owner , domainId , pNtwk , zoneId , aclType , subdomainAccess , vpcId , ip6Gateway , ip6Cidr ,
2756- isDisplayNetworkEnabled , isolatedPvlan , isolatedPvlanType , externalId , false , routerIp , routerIpv6 ,
2756+ isDisplayNetworkEnabled , isolatedPvlan , isolatedPvlanType , false , routerIp , routerIpv6 ,
27572757 ip4Dns1 , ip4Dns2 , ip6Dns1 , ip6Dns2 , vrIfaceMTUs , networkCidrSize , keepMacAddressOnPublicNic );
27582758 }
27592759
27602760 @ DB
27612761 private Network createGuestNetwork (final long networkOfferingId , final String name , final String displayText , final String gateway , final String cidr , String vlanId ,
27622762 boolean bypassVlanOverlapCheck , String networkDomain , final Account owner , final Long domainId , final PhysicalNetwork pNtwk ,
27632763 final long zoneId , final ACLType aclType , Boolean subdomainAccess , final Long vpcId , final String ip6Gateway , final String ip6Cidr ,
2764- final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType , String externalId ,
2764+ final Boolean isDisplayNetworkEnabled , final String isolatedPvlan , Network .PVlanType isolatedPvlanType ,
27652765 final Boolean isPrivateNetwork , String routerIp , String routerIpv6 , final String ip4Dns1 , final String ip4Dns2 ,
27662766 final String ip6Dns1 , final String ip6Dns2 , Pair <Integer , Integer > vrIfaceMTUs , Integer networkCidrSize ,
27672767 boolean keepMacAddressOnPublicNic ) throws ConcurrentOperationException , InsufficientCapacityException , ResourceAllocationException {
@@ -3030,10 +3030,6 @@ public Network doInTransaction(final TransactionStatus status) {
30303030 userNetwork .setIp6Gateway (ip6Gateway );
30313031 }
30323032
3033- if (externalId != null ) {
3034- userNetwork .setExternalId (externalId );
3035- }
3036-
30373033 if (StringUtils .isNotBlank (routerIp )) {
30383034 userNetwork .setRouterIp (routerIp );
30393035 }
0 commit comments