Netconf/Constants.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a Subroutinesub 0.0% 0 / 11 Podpod n/a totaltotal 0.0% 0 / 46 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::Netconf::Constants;
2  
3 our $VERSION ='1.02';
4 # Netconf server: minimum version
5 use constant NC_VERS_MIN => 7.5;
6 # Constants pertaining to the Netconf states
7 use constant NC_STATE_DISCONN => 0;
8 use constant NC_STATE_CONN => 1;
9 use constant NC_STATE_HELLO_RECVD => 2;
10 use constant NC_STATE_HELLO_SENT => 3;
11 use constant NC_STATE_REQ_SENT => 4;
12 use constant NC_STATE_REQ_RECVD => 5;
13 use constant NC_DEFAULT_PORT => 830;
14  
15 # Netconf tags of interest to us
16 use constant NC_HELLO_TAG => qq(hello);
17 use constant NC_REPLY_TAG => qq(rpc-reply);
18 use constant NC_DEFAULT_CAP =>
19 qq(<capability>urn:ietf:params:xml:ns:netconf:base:1.0</capability>
20 <capability>urn:ietf:params:xml:ns:netconf:base:1.0#candidate</capability>
21 <capability>urn:ietf:params:xml:ns:netconf:base:1.0#confirmed-commit</capability>
22 <capability>urn:ietf:params:xml:ns:netconf:base:1.0#validate</capability>
23 <capability>urn:ietf:params:xml:ns:netconf:base:1.0#url?protocol=http,ftp,file</capability>);
24  
25 1;
26  
27  
28 __END__