Subject: | please add device_addIpInterface |
Date: | Wed, 19 Jun 2013 14:19:05 +0000 |
To: | "bug-Zenoss [...] rt.cpan.org" <bug-Zenoss [...] rt.cpan.org> |
From: | Richard Sugg <Richard.Sugg [...] sas.com> |
Would you mind adding device_addIpInterface to Device.pm? Thanks!
sub device_addIpInterface {
my ($self, $args) = @_;
$args = {} if !$args;
# Argument definition
my $definition = {
defaults => {
uid => '',
newId => '',
userCreated => 1,
},
required => ['uid', 'newId']
};
# Check the args
$self->_check_args($args, $definition);
# Route the request
$self->_router_request(
{
location => $self->DEVICE_LOCATION,
action => $self->DEVICE_ACTION,
method => 'addIpInterface',
data => [$args],
}
);
} # END device_addIpInterface
Richard Sugg
Software Developer ▪ SAS Solutions OnDemand
Tel: + 1 919 531 5673 ▪ Mobile: + 1 336 592 1448 ▪ Richard.Sugg@sas.com<mailto:Richard.Sugg@sas.com>
720 SAS Campus Drive ▪ Cary ▪ NC ▪ 27513-2414 ▪ www.sas.com/solutions/ondemand<http://www.sas.com/solutions/ondemand>
SAS® … THE POWER TO KNOW®
This message and any attachments contain information that may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy, print or disclose to anyone the message or any information contained in the message. If you have received this e-mail in error, please advise the sender by reply and delete the message and any attachments. Thank you