[tahoe-dev] [tahoe-lafs] #49: UPnP
tahoe-lafs
trac at allmydata.org
Wed Jul 15 10:23:50 PDT 2009
#49: UPnP
---------------------------+------------------------------------------------
Reporter: zooko | Type: enhancement
Status: new | Priority: minor
Milestone: undecided | Component: code-network
Version: | Keywords:
Launchpad_bug: |
---------------------------+------------------------------------------------
Comment(by zooko):
> Thanks for the reference. I admire your confidence :)
Waaataminute, by "admire" you mean "mock", don't you?
As to the testing question that Shawn raised, I think we could write a
fake IGD daemon in the test code, for example one which just returns a
canned answer in response to the UPnP "are you there" and another canned
answer in response to the UPnP "can I have an external port please?", and
so on for all the UPnP IGD client functionality that we need. That is
slightly complicated (especially if the UPnP IGD client we are using uses
irreproducible randomness in its queries and expects the server to echo
that randomness), but probably not trickier than the other "network server
fakery" that is already in the TahoeLAFS unit tests.
--
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/49#comment:14>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid
More information about the tahoe-dev
mailing list