'Get module proposed'

def get_proposed(self):

    self.proposed['state'] = self.state
    if self.stp_mode:
        self.proposed['stp_mode'] = self.stp_mode
    if self.stp_enable:
        self.proposed['stp_enable'] = self.stp_enable
    if self.stp_converge:
        self.proposed['stp_converge'] = self.stp_converge
    if self.interface:
        self.proposed['interface'] = self.interface
    if self.edged_port:
        self.proposed['edged_port'] = self.edged_port
    if self.bpdu_filter:
        self.proposed['bpdu_filter'] = self.bpdu_filter
    if self.cost:
        self.proposed['cost'] = self.cost
    if self.bpdu_protection:
        self.proposed['bpdu_protection'] = self.bpdu_protection
    if self.tc_protection:
        self.proposed['tc_protection'] = self.tc_protection
    if self.tc_protection_interval:
        self.proposed['tc_protection_interval'] = self.tc_protection_interval
    if self.tc_protection_threshold:
        self.proposed['tc_protection_threshold'] = self.tc_protection_threshold
    if self.root_protection:
        self.proposed['root_protection'] = self.root_protection
    if self.loop_protection:
        self.proposed['loop_protection'] = self.loop_protection
