Пример #1
0
 def vIP_add(self, vIP):
     '''
     Add a virtual IP address
     @param vIP: The IP Address of the Endpoint
     @type vIP: IPAddressLocation
     '''
     if vIP is not None:
         self.vIP_set[vIP.ip_value] = vIP
         Domain.endpoint_vIP_add(self.domain, self, vIP)
         DVG.endpoint_vIP_add(self.dvg, self, vIP)
         if len(self.vIP_set) < DpsCollection.Endpoints_vIP_Max:
             self.vIP_set_show[vIP.ip_value] = vIP