[roll] Roll fuchsia [netstack] Configurable addr property interest
Add a field to `fuchsia.net.interfaces/State.GetWatcher`'s configuration
to allow clients to express interest or otherwise in address properties
other than the addresses themselves, with the default being disinterest
in both properties (`valid_until` and `preferred_lifetime_info`) that
currently exist.
Since all existing callsites which create a watcher use the
empty `WatcherOption`, the semantic has changed from being interested
in `valid_until` to being disinterested in `valid_until`. Callsites
have beend audited: there are no mentions to `valid_until` in C++
clients, and most Rust clients use the ext crate, which has been changed
to create a watcher with interest in address properties. The remaining
callsites in Rust do not need `valid_until`.
Implement this in NS2. Add a unit test to assert the behavior.
Unfortunately integration testing will need to wait until `AddAddress`
is implemented so that there is a way to induce address lifetime
changes from outside the netstack.
Original-Bug: 110083, 110587
Test: fx test --test-filter TestInterfacesWatcherInterest \
netstack-gotest
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/728783
Original-Revision: 0ef864524498b4f4b4468cde76ce8e446919f992
GitOrigin-RevId: c3455f1556e0518ef2aac5dcdd15a4fcbe56d01a
Change-Id: I2bdae2a69422b34ae097326347eed2537e543bb0
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.