You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This concept was inherited from NFD/ndn-cxx. I'd recommend looking at what they did (and trying to stay compatible) :-)
ndn-cxx does not check physical existence of faces. For devURI, it always succeed if there is a path; for unixURI, ndn-cxx always fails (not supported).
The concept of
canonical
in YaNFD is confusing. ForethernetURI
,fdURI
,internalURI
,nullURI
,udpURI
, canonical means well-formed:YaNFD/ndn/uri.go
Lines 286 to 302 in 001755f
For
devURI
andunixURI
, canonical meansexisting interface
, which is related to specific machine and operation system:YaNFD/ndn/uri.go
Lines 303 to 306 in 001755f
This restricts that the unit test can be only executed on specific machines:
YaNFD/ndn/uri_test.go
Line 172 in 001755f
Not every machine allows building program access to this path.
Note: ndn-cxx does not check the physical existence of interface in
isCanonical
.The text was updated successfully, but these errors were encountered: