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, at least one policy directive having a point of application that specifies at least one program statement, wherein the program statement at the point of application is not contained in 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 one policy directive, wherein executing the at least one policy directive includes:
- executing the program statement without first invoking an RCF function that contains the program statement;
- performing at least one operation specified in the program statement;
- and
- upon completing execution of the 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, including executing at least one policy directive in the routing policy having a point of application that specifies at least one program statement, wherein executing the at least one policy directive includes:
- executing the program statement without having to invoke an RCF function that contains the program statement;
- performing at least one operation specified in the program statement;
- and
- upon completing execution of the 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, at least one policy directive having a point of application that specifies at least one program statement, wherein the program statement at the point of application is not contained in an RCF function, wherein the program statement at the point of application in the at least one policy directive does not involve making a function call to an RCF function;
- receiving a network route;
- assessing the received network route by processing policy directives in the routing policy;
- and
- performing an action on the network route based on the assessed network route.
Dependencies are inferred from the claim text.