Comments (5)
we were discussing the possibility of implementing the following changes in NetworkRoutes:
- rename "destination" to "destination_address"
- add "destination_id"
- rename "next" to "next_address"
- add "next_id"
And in "NetworkGraph":
- rename "source" to "source_address"
- add "source_id"
- rename "target" to "target_address"
- add "target_id"
Question:
- Are you (plural you) sure of wanting to add more attributes?
if yes:
- Should the new attributes be mandatory or optional?
- Can we avoid the renaming by keeping the attribute name without the
"_address" suffix? We can write in the spec that those attributes
without the suffix refer to addresses by default, while the ones
with "_id" suffix refer to the "router_id"
Reference: https://lists.funkfeuer.at/pipermail/interop-dev/2015-August/000498.html
from netjson.
This attribute would suits also Babeld's needs, according to @jech in
https://lists.funkfeuer.at//pipermail/interop-dev/2015-August/000505.html
from netjson.
Should the new attributes be mandatory or optional?
All attributes should be optional, since any attribute will be difficult to provide by some software.
Can we avoid the renaming by keeping the attribute name without the "_address" suffix? We can write in the spec that those attributes without the suffix refer to addresses by default, while the ones with "_id" suffix refer to the "router_id"
Yes.
from netjson.
To recap, it seems there is consensus on adding the following OPTIONAL attributes:
NetworkRoutes
:
- destination_id
- next_id
NetworkGraph
:
- source_id
- target_id
@jech would this change make NetJSON compatible with Babel and other vector distance protocols?
from netjson.
"All data optional" means no automatic processing.
We need mandatory values which allow us to move from one part of the data to the other one.
the "id" fields would allow us to connect nodes and edges... if a routing protocol does not use special id's, it can just repeat the address (as long as its unique).
from netjson.
Related Issues (20)
- [DeviceConfiguration] wds_access_point & wds_station HOT 1
- JSON-LD schema HOT 2
- NetJSON RFC JSON types HOT 2
- [DeviceConfiguration] General "country" option
- [website] Statically generated content pages HOT 1
- [NetworkGraph] Amibiguity on graph scope HOT 9
- Improve extension registry page
- [RFC] properties definition typos
- [docs] Use "Specification" or "Internet Draft" instead of RFC
- DeviceConfiguration example is broken
- [radio] Add protocol
- [DeviceConfiguration][hardware] revision >version
- [configuration] auto channel and channel_width
- Dictionary<string, object> from Newtonsoft in NetJSON HOT 5
- [NetworkGraph] Geographic information for nodes and links
- Specification page doesn't display examples HOT 1
- Could not load type 'TenantClass' HOT 2
- Update implementations section HOT 1
- Are link objects directed or undirected ?
- [docs] Update (old/404) netjsongraph.js image URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netjson.