Add a TH function for lower-cased stripped opcode names
Add a TH function for lower-cased stripped opcode names

The function strips the 'Op' prefix from a constructor name and converts
it to lower-case with underscores.

Signed-off-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>
Reviewed-by: Michele Tartara <05f7077a2c6cbbdc4af4ba42e3ef89a0df846179@google.com>
Reviewed-by: Jose A. Lopes <0fb9c4f8511df4ec2ae28af879e9d462f6218a2c@google.com>

mbakke/ganeti,apyrgio/ganeti,yiannist/ganeti,ganeti/ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/ganeti,dimara/ganeti,bitemyapp/ganeti,yiannist/ganeti,ganeti/ganeti,yiannist/ganeti,grnet/snf-ganeti,onponomarev/ganeti,andir/ganeti,andir/ganeti,ganeti/ganeti,grnet/snf-ganeti,ganeti-github-testing/ganeti-test-1,leshchevds/ganeti,mbakke/ganeti,bitemyapp/ganeti,andir/ganeti,leshchevds/ganeti,onponomarev/ganeti,dimara/ganeti,mbakke/ganeti