Scaling efficiency for internal transport services in distributed network elements
AssigneeCisco Technology, Inc.
InventorsAjeet Pal Singh Gill, Manish Mehra
Life of this patent
Estimating the term…
Abstract
A system and associated methods outlined herein are directed to improving scaling efficiency for routing devices that service multiple applications through multiple socket interfaces and multiple network segments. In particular, the system aims to reduce memory overhead associated with current methods of network segmentation in Network Stack Instances of a network device by establishing a single namespace that services multiple network segments instead of establishing multiple namespaces where each namespace serves an individual network segment. The system also includes an intercept layer that ensures compatibility with third-party applications that would otherwise expect individual namespaces.
Claims20
A system, comprising:
- a network device including a processor in communication with a memory, the memory including instructions executable by the processor to:
- establish a single namespace within a Network Stack Instance of the network device;
- associate a first socket interface and a first network segment for a first application with a first table identifier, wherein the first table identifier is an identifier to an entry in a table stored in the single namespace;
- establish the first socket interface associated with the single namespace for the first application, the first socket interface having the first table identifier that correlates the first application with the first network segment, and the first socket interface establishing a first connection between the Network Stack Instance and a Forwarding Plane of the network device;
- associate a second socket interface and a second network segment for a second application with a second table identifier, wherein the second table identifier is an identifier to an entry in the table stored in the single namespace;
- and
- establish the second socket interface associated with the single namespace for the second application, the second socket interface having the second table identifier that correlates the second application with the second network segment, and the second socket interface establishing a second connection between the Network Stack Instance and the Forwarding Plane of the network device.
A method, comprising:
- establishing a single namespace within a Network Stack Instance of a network device;
- associating a first socket interface and a first network segment for a first application with a first table identifier, wherein the first table identifier is an identifier to an entry in a table stored in the single namespace;
- establishing the first socket interface associated with the single namespace for the first application, the first socket interface having the first table identifier that correlates the first application with the first network segment, and the first socket interface establishing a first connection between the Network Stack Instance and a Forwarding Plane of the network device;
- associating a second socket interface and a second network segment for a second application with a second table identifier, wherein the second table identifier is an identifier to an entry in the table stored in the single namespace;
- and
- establishing the second socket interface associated with the single namespace for the second application, the second socket interface having the second table identifier that correlates the second application with the second network segment, and the second socket interface establishing a second connection between the Network Stack Instance and the Forwarding Plane of the network device.
One or more non-transitory computer-readable media comprising computer-readable instructions, executable by one or more processors of a network device of a network to perform a method for establishing a socket interface between an application and a network segment at a network stack instance, the method comprising:
- establishing a single namespace within a Network Stack Instance of a network device;
- associating a first socket interface and a first network segment for a first application with a first table identifier, wherein the first table identifier is an identifier to an entry in a table stored in the single namespace;
- establishing the first socket interface associated with the single namespace for the first application, the first socket interface having the first table identifier that correlates the first application with the first network segment, and the first socket interface establishing a first connection between the Network Stack Instance and a Forwarding Plane of the network device;
- associating a second socket interface and a second network segment for a second application with a second table identifier, wherein the second table identifier is an identifier to an entry in the table stored in the single namespace;
- and
- establishing the second socket interface associated with the single namespace for the second application, the second socket interface having the second table identifier that correlates the second application with the second network segment, and the second socket interface establishing a second connection between the Network Stack Instance and the Forwarding Plane of the network device.
Dependencies are inferred from the claim text.