Net::ISC::DHCPd::OMAPI::Sugar - Moose sugar for omapi classes
use Net::ISC::DHCPd::OMAPI::Sugar; # not use Moose
omapi_attr foo => ( isa => State, ... );
omapi_attr $name => %attr;
%attr
is by default:
( is => "rw", predicate => "has_$name", traits => [qw/Net::ISC::DHCPd::OMAPI::Meta::Attribute/], )
It will also set "coerce => 1", when "isa" is one of Moose types from the Net::ISC::DHCPd::Types manpage.