Home
last modified time | relevance | path

Searched refs:display_hint (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/net/ynl/lib/
H A Dynl.py116 def formatted_string(cls, raw, display_hint): argument
117 if display_hint == 'mac':
119 elif display_hint == 'hex':
121 elif display_hint in [ 'ipv4', 'ipv6' ]:
123 elif display_hint == 'uuid':
155 if m.display_hint:
156 decoded = self.formatted_string(decoded, m.display_hint)
501 if attr_spec.display_hint:
502 decoded = NlAttr.formatted_string(decoded, attr_spec.display_hint)
H A Dnlspec.py171 self.display_hint = yaml.get('display-hint')
247 self.display_hint = yaml.get('display-hint')