Module Vmm_core.NameSource

Sourcetype t
Sourceval is_root : t -> bool
Sourceval equal : t -> t -> bool
Sourceval image_file : t -> Fpath.t
Sourceval fifo_file : t -> Fpath.t
Sourceval of_list : string list -> (t, [> `Msg of string ]) result
Sourceval to_list : t -> string list
Sourceval drop : t -> t
Sourceval drop_front : t -> t
Sourceval append : string -> t -> (t, [> `Msg of string ]) result
Sourceval prepend : string -> t -> (t, [> `Msg of string ]) result
Sourceval append_exn : string -> t -> t
Sourceval concat : t -> t -> t
Sourceval root : t
Sourceval valid_label : string -> bool
Sourceval to_string : t -> string
Sourceval of_string : string -> (t, [> `Msg of string ]) result
Sourceval drop_super : super:t -> sub:t -> t option
Sourceval is_sub : super:t -> sub:t -> bool
Sourceval domain : t -> t
Sourceval pp : t Fmt.t
Sourceval block_name : t -> string -> t
Sourceval mac : t -> string -> Macaddr.t

mac t bridge outputs deterministically a mac address for t on bridge. The resulting mac address is computed as follows: as prefix, the (no longer active) 00:80:41 (VEB Kombinat Robotron) is used, the remaining three bytes are the first three bytes of the MD5 digest of bridge ^ "." ^ to_string t.

i.e., mac ["foo";"bar"] "default" = 00:80:41:1b:11:78