package pf::Switch::Cisco::SG300;

=head1 NAME

pf::Switch::WirelessModuleTemplate

=head1 SYNOPSIS

The pf::Switch::WirelessModuleTemplate module implements an object oriented interface to 
manage <HARDWARE>

=head1 STATUS

Developed and tested on <model> running <firmware>

=over

=item Supports

=over

=item <feature a>

=item <feature b>

=back

=back

=head1 BUGS AND LIMITATIONS

=over

=item <problem a>

<problem description>

=back

=cut

use strict;
use warnings;

use base ('pf::Switch::Cisco::Catalyst_2960');
use Log::Log4perl;

use pf::config;

sub description { 'Cisco SG300' }

=head1 SUBROUTINES

=over

=cut

# CAPABILITIES
# access technology supported
# inherited by cisco 2960
#

sub getVoipVsa {
    my ($this) = @_;
    my $logger = Log::Log4perl::get_logger(ref($this));

    return (
        'Tunnel-Medium-Type' => $RADIUS::ETHERNET,
        'Tunnel-Type' => $RADIUS::VLAN,
        'Tunnel-Private-Group-ID' => $this->{_voiceVlan},
    );
}


sub getIfIndexByNasPortId {
    return 0;
}

sub NasPortToIfIndex {
    my ($this, $NAS_port) = @_;
    my $logger = Log::Log4perl::get_logger(ref($this)); 

    $logger->warn("Found $NAS_port for ifindex");

    return $NAS_port;
}

=back

=head1 AUTHOR

Inverse inc. <info@inverse.ca>

=head1 COPYRIGHT

Copyright (C) 2005-2013 Inverse inc.

=head1 LICENSE

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
USA.

=cut

1;

# vim: set shiftwidth=4:
# vim: set expandtab:
# vim: set backspace=indent,eol,start:
