Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 293210

Re: Issues with vCenter 5

$
0
0

Can you try modifying that line to the following and let me know what results you get:

 

if(defined($rule->allowedHosts)) {
    print "allowedHosts defined\n";
    $allowedIPs = "all";
} else {
    print "allowedHosts not defined\n";
    my $ipNetworks = $rule->allowedHosts->ipNetwork;
    foreach(@$ipNetworks) {
        $allowedIPs .= $_->network . "/" . $_->prefixLength . ", ";
    }
}

 


Viewing all articles
Browse latest Browse all 293210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>