cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/mo
Wido den Hollander 9988c269b2 CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046)
* Cleanup and Improve NetUtils

This class had many unused methods, inconsistent names and redundant code.

This commit cleans up code, renames a few methods and constants.

The global/account setting 'api.allowed.source.cidr.list' is set
to 0.0.0.0/0,::/0 by default preserve the current behavior and thus
allow API calls for accounts from all IPv4 and IPv6 subnets.

Users can set it to a comma-separated list of IPv4/IPv6 subnets to
restrict API calls for Admin accounts to certain parts of their network(s).

This is to improve Security. Should an attacker steal the Access/Secret key
of an account he/she still needs to be in a subnet from where accounts are
allowed to perform API calls.

This is a good security measure for APIs which are connected to the public internet.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2018-01-04 10:56:30 +05:30
..
BaseMO.java CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-04-01 00:09:53 -06:00
ClusterMO.java CLOUDSTACK-9719: [VMware] VR loses DHCP settings and VMs cannot obtain IP after HA recovery - Set high restart priority for the VR. 2017-04-11 10:48:42 +05:30
CustomFieldConstants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
CustomFieldsManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
DatacenterMO.java CLOUDSTACK-8112. CS allows creation of VM's with the same Display name when vm.instancename.flag is set to true. 2014-12-23 13:48:01 +05:30
DatastoreFile.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
DatastoreMO.java CLOUDSTACK-9972: Enhance listVolume API to include physical size and … (#2158) 2017-11-05 21:44:43 +05:30
DiskControllerType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
DistributedVirtualSwitchMO.java CLOUDSTACK-3223 Exception observed while creating CPVM in VMware Setup with DVS 2017-03-02 02:48:06 +05:30
FeatureKeyConstants.java CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error 2013-07-08 12:49:39 +05:30
HostDatastoreBrowserMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostDatastoreSystemMO.java CLOUDSTACK-9408 for the move away from download.cloud.com 2017-04-20 11:35:36 +05:30
HostFirewallSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostMO.java CLOUDSTACK-9719: [VMware] VR loses DHCP settings and VMs cannot obtain IP after HA recovery - Set high restart priority for the VR. 2017-04-11 10:48:42 +05:30
HostNetworkSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostStorageSystemMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostVirtualNicType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
HttpNfcLeaseMO.java Fix findbugs encoding warning in HttpNfcLeaseMO VMWare ovf files are utf-8 encoded. Relying on default encoding in some platforms such as windows would cause erroneous characters from being read on some fields like description, and could also cause the import to fail, depending on the characters. 2015-06-15 12:00:02 +03:00
HypervisorHostHelper.java CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046) 2018-01-04 10:56:30 +05:30
LicenseAssignmentManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
LicenseManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
NetworkDetails.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NetworkMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
PerfCounterInfoMapper.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
PerfManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
ScsiDiskControllerType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
SnapshotDescriptor.java CLOUDSTACK-8656: try-with-resource in vmsd reader 2015-08-04 11:37:06 +02:00
TaskMO.java CLOUDSTACK-8656: filling empty catch block with info messages 2015-07-30 15:51:52 +02:00
VersioningContants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualDiskManagerMO.java CLOUDSTACK-8956: Add VMware Api v5.5 and change pom.xml to use VMware Api v5.5 2015-11-16 11:29:30 -08:00
VirtualEthernetCardType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualMachineDiskInfoBuilder.java vmware: improve support for disks 2016-04-18 22:44:18 +05:30
VirtualMachineMO.java CLOUDSTACK-9972: Enhance listVolume API to include physical size and … (#2158) 2017-11-05 21:44:43 +05:30
VirtualSwitchType.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VmdkAdapterType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmdkFileDescriptor.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmwareHostType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmwareHypervisorHost.java CLOUDSTACK-9719: [VMware] VR loses DHCP settings and VMs cannot obtain IP after HA recovery - Set high restart priority for the VR. 2017-04-11 10:48:42 +05:30
VmwareHypervisorHostNetworkSummary.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VmwareHypervisorHostResourceSummary.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00