Parse a YAML specification of a target port into this object.

def parse_yaml(self, y):
        '''Parse a YAML specification of a target port into this object.'''
        super(TargetPort, self).parse_yaml(y)
        self.port_name = y['portName']
        return self