# File lib/fog/network/openstack/requests/create_port.rb, line 29
        def create_port(network_id, options = {})
          response = Excon::Response.new
          response.status = 201
          data = {
            'id'                    => Fog::Mock.random_numbers(6).to_s,
            'name'                  => options[:name],
            'network_id'            => network_id,
            'fixed_ips'             => options[:fixed_ips],
            'mac_address'           => options[:mac_address],
            'status'                => 'ACTIVE',
            'admin_state_up'        => options[:admin_state_up],
            'device_owner'          => options[:device_owner],
            'device_id'             => options[:device_id],
            'tenant_id'             => options[:tenant_id],
            'security_groups'       => options[:security_groups],
            'allowed_address_pairs' => options[:allowed_address_pairs],
          }
          self.data[:ports][data['id']] = data
          response.body = {'port' => data}
          response
        end