Beispiel #1
0
 def populate_model(self, delta_ifc_key, delta_ifc_cfg_value):
     """'Override the default implementation to have the value normalized with respect to the CLI,
     i.e. 'drop reset alarm' is seen the same as 'alarm drop reset'
     """
     delta_ifc_cfg_value['value'] = ' '.join(sorted(delta_ifc_cfg_value['value'].lower().split()))
     return SimpleType.populate_model(self, delta_ifc_key, delta_ifc_cfg_value)