-
Notifications
You must be signed in to change notification settings - Fork 678
role of iprange not clear #1035
Comments
I'm sure there is a long and storied history, but on the surface of it, the names of those arguments do not make it clear what they do. We could fix the documentation, or fix the names, or both. (If we fix the names, we'll have to keep the old ones for compatibility I suppose) |
Lets fix the names. What have you got in mind? |
Discussion on |
This naming scheme is inconsistent with what we currently have for router options. We don't use dashes in options, and we use |
Those are both things I dislike! And |
Fine, so fix them. Also note that |
As a prerequisite to doing this? |
Yes. Or stick to the current scheme (which would be my recommendation; and raise a separate issue for revamping the flag parsing). |
No-one in good conscience could add an option |
We already have |
Yeah that's not ideal either really |
.. and |
None of those are launch options. And they are never mixed with other options that follow a different scheme. |
Oh right, it's one of those "except when it isn't" rules. |
I have been thinking about the backward compatibility story... I reckon what users are most concerned about isn't substitutability, but interoperability - being able to run new and old in the same network, and thus being able to roll out and upgrade gradually. That requires protocol compatibility, not script compatibility. Hence renaming of commands & options is actually fine, though obviously if it is easy to retain the old ones in parallel then we should do so (but advise users in the release notes that they should really update their scripts, etc, since we won't retain the old version indefinitely). |
A user reports "My worry about using the -iprange was that maybe it would restrict the ip range I could use weave with."
Looking at our docs, it is indeed not absolutely clear that iprange is used for automatic allocation only.
The text was updated successfully, but these errors were encountered: