protocols/network: add LocalIpv6Address #1

Open
ehmry wants to merge 1 commits from ehmry/synit:LocalIpv6Address into main
Collaborator

Inside a Solo5 unikernel I need to know what addresses the IP stack has acquired and since I'm already using Syndicate I can have the IP stack publish its addresses to a local dataspace.

The same assertion can be used within Synit or for monitoring a remote node so I figure it ought to be defined alongside the Synit assertions.

The address field is bare bytes rather than a textual address, but when encoded to hex it's still readable (#x"fe80000000000000a0c22cfffe340f34").

The zone field is to disambiguate addresses that are not unique or to discriminate addresses by interface. Zones are described by RFC4007.

The linkLocal field is redundant information if you know how to interpret the bits in the address but this makes it easy to write a pattern that only matches "global" addresses.


I have not regenerated the schema bundle. I don't yet have a working Node installation for the schema compiler and my own compiler doesn't have a good enough parser yet.

Inside a Solo5 unikernel I need to know what addresses the IP stack has acquired and since I'm already using Syndicate I can have the IP stack publish its addresses to a local dataspace. The same assertion can be used within Synit or for monitoring a remote node so I figure it ought to be defined alongside the Synit assertions. The `address` field is bare bytes rather than a textual address, but when encoded to hex it's still readable (`#x"fe80000000000000a0c22cfffe340f34"`). The `zone` field is to disambiguate addresses that are not unique or to discriminate addresses by interface. Zones are described by [RFC4007](https://datatracker.ietf.org/doc/html/rfc4007#section-5). The `linkLocal` field is redundant information if you know how to interpret the bits in the `address` but this makes it easy to write a pattern that only matches "global" addresses. --- I have not regenerated the schema bundle. I don't yet have a working Node installation for the schema compiler and my own compiler doesn't have a good enough parser yet.
ehmry added 1 commit 2022-12-21 16:45:37 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b ehmry-LocalIpv6Address main
git pull LocalIpv6Address

Step 2:

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff ehmry-LocalIpv6Address
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: synit/synit#1
No description provided.