code: def create_attr_obj(self, protocol_interface, phy_interface):
          
          self.intf_attr[protocol_interface] = TopoIntfAttr(
              protocol_interface, phy_interface)
          self.store_obj(protocol_interface, self.intf_attr[protocol_interface])
docs: Creates the local interface attribute object and stores it.