Introduce a utility method for parsing string representation of a network similar to ParsePorts.
Towards preventing internal Unikraft-specific syntax structures (i.e kraftkit.sh/unikraft/export/v0/uknetdev.NetdevIp) being mixed with CLI-level code (see https://github.com/unikraft/kraftkit/pull/1633), introduce an abstract mechanism for a string representation of a network.
Whilst the format will be a 1-to-1 with NetdevIp, this abstraction makes it possible to use kraft with other kernels and allows us to structure these appropriately.
Feature request summary
Introduce a utility method for parsing string representation of a network similar to
ParsePorts
.Towards preventing internal Unikraft-specific syntax structures (i.e
kraftkit.sh/unikraft/export/v0/uknetdev.NetdevIp
) being mixed with CLI-level code (see https://github.com/unikraft/kraftkit/pull/1633), introduce an abstract mechanism for a string representation of a network.Whilst the format will be a 1-to-1 with
NetdevIp
, this abstraction makes it possible to usekraft
with other kernels and allows us to structure these appropriately.Describe alternatives
No response
Related architectures
None
Related platforms
None
Additional context
No response