Blame lenses/tests/test_rancid.aug
|
Packit Service |
a2ae7a |
module Test_rancid =
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
(* Examples from router.db(5) *)
|
|
Packit Service |
a2ae7a |
let rancid = "dial1.paris;cisco;up
|
|
Packit Service |
a2ae7a |
core1.paris;cisco;down;in testing until 5/5/2001.
|
|
Packit Service |
a2ae7a |
core2.paris;cisco;ticketed;Ticket 6054234, 5/3/2001
|
|
Packit Service |
a2ae7a |
border1.paris;juniper;up;
|
|
Packit Service |
a2ae7a |
"
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
test Rancid.lns get rancid =
|
|
Packit Service |
a2ae7a |
{ "device" = "dial1.paris"
|
|
Packit Service |
a2ae7a |
{ "type" = "cisco" }
|
|
Packit Service |
a2ae7a |
{ "state" = "up" }
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "device" = "core1.paris"
|
|
Packit Service |
a2ae7a |
{ "type" = "cisco" }
|
|
Packit Service |
a2ae7a |
{ "state" = "down" }
|
|
Packit Service |
a2ae7a |
{ "comment" = "in testing until 5/5/2001." }
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "device" = "core2.paris"
|
|
Packit Service |
a2ae7a |
{ "type" = "cisco" }
|
|
Packit Service |
a2ae7a |
{ "state" = "ticketed" }
|
|
Packit Service |
a2ae7a |
{ "comment" = "Ticket 6054234, 5/3/2001" }
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "device" = "border1.paris"
|
|
Packit Service |
a2ae7a |
{ "type" = "juniper" }
|
|
Packit Service |
a2ae7a |
{ "state" = "up" }
|
|
Packit Service |
a2ae7a |
{ "comment" = "" }
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
|