def init_module(self):
    ' initialize module\n        '
    element_spec = dict(interfaces=dict(type='list', required=True), trust=dict(choices=['L2', 'L3', 'both'], default='L2'), rewrite_pcp=dict(choices=['enabled', 'disabled'], default='disabled'), rewrite_dscp=dict(choices=['enabled', 'disabled'], default='disabled'))
    argument_spec = dict()
    argument_spec.update(element_spec)
    self._module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
initialize module
def init_module(self):
    ' \n        '
    element_spec = dict(interfaces=dict(type='list', required=True), trust=dict(choices=['L2', 'L3', 'both'], default='L2'), rewrite_pcp=dict(choices=['enabled', 'disabled'], default='disabled'), rewrite_dscp=dict(choices=['enabled', 'disabled'], default='disabled'))
    argument_spec = dict()
    argument_spec.update(element_spec)
    self._module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)