COPS::ClientCOPS Protocol - Packet Cable Client | |
Download |
COPS::Client Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Andrew S. Kennedy
- Publisher web site:
- http://search.cpan.org/~shamrock/
COPS::Client Tags
COPS::Client Description
COPS::Client is a Perl module that provides a simple COPS client for managing Packet Cable Multi Media sessions for CMTS. It should provide all the neccessary functionality to enable a service provider to deploy, manage and control service flows within their network.This does not maintain a connection to the CMTS but issue the configured command, get the response and then close the TCP connection. I am working on a stateful Client however this is not yet available.SYNOPSIS As basic initial use of the module is as follows my $cops_client = new COPS::Client ( ); $cops_client->set_command("set"); $cops_client->subscriber_set("ipv4","172.20.1.1"); $cops_client->gate_specification_add( ); $cops_client->classifier_add( ); $cops_client->envelope_add ( ); $cops_client->connect(); $cops_client->check_data_available();This will connect to a CMTS on IP 192.168.0.1 and apply a PCMM gate to the subscriber with IP address 172.20.1.1 and apply the service class S_down.It should be noted not all CMTS support all the functions available, so if the COPS request is failing for you remove opaque_set, timebase_set or volume_set and try again.You may also get a very cryptic error if an envelope or classifier is incorrectly configured.Product's homepage
COPS::Client Related Software