I'm attempting to update a virtual switch but I'm continuously getting stuck with a SOAP fault that is saying:
Fault string: fault.RestrictedVersion.summary
Fault detail: RestrictedVersionFault
ESXi server API is 2.5.0 and I re-installed the VI Perl Toolkit, ver. 1.6 that is compatible with SDK 2.5. Anyone have any points? This is the first time this issue has popped up given all the Perl scripts I have written for ESXi so far.
Here's a snip' of the code
my $vsName = Opts::get_option('vs');
my $vsPorts = Opts::get_option('vsports');
my $hostNTSP = HostNetworkTrafficShapingPolicy->new(
averageBandwidth => 1,
burstSize => 1,
enabled => 1,
peakBandwidth => 1
my $hostNP = HostNetworkPolicy->new(
shapingPolicy => $hostNTSP
my $hostVSS = HostVirtualSwitchSpec->new(
numPorts => $vsPorts,
policy => $hostNP
vswitchName => $vsName,
spec => $hostVSS
No we have purchase licenses but I know our IT department mentioned problems with inputting the licenses itself. Is this possibly a result of it expiring or something? If so I'll have to gracefully get them to address the issue Monday.
I checked with the ESXi license and it is fully installed and is a paid license. Other scripts such as powering on VMs, querying the host time and setting it, along with configuring NTP all still work. It appears that configuring the virtual switch is the only function that seems to be returning a "RestrictedVersionFault" so far.