<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_attr_obj(self, protocol_interface, phy_interface):
 """Creates the local interface attribute object and stores it. """

        self.intf_attr[protocol_interface] = TopoIntfAttr(
            protocol_interface, phy_interface)
        self.store_obj(protocol_interface, self.intf_attr[protocol_interface])