code: def add(self, properties):
          
          new_port = super(FakedPortManager, self).add(properties)
          adapter = self.parent
          if 'network-port-uris' in adapter.properties:
              adapter.properties['network-port-uris'].append(new_port.uri)
          if 'storage-port-uris' in adapter.properties:
              adapter.properties['storage-port-uris'].append(new_port.uri)
          return new_port
docs: Add a faked Port resource.
  
          Parameters:
  
            properties (dict):
              Resource properties.
  
              Special handling and requirements for certain properties:
  
              * 'element-id' will be auto-generated with a unique value across
                all instances of this resource type, if not specified.
              * 'element-uri' will be auto-generated based upon the element ID,
                if not specified.
              * 'class' will be auto-generated to 'network-port' or
                'storage-port', if not specified.
  
              This method also updates the 'network-port-uris' or
              'storage-port-uris' property in the parent Adapter resource, by
              adding the URI for the faked Port resource.
  
          Returns:
            :class:`zhmcclient_mock.FakedPort`: The faked Port resource.