-
公开(公告)号:US09742660B2
公开(公告)日:2017-08-22
申请号:US14608078
申请日:2015-01-28
Applicant: Metaswitch Networks Ltd
Inventor: Christopher Liljenstolpe , Simon Wingrove , Michael Curtis , Tom Denham , Paul Tiplady , Alex Pollitt
IPC: G06F15/16 , H04L12/721 , H04L12/24
CPC classification number: H04L45/14 , H04L41/0866 , H04L41/0893 , H04L45/56
Abstract: Certain examples described herein provide a system and method for validating a routing function for a network device. In one example, a network device has a run-time policy engine, wherein the run-time policy engine implements a routing configuration file and the routing configuration file defines a routing function for network traffic. A file editor is also provided that loads the routing configuration file. The file editor has an editor policy engine that duplicates a functionality of the run-time policy engine. In one example, the routing configuration file has at least one validation portion that has one or more route statements with definitions indicative of expected routing function behavior. The file editor parses the routing configuration file by implementing the routing configuration file using the editor policy engine. The editor policy engine applies the routing function defined by the routing configuration file to the one or more route statements and indicates where a result of the routing function does not conform to the definitions indicative of expected routing function behavior. These examples may help to reduce routing errors due to configuration errors in network devices.