def build_desired_iface_config(module):
 module.custom_desired_config = {'addr_family': None, 'auto': True, 'config': {}, 'name': module.params.get('name')}
 build_addr_method(module)
 build_address(module)
 build_vids(module)
 build_pvid(module)
 build_speed(module)
 build_alias_name(module)
 build_vrr(module)
 for _attr in ['mtu', 'mstpctl_portnetwork', 'mstpctl_portadminedge', 'mstpctl_bpduguard', 'clagd_enable', 'clagd_priority', 'clagd_peer_ip', 'clagd_sys_mac', 'clagd_args']:
  build_generic_attr(module, _attr)

def build_desired_iface_config ( module ) : module . custom_desired_config = { 'addr_family' : None , 'auto' : True , 'config' : { } , 'name' : module . params . get ( 'name' ) } build_addr_method ( module ) build_address ( module ) build_vids ( module ) build_pvid ( module ) build_speed ( module ) build_alias_name ( module ) build_vrr ( module ) for _attr in [ 'mtu' , 'mstpctl_portnetwork' , 'mstpctl_portadminedge' , 'mstpctl_bpduguard' , 'clagd_enable' , 'clagd_priority' , 'clagd_peer_ip' , 'clagd_sys_mac' , 'clagd_args' ] : build_generic_attr ( module , _attr )
take parameters defined and build ifupdown2 compatible hash .