Routing policies with RCF expressions at the point of application
AssigneeArista Networks, Inc.
InventorsSharad Birmiwal, Matthieu Loriol, Akshay Gattani, Satish Mahadevan
Life of this patent
Estimating the term…
Abstract
Network routes are assessed using a routing policy. The routing policy includes policy directives. A point of application in a policy directive specifies a program statement that can be immediately executed without having to make a function call. Stated differently, the program statement can be immediately executed from the point of application in the policy directive without the program statement having to be incorporated in a function.
Claims20
A method in a network device for assessing network routes, the method comprising:
- receiving a routing policy comprising a plurality of policy directives, wherein one or more of the policy directives are expressed using a routing control programming language (referred to herein as “RCF”), at least a first policy directive having a function call to an RCF function that comprises a plurality of RCF program statements, at least a second policy directive having an RCF program statement that is not a function call to an RCF function;
- receiving a network route;
- assessing the network route by processing the policy directives in the routing policy, wherein processing the policy directives in the routing policy includes executing the at least a second policy directive, wherein executing the at least a second policy directive includes:
- executing the RCF program statement without first invoking an RCF function that contains the program statement;
- performing at least one operation specified in the RCF program statement;
- and
- upon completing execution of the RCF program statement, continuing processing the policy directives in the routing policy to assess the network route;
- and
- performing an action on the network route based on the assessed network route.
A network device comprising:
- one or more computer processors;
- and
- a computer-readable storage device comprising instructions for controlling the one or more computer processors to:
- receive a network route;
- assess the network route by processing policy directives in a routing policy, wherein the routing policy comprises one or more of the policy directives expressed using a routing control programming language (referred to herein as “RCF”), at least a first policy directive having a function call to an RCF function that comprises a plurality of RCF program statements, at least a second policy directive having an RCF program statement that is not a function call to an RCF function, wherein assessing the network route includes executing the at least a second RCF policy directive by:
- executing the RCF program statement without having to invoke an RCF function that contains the RCF program statement;
- performing at least one operation specified in the RCF program statement;
- and
- upon completing execution of the RCF program statement, continuing to process the policy directives in the routing policy to assess the network route;
- and
- perform an action on the network route based on the assessed network route.
A method in a network device for assessing network routes, the method comprising:
- receiving a routing policy comprising a plurality of policy directives, wherein one or more of the policy directives are expressed using a routing control programming language (referred to herein as “RCF”), at least a first policy directive having a function call to an RCF function that comprises a plurality of RCF program statements, at least a second policy directive having an RCF program statement that is not a function call to an RCF function;
- receiving a network route;
- assessing the received network route by processing policy directives in the routing policy, including executing the at least a second policy directive;
- and
- performing an action on the network route based on the assessed network route.
Dependencies are inferred from the claim text.