mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-22 01:39:58 -05:00
commit
008081791a
BIN
doc/client.zip
BIN
doc/client.zip
Binary file not shown.
BIN
doc/vmc.zip
BIN
doc/vmc.zip
Binary file not shown.
@ -161,7 +161,7 @@ class ExposePublicIP(object):
|
|||||||
edge_id=self.edge_id,
|
edge_id=self.edge_id,
|
||||||
firewall_rules=FirewallRules([self.nfwr]))
|
firewall_rules=FirewallRules([self.nfwr]))
|
||||||
|
|
||||||
print(' # New firewall rule "{}" is added'.format(self.fw_rule_name))
|
print('# New firewall rule "{}" is added'.format(self.fw_rule_name))
|
||||||
|
|
||||||
def create_net_rule(self):
|
def create_net_rule(self):
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ class ExposePublicIP(object):
|
|||||||
edge_id=self.edge_id,
|
edge_id=self.edge_id,
|
||||||
nat_rules=NatRules([rule]))
|
nat_rules=NatRules([rule]))
|
||||||
|
|
||||||
print(' # New NAT rule "{}" is added'.format(self.nat_rule_description))
|
print('# New NAT rule "{}" is added'.format(self.nat_rule_description))
|
||||||
|
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
if self.cleardata:
|
if self.cleardata:
|
||||||
|
Loading…
Reference in New Issue
Block a user