docs: def _load_physical_network_mappings(self, phys_net_vswitch_mappings):
          """Load all the information regarding the physical network."""
          for mapping in phys_net_vswitch_mappings:
              parts = mapping.split(':')
              if len(parts) != 2:
                  LOG.debug('Invalid physical network mapping: %s', mapping)
              else:
                  pattern = re.escape(parts[0].strip()).replace('\\*', '.*')
                  pattern = pattern + '$'
                  vswitch = parts[1].strip()
                  self._physical_network_mappings[pattern] = vswitch