def validate_networkapi_map(self, networkapi_map): if networkapi_map is None: self.log.error( u'There is no value to the networkapi tag of XML request.') raise XMLError(None, None)
def validate_vlan_map(self, vlan_map): if vlan_map is None: self.log.error( u'There is no value to the vlan tag of XML request.') raise XMLError(None, None)
def _validate_xml_network(self, network_map): if network_map is None: msg = u'There is no value to the vlan tag of XML request.' self.log.error(msg) raise XMLError(None, message=msg)