Utilizing a centralized controller for traffic engineering segment routing inter-autonomous systems

A device receives border gateway protocol (BGP) data associated with links provided in a segment routing network. The segment routing network includes a first autonomous system (AS) with first network devices interconnected by a first portion of the links, a second AS with second network devices interconnected by a second portion of the links, and an inter-AS link provided between one of the first network devices and one of the second network devices. The device filters prefixes of the BGP data to identify BGP data associated with the inter-AS link, where the BGP data associated with the inter-AS link includes data identifying state information associated with the inter-AS link. The device determines an operational state of the inter-AS link based on the BGP data associated with the inter-AS link, and performs one or more actions based on the operational state of the inter-AS link.

BACKGROUND

A wide variety of user devices (e.g., smartphones, tablets, and/or the like) connect to service provider networks to access resources and services provided by packet-based data networks, such as the Internet, enterprise intranets, content providers, virtual private networks (VPNs), and/or the like. Each service provider network typically provides an extensive network infrastructure to provide packet-based data services to the user devices. Each service provider network may include a wide area network (WAN), such as a single autonomous system (AS) within a WAN that includes multiple autonomous systems, two or more autonomous systems within the WAN, and/or the like.

SUMMARY

According to some implementations, a method may include receiving border gateway protocol (BGP) data associated with a plurality of links provided in a segment routing network, wherein the segment routing network may include a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links, and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices. The method may include filtering prefixes of the BGP data to identify BGP data associated with the at least one inter-autonomous system link, wherein the BGP data associated with the at least one inter-autonomous system link may include data identifying state information associated with the at least one inter-autonomous system link. The method may include determining an operational state of the at least one inter-autonomous system link based on the BGP data associated with the at least one inter-autonomous system link, and performing one or more actions based on the operational state of the at least one inter-autonomous system link.

According to some implementations, a device may include one or more memories and one or more processors, communicatively coupled to the one or more memories, to receive link data associated with a plurality of links provided in a segment routing network, wherein the segment routing network may include a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links, and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices. The one or more processors may determine data associated with the at least one inter-autonomous system link based on the link data, wherein the data associated with the at least one inter-autonomous system link may include data identifying state information associated with the at least one inter-autonomous system link. The one or more processors may determine an operational state of the at least one inter-autonomous system link based on the data associated with the at least one inter-autonomous system link and may perform one or more actions based on the operational state of the at least one inter-autonomous system link.

According to some implementations, a non-transitory computer-readable medium may store instructions that include one or more instructions that, when executed by one or more processors of a device, may cause the one or more processors to cause bidirectional forwarding detection (BFD) sessions to be established for a plurality of links provided in a segment routing network, wherein the segment routing network may include a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links, and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices. The one or more instructions may cause the one or more processors to receive BFD session data associated with the at least one inter-autonomous system link, wherein the BFD session data associated with the at least one inter-autonomous system link may include data identifying state information associated with the at least one inter-autonomous system link. The one or more instructions may cause the one or more processors to determine an operational state of the at least one inter-autonomous system link based on the BFD session data associated with the at least one inter-autonomous system link and perform one or more actions based on the operational state of the at least one inter-autonomous system link.

DETAILED DESCRIPTION

Traffic engineering is a method of optimizing a performance of a network by dynamically analyzing, predicting, and regulating behavior of data transmitted over the network. Techniques of traffic engineering can be applied to different types of networks, such as a packet optical network, a public switched telephone network (PSTN), a local area network (LAN), a WAN with autonomous systems, a cellular telephone network, the Internet, and/or the like.

In some environments, two service provider networks (e.g., two autonomous systems) may be interconnected by inter-autonomous system (inter-AS) links. An inter-AS link may be connected by two or more network devices via segment routing. Segment routing, a form of computer networking, is a variant of source routing. In a segment routing network, an ingress network device may prepend a header to packets (e.g., traffic) that contain a list of segments, which are instructions that are executed on subsequent network devices in the network. These instructions may include forwarding instructions, such as an instruction to forward a packet to a specific destination or interface.

However, in segment routing, no state or session information is maintained when an inter-AS link is created between network devices. Without the state or session information, the network devices are unaware of an operational state of the inter-AS link and may unsuccessfully attempt to forward traffic on a non-operational inter-AS link. This causes traffic to be lost and causes computing resources (e.g., processing resources, memory resources, and/or the like), networking resources, and/or the like to be wasted in identifying the lost traffic, correcting the non-operational inter-AS link, re-routing the lost traffic, and/or the like.

Some implementations described herein provide a controller platform that utilizes a centralized controller for traffic engineering segment routing inter-autonomous systems. For example, the controller platform may receive border gateway protocol (BGP) data associated with links provided in a segment routing network. The segment routing network may include a first autonomous system (AS) with first network devices interconnected by a first portion of the links, a second AS with second network devices interconnected by a second portion of the links, and at least one inter-AS link, of the links, provided between one of the first network devices and one of the second network devices. The controller platform may filter prefixes of the BGP data to identify BGP data associated with the at least one inter-AS link, wherein the BGP data associated with the at least one inter-AS link may include data identifying state information associated with the at least one inter-AS link. The controller platform may determine an operational state of the at least one inter-AS link based on the BGP data associated with the at least one inter-AS link and may perform one or more actions based on the operational state of the at least one inter-AS link.

In this way, the controller platform may traffic engineer segment routing inter-AS links. This, in turn, conserves computing resources (e.g., processing resources, memory resources, and/or the like), networking resources, and/or the like that would otherwise be wasted in identifying traffic lost on non-operational inter-AS links, correcting the non-operational inter-AS links, re-routing the lost traffic, and/or the like.

FIGS. 1A-1Iare diagrams of one or more example implementations100described herein. As shown inFIG. 1A, a network may be associated with a controller platform. In some implementations, the network may include a packet optical network with multiple network devices and multiple links provided between the multiple network devices. For example, as shown inFIG. 1A, the network may include a first autonomous system network (e.g., autonomous system1) that includes, for example, two network devices (e.g., network device1and network device2) interconnected by a link; and a second autonomous system network (e.g., autonomous system2) that includes, for example, two network devices (e.g., network device3and network device4) interconnected by a link. In some implementations, each of the network devices may include a provider edge (PE) network device, an autonomous system border router (ASBR), a peer ASBR, and/or the like.

As further shown inFIG. 1A, the four network devices may interconnect (e.g., to provide connections between the first autonomous system and the second autonomous system) via inter-AS links that utilize segment routing. For example, the first network device may interconnect with the third network device via a first inter-AS link (L1), and the second network device may interconnect with the fourth network device via a second inter-AS link (L2). In the example shown inFIG. 1A, the second inter-AS link (L2) may be non-operational due to overloading of the second inter-AS link, breakage of the second inter-AS link, and/or the like.

As further shown inFIG. 1A, and by reference number105, the controller platform may receive border gateway protocol (BGP) data associated with all links in the network. BGP is a standardized exterior network device protocol designed to exchange routing and reachability information among autonomous systems (AS). The protocol is classified as a path vector protocol, and makes routing decisions based on paths, network policies, rule-sets, and/or the like. In some implementations, the BGP data may include data identifying types of the links, protocols used by the links, network devices to which the links are connected, ports associated with the network devices, states associated with the links (e.g., an operational state, a non-operational state, an idle state, a connect state, an active state, and/or the like), results of keepalive messages that maintain connections on the links, and/or the like.

The controller platform may periodically receive the BGP data from the network (e.g., at particular time intervals in seconds, minutes, hours, days, and/or the like), may continuously receive the BGP data from the network, and/or the like. For example, the controller platform may provide, to the network devices, a request for the BGP data, and the network devices may provide the BGP data to the controller platform based on the request.

AlthoughFIG. 1Ashows specific quantities of autonomous systems, network devices, links, and/or the like, in some implementations, the network may include more autonomous systems, network devices, links, and/or the like than depicted inFIG. 1A. For example, the network may include hundreds, thousands, and/or the like of network devices and/or links that generate thousands, millions, billions, etc. of data points. In this way, the controller platform may handle thousands, millions, billions, etc. of data points within a time period (e.g., when determining traffic plans), and thus may provide “big data” capability.

As shown inFIG. 1B, and by reference number110, the controller platform may filter prefixes of the BGP data to identify BGP data associated with the inter-AS links. In some implementations, the BGP data may include prefixes that identify links associated with the BGP data. A BGP prefix may be referred to as a route announcement (e.g., that includes a particular link) and may identify a path of a packet through a network. In some implementations, the controller platform may have access to information identifying the prefixes associated with the inter-AS links, and may utilize this information to separate, from the BGP data, the BGP data associated with the inter-AS links. Once the BGP data associated with the inter-AS links is separated from the remaining BGP data, the controller platform may store the BGP data associated with the inter-AS links in a data structure (e.g., database, a table, a list, and/or the like) associated with the controller platform. The controller platform may also process the BGP data associated with the inter-AS links as described below. In this way, the controller platform may conserve resources (e.g., processing resources, memory resources, and/or the like) that would otherwise be wasted processing and/or storing all of the BGP data.

As shown inFIG. 1C, and by reference number115, the controller platform may determine operational states of the inter-AS links based on the BGP data associated with the inter-AS links. In some implementations, the controller platform may determine the operational states of the inter-AS links based on the BGP data identifying the states associated with the inter-AS links (e.g., operational states, non-operational states, idle states, connect states, active states, and/or the like), results of keepalive messages that maintain connections on the inter-AS links, and/or the like. For example, the controller platform may determine that the first inter-AS link (L1) (e.g., as shown inFIG. 1A) is operational based on the BGP data associated with the inter-AS links and may determine that the second inter-AS link (L2) (e.g., as shown inFIG. 1A) is non-operational based on the BGP data associated with the inter-AS links.

As shown inFIG. 1D, and by reference number120, the controller platform may perform one or more actions based on the operational states of the inter-AS links. In some implementations, the one or more actions may include the controller platform causing network devices associated with non-operational inter-AS links to not utilize the non-operational inter-AS links. For example, as shown inFIG. 1D, the controller platform may cause the second network device and the fourth network device to not utilize the second inter-AS link (L2) since the second inter-AS link is non-operational. In some implementations, the controller platform may provide, to the second network device and the fourth network device, instructions to not utilize the second inter-AS link, and the second network device and the fourth network device may not utilize the second inter-AS link based on the instructions.

In some implementations, the one or more actions may include the controller platform causing network devices associated with non-operational inter-AS links to re-route traffic from the non-operational inter-AS links (e.g., to other operational links and/or inter-AS links). For example, as shown inFIG. 1D, the controller platform may cause the second network device and the fourth network device to re-route traffic from the second inter-AS link (L2) to one or more operational links and/or inter-AS links. In some implementations, the controller platform may provide, to the second network device and the fourth network device, instructions to re-route traffic from the second inter-AS link, and the second network device and the fourth network device may re-route traffic from the second inter-AS link based on the instructions.

In some implementations, the one or more actions may include the controller platform providing (e.g., to a client device) information indicating the operational states of the inter-AS links. For example, the controller platform may provide, to the client device, a user interface that includes the operational states of the inter-AS links. The client device may receive the user interface and may provide the user interface for display to a user of the client device, as described below in connection withFIG. 1I.

In some implementations, the one or more actions may include the controller platform causing a robot to be dispatched to repair the non-operational inter-AS links. For example, the controller platform may provide, to the robot, instructions to repair the non-operational inter-AS links, and the robot may repair the non-operational inter-AS links based on the instructions. In this way, the controller platform may conserve computing resources (e.g., processing resources, memory resources, and/or the like), networking resources, and/or the like that would otherwise be wasted in identifying traffic lost on non-operational inter-AS links, re-routing the lost traffic, and/or the like.

In some implementations, the controller platform may receive additional BGP data associated with the links after performing the one or more actions, and may filter prefixes of the additional BGP data to identify additional BGP data associated with the inter-AS links. The controller platform may determine that a particular inter-AS link is operational based on the additional BGP data associated with the inter-AS links, and may cause network devices associated with the particular inter-AS link to utilize the particular inter-AS link based on the particular inter-AS link being operational.

In some implementations, the controller platform may determine the operational states of the inter-AS links based on the BGP data associated with the inter-AS links and based on bidirectional forwarding detection (BFD) session data associated with the inter-AS links, as described below in connection withFIGS. 1E-1G.

As shown inFIG. 1E, and by reference number125, the controller platform may cause BFD sessions to be established for inter-AS links provided in the network. For example, the controller platform may cause BFD sessions to be established for the first inter-AS link (L1) and the second inter-AS link (L2). BFD is a network protocol that is used to detect faults between two network devices connected by a link. BFD provides low-overhead detection of faults even on physical media that do not support failure detection, such as Ethernet, virtual circuits, tunnels, label-switched paths, and/or the like. The controller platform may utilize BFD to establish a first session between the first network device and the third network device over the first inter-AS link, to establish a second session between the second network device and the fourth network device over the second inter-AS link, and/or the like. In some implementations, if more than one link exists between two network devices, multiple BFD sessions may be established to monitor each of the links. A BFD session may be established with a three-way handshake, may be terminated with a three-way handshake, may require authentication, and/or the like.

As shown inFIG. 1F, and by reference number130, the controller platform may receive BFD session data associated with the inter-AS links. In some implementations, the BFD session data associated with the inter-AS links may include data identifying types of the inter-AS links, protocols used by the inter-AS links, network devices to which the inter-AS links are connected, ports associated with the network devices, states associated with the inter-AS links (e.g., an operational state, a non-operational state, an idle state, a connect state, an active state, and/or the like), and/or the like. The controller platform may store the BFD data associated with the inter-AS links in a data structure (e.g., a database, a table, a list, and/or the like) associated with the controller platform.

The controller platform may periodically receive the BFD data associated with the inter-AS links (e.g., at particular time intervals in seconds, minutes, hours, days, and/or the like), may continuously receive the BFD data associated with the inter-AS links, and/or the like. For example, the controller platform may provide, to the network devices, a request for the BFD data associated with the inter-AS links, and the network devices may provide the BFD data associated with the inter-AS links to the controller platform based on the request.

As shown inFIG. 1G, and by reference number135, the controller platform may determine operational states of the inter-AS links based on the BFD data associated with the inter-AS links. In some implementations, the controller platform may determine the operational states of the inter-AS links based on the BFD data identifying the states associated with the inter-AS links (e.g., operational states, non-operational states, idle states, connect states, active states, and/or the like), and/or the like. For example, the controller platform may determine that the first inter-AS link (L1) (e.g., as shown inFIG. 1F) is operational based on the BFD data associated with the inter-AS links, and may determine that the second inter-AS link (L2) (e.g., as shown inFIG. 1F) is non-operational based on the BFD data associated with the inter-AS links.

As shown inFIG. 1H, and by reference number140, the controller platform may perform one or more actions based on the operational states of the inter-AS links. In some implementations, the one or more actions may include the controller platform causing network devices associated with non-operational inter-AS links to not utilize the non-operational inter-AS links. For example, as shown inFIG. 1H, the controller platform may cause the second network device and the fourth network device to not utilize the second inter-AS link (L2) since the second inter-AS link is non-operational. In some implementations, the controller platform may provide, to the second network device and the fourth network device, instructions to not utilize the second inter-AS link, and the second network device and the fourth network device may not utilize the second inter-AS link based on the instructions.

In some implementations, the one or more actions may include the controller platform causing network devices associated with non-operational inter-AS links to re-route traffic from the non-operational inter-AS links (e.g., to other operational links and/or inter-AS links). For example, as shown inFIG. 1H, the controller platform may cause the second network device and the fourth network device to re-route traffic from the second inter-AS link (L2) to one or more operational links and/or inter-AS links. In some implementations, the controller platform may provide, to the second network device and the fourth network device, instructions to re-route traffic from the second inter-AS link, and the second network device and the fourth network device may re-route traffic from the second inter-AS link based on the instructions.

In some implementations, the one or more actions may include the controller platform providing (e.g., to a client device) information indicating the operational states of the inter-AS links. For example, the controller platform may provide, to the client device, a user interface that includes the operational states of the inter-AS links. The client device may receive the user interface and may provide the user interface for display to a user of the client device, as described below in connection withFIG. 1I.

In some implementations, the one or more actions may include the controller platform causing a robot to be dispatched to repair the non-operational inter-AS links. For example, the controller platform may provide, to the robot, instructions to repair the non-operational inter-AS links, and the robot may repair the non-operational inter-AS links based on the instructions. In this way, the controller platform may conserve computing resources (e.g., processing resources, memory resources, and/or the like), networking resources, and/or the like that would otherwise be wasted in identifying traffic lost on non-operational inter-AS links, re-routing the lost traffic, and/or the like.

In some implementations, after performing the one or more actions, the controller platform may receive additional BFD data associated with a particular inter-AS link and may determine that the particular inter-AS link is operational based on the additional BFD data. The controller platform may cause two network devices associated with the particular inter-AS link to utilize the particular inter-AS link based on the particular inter-AS link being operational.

As shown inFIG. 1I, and by reference number150, the controller platform may provide, to a client device, information indicating the operational states of the inter-AS links. In some implementations, the controller platform may generate a user interface that includes information indicating the operational states of the inter-AS links and may provide the user interface to the client device. The client device may receive the user interface and may display the user interface to a user of the client device. For example, as shown inFIG. 1I, the user interface may include information indicating that a first inter-AS link (e.g., inter-AS1) is operational, a second inter-AS link (e.g., inter-AS2) is non-operational or “down,” a third inter-AS link (e.g., inter-AS3) is operational, a fourth inter-AS link (e.g., inter-AS4) is operational, and/or the like.

In some implementations, when performing the one or more actions described above in connection withFIGS. 1D and 1H, the controller platform may provide, to two network devices associated with a non-operational inter-AS link, information instructing the two network devices to cease utilization of the non-operational inter-AS link and to re-route traffic from the non-operational inter-AS link.

In some implementations, when performing the one or more actions described above in connection withFIGS. 1D and 1H, the controller platform may identify, when a first inter-AS link is non-operational, a second inter-AS link that is operational and provided between two network devices. The controller platform may cause the one of the two network devices to re-route traffic from the first inter-AS link to the second inter-AS link. In some implementations, the controller platform may identify the second inter-AS link based on a preference, a random selection technique, a round-robin technique, and/or the like.

In some implementations, when identifying the second inter-AS link, the controller platform may determine a first portion of the second inter-AS link through the first autonomous system based on a first set of parameters, may determine a second portion of the second inter-AS link between the first autonomous system and the second autonomous system based a second set of parameters, and may determine a third portion of the second inter-AS link through the second autonomous system based on a third set of parameters.

In some implementations, when identifying the second inter-AS link, the controller platform may select a preferred outgoing route for the first autonomous system, from multiple of outgoing routes, based on a first preference, where the preferred outgoing route may be provided from the first autonomous system to the second autonomous system. The controller platform may select a preferred incoming route for the first autonomous system, from multiple incoming routes, based on a second preference, where the preferred incoming route may be provided from the second autonomous system to the first autonomous system. The controller platform may identify the second inter-AS link based on the preferred outgoing route and the preferred incoming route.

In some implementations, the network devices interconnected via the inter-AS links may not be notified of operational states of the inter-AS links due to segment routing in the network.

In this way, the controller platform may traffic engineer segment routing inter-autonomous systems. This, in turn, conserves computing resources (e.g., processing resources, memory resources, and/or the like), networking resources, and/or the like that would otherwise be wasted in identifying traffic lost on non-operational inter-AS links, correcting the non-operational inter-AS links, re-routing the lost traffic, and/or the like. Furthermore, implementations described herein use a rigorous, computerized process to perform tasks that were not previously performed. For example, currently there does not exist a technique that utilizes a centralized controller for traffic engineering segment routing inter-autonomous systems.

As indicated above,FIGS. 1A-1Iare provided merely as examples. Other examples may differ from what is described with regard toFIGS. 1A-1I.

FIG. 2is a diagram of an example environment200in which systems and/or methods described herein may be implemented. As shown inFIG. 2, environment200may include a client device210, a controller platform220, a network230, and a group of network devices240of network230. Devices of environment200may interconnect via wired connections, wireless connections, or a combination of wired and wireless connections.

Client device210includes one or more devices capable of receiving, generating, storing, processing, and/or providing information, such as information described herein. For example, client device210may include a mobile phone (e.g., a smart phone, a radiotelephone, and/or the like), a laptop computer, a tablet computer, a desktop computer, a handheld computer, a gaming device, a wearable communication device (e.g., a smart watch, a pair of smart glasses, a heart rate monitor, a fitness tracker, smart clothing, smart jewelry, a head mounted display, and/or the like), or a similar type of device. In some implementations, client device210may receive information from and/or transmit information to controller platform220, via network230and network devices240. In some implementations, client device210may receive network traffic from and/or may provide network traffic to other client devices210via network230(e.g., by routing packets using network devices240as intermediaries).

Controller platform220includes one or more devices that utilize egress peer engineering to determine optimized traffic plans and to implement an optimized traffic plan. In some implementations, controller platform220may be designed to be modular such that certain software components may be swapped in or out depending on a particular need. As such, controller platform220may be easily and/or quickly reconfigured for different uses. In some implementations, controller platform220may receive information from and/or transmit information to one or more client devices210and/or network devices240.

In some implementations, as shown, controller platform220may be hosted in a cloud computing environment222. Notably, while implementations described herein describe controller platform220as being hosted in cloud computing environment222, in some implementations, controller platform220may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based.

Cloud computing environment222includes an environment that hosts controller platform220. Cloud computing environment222may provide computation, software, data access, storage, etc., services that do not require end-user knowledge of a physical location and configuration of system(s) and/or device(s) that hosts controller platform220. As shown, cloud computing environment222may include a group of computing resources224(referred to collectively as “computing resources224” and individually as “computing resource224”).

Computing resource224includes one or more personal computers, workstation computers, mainframe devices, or other types of computation and/or communication devices. In some implementations, computing resource224may host controller platform220. The cloud resources may include compute instances executing in computing resource224, storage devices provided in computing resource224, data transfer devices provided by computing resource224, etc. In some implementations, computing resource224may communicate with other computing resources224via wired connections, wireless connections, or a combination of wired and wireless connections.

As further shown inFIG. 2, computing resource224includes a group of cloud resources, such as one or more applications (“APPs”)224-1, one or more virtual machines (“VMs”)224-2, virtualized storage (“VSs”)224-3, one or more hypervisors (“HYPs”)224-4, and/or the like.

Application224-1includes one or more software applications that may be provided to or accessed by client device210. Application224-1may eliminate a need to install and execute the software applications on client device210and/or network devices240. For example, application224-1may include software associated with controller platform220and/or any other software capable of being provided via cloud computing environment222. In some implementations, one application224-1may send/receive information to/from one or more other applications224-1, via virtual machine224-2.

Virtual machine224-2includes a software implementation of a machine (e.g., a computer) that executes programs like a physical machine. Virtual machine224-2may be either a system virtual machine or a process virtual machine, depending upon use and degree of correspondence to any real machine by virtual machine224-2. A system virtual machine may provide a complete system platform that supports execution of a complete operating system (“OS”). A process virtual machine may execute a single program and may support a single process. In some implementations, virtual machine224-2may execute on behalf of a user (e.g., a user of client device210or an operator of controller platform220), and may manage infrastructure of cloud computing environment222, such as data management, synchronization, or long-duration data transfers.

Network device240includes one or more devices capable of receiving, processing, storing, routing, and/or providing traffic (e.g., a packet, other information or metadata, and/or the like) in a manner described herein. For example, network device240may include a router, such as a label switching router (LSR), a label edge router (LER), an ingress router, an egress router, a provider router (e.g., a provider edge router, a provider core router, etc.), a virtual router, and/or the like. Additionally, or alternatively, network device240may include a gateway, a switch, a firewall, a hub, a bridge, a reverse proxy, a server (e.g., a proxy server, a cloud server, a data center server, etc.), a load balancer, and/or a similar device. In some implementations, network device240may be a physical device implemented within a housing, such as a chassis. In some implementations, network device240may be a virtual device implemented by one or more computer devices of a cloud computing environment or a data center. In some implementations, a group of network devices240may be a group of data center nodes that are used to route traffic flow through network230.

FIG. 4is a flow chart of an example process400for utilizing a centralized controller for traffic engineering segment routing inter-autonomous systems. In some implementations, one or more process blocks ofFIG. 4may be performed by a controller platform (e.g., controller platform220). In some implementations, one or more process blocks ofFIG. 4may be performed by another device or a group of devices separate from or including the controller platform, such as a client device (e.g., client device210) and/or a network device (e.g., network device240).

As shown inFIG. 4, process400may include receiving border gateway protocol (BGP) data associated with a plurality of links provided in a segment routing network, wherein the segment routing network includes a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices (block410). For example, the controller platform (e.g., using computing resource224, processor320, communication interface370, and/or the like) may receive border gateway protocol (BGP) data associated with a plurality of links provided in a segment routing network, as described above in connection withFIGS. 1A-3. In some aspects, the segment routing network may include a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links, and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices.

As further shown inFIG. 4, process400may include filtering prefixes of the BGP data to identify BGP data associated with the at least one inter-autonomous system link, wherein the BGP data associated with the at least one inter-autonomous system link includes data identifying state information associated with the at least one inter-autonomous system link (block420). For example, the controller platform (e.g., using computing resource224, processor320, memory330, and/or the like) may filter prefixes of the BGP data to identify BGP data associated with the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3. In some aspects, the BGP data associated with the at least one inter-autonomous system link may include data identifying state information associated with the at least one inter-autonomous system link.

As further shown inFIG. 4, process400may include determining an operational state of the at least one inter-autonomous system link based on the BGP data associated with the at least one inter-autonomous system link (block430). For example, the controller platform (e.g., using computing resource224, processor320, storage component340, and/or the like) may determine an operational state of the at least one inter-autonomous system link based on the BGP data associated with the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3.

As further shown inFIG. 4, process400may include performing one or more actions based on the operational state of the at least one inter-autonomous system link (block440). For example, the controller platform (e.g., using computing resource224, processor320, memory330, storage component340, communication interface370, and/or the like) may perform one or more actions based on the operational state of the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3.

In some implementations, when performing the one or more actions the controller platform may cause the one of the first plurality of network devices and the one of the second plurality of network devices to not utilize the at least one inter-autonomous system link when the at least one inter-autonomous system link is non-operational, may cause the one of the first plurality of network devices and the one of the second plurality of network devices to re-route traffic from the at least one inter-autonomous system link when the at least one inter-autonomous system link is non-operational, may provide information indicating the operational state of the at least one inter-autonomous system link, and/or the like.

In some implementations, the one of the first plurality of network devices and the one of the second plurality of network devices may include a provider edge (PE) network device, an autonomous system border router (ASBR), a peer ASBR, and/or the like.

In some implementations, the controller platform may receive additional BGP data associated with the plurality of links after performing the one or more actions, may filter prefixes of the additional BGP data to identify additional BGP data associated with the at least one inter-autonomous system link, may determine that the at least one inter-autonomous system link is operational based on the additional BGP data associated with the at least one inter-autonomous system link, and may cause the one of the first plurality of network devices and the one of the second plurality of network devices to utilize the at least one inter-autonomous system link based on the at least one inter-autonomous system link being operational.

In some implementations, the controller platform may cause bidirectional forwarding detection (BFD) sessions to be established for another inter-autonomous system link of the plurality of links, wherein the other inter-autonomous system link may be provided between another one of the first plurality of network devices and another one of the second plurality of network devices; may receive BFD session data associated with the other inter-autonomous system link, wherein the BFD data associated with the other inter-autonomous system link may include data identifying session information associated with the other inter-autonomous system link; may determine another operational state of the other inter-autonomous system link based on the BFD data associated with the other inter-autonomous system link; and may perform one or more additional actions based on the other operational state of the other inter-autonomous system link.

In some implementations, when performing the one or more additional actions includes, the controller platform may cause the other one of the first plurality of network devices and the other one of the second plurality of network devices to not utilize the other inter-autonomous system link when the other inter-autonomous system link is non-operational, may cause the other one of the first plurality of network devices and the other one of the second plurality of network devices to re-route traffic from the other inter-autonomous system link when the other inter-autonomous system link is non-operational, may provide information indicating the operational state of the other inter-autonomous system link, and/or the like.

In some implementations, the one of the first plurality of network devices and the one of the second plurality of network devices may not be notified of the operational state of the at least one inter-autonomous system link due to segment routing in the segment routing network.

FIG. 5is a flow chart of an example process500for utilizing egress peer engineering to determine optimized traffic plans and to implement an optimized traffic plan. In some implementations, one or more process blocks ofFIG. 5may be performed by a controller platform (e.g., controller platform220). In some implementations, one or more process blocks ofFIG. 5may be performed by another device or a group of devices separate from or including the controller platform, such as a client device (e.g., client device210) and/or a network device (e.g., network device240).

As shown inFIG. 5, process500may include receiving link data associated with a plurality of links provided in a segment routing network, wherein the segment routing network includes a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices (block510). For example, the controller platform (e.g., using computing resource224, processor320, communication interface370, and/or the like) may receive link data associated with a plurality of links provided in a segment routing network, as described above in connection withFIGS. 1A-3. In some aspects, the segment routing network may include a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links, and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices.

As further shown inFIG. 5, process500may include determining data associated with the at least one inter-autonomous system link based on the link data wherein the data associated with the at least one inter-autonomous system link includes data identifying state information associated with the at least one inter-autonomous system link (block520). For example, the controller platform (e.g., using computing resource224, processor320, memory330, and/or the like) may determine data associated with the at least one inter-autonomous system link based on the link data, as described above in connection withFIGS. 1A-3. In some aspects, the data associated with the at least one inter-autonomous system link may include data identifying state information associated with the at least one inter-autonomous system link.

As further shown inFIG. 5, process500may include determining an operational state of the at least one inter-autonomous system link based on the data associated with the at least one inter-autonomous system link (block530). For example, the controller platform (e.g., using computing resource224, processor320, storage component340, and/or the like) may determine an operational state of the at least one inter-autonomous system link based on the data associated with the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3.

As further shown inFIG. 5, process500may include performing one or more actions based on the operational state of the at least one inter-autonomous system link (block540). For example, the controller platform (e.g., using computing resource224, processor320, memory330, storage component340, and/or the like) may perform one or more actions based on the operational state of the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3.

In some implementations, the link data may include border gateway protocol (BGP) data associated with the plurality of links provided in the segment routing network, bidirectional forwarding detection (BFD) session data associated with the plurality of links provided in the segment routing network, and/or the like.

In some implementations, when performing the one or more actions, the controller platform may provide, to the one of the first plurality of network devices and the one of the second plurality of network devices, information instructing the one of the first plurality of network devices and the one of the second plurality of network devices to cease utilization of the at least one inter-autonomous system link when the at least one inter-autonomous system link is non-operational, and re-route traffic from the at least one inter-autonomous system link.

In some implementations, when performing the one or more actions, the controller platform may identify, when the at least one inter-autonomous system link is non-operational, another inter-autonomous system link, of the plurality of links, provided between the one of the first plurality of network devices and the one of the second plurality of network devices, where the other inter-autonomous system link is operational; and may cause the one of the first plurality of network devices and the one of the second plurality of network devices to re-route traffic from the at least one inter-autonomous system link to the other inter-autonomous system link.

In some implementations, when identifying the other inter-autonomous system link, the controller platform may identify the other inter-autonomous system link based on a preference, may identify the other inter-autonomous system link based on a random selection technique, may identify the other inter-autonomous system link based on a round-robin technique, and/or the like.

In some implementations, when identifying the other inter-autonomous system link, the controller platform may determine a first portion of the other inter-autonomous system link through the first autonomous system based on a first set of parameters, may determine a second portion of the other inter-autonomous system link between the first autonomous system and the second autonomous system based a second set of parameters, and may determine a third portion of the other inter-autonomous system link through the second autonomous system based on a third set of parameters.

In some implementations, when identifying the other inter-autonomous system link, the controller platform may select a preferred outgoing route for the first autonomous system, from a plurality of outgoing routes, based on a first preference, where the preferred outgoing route may be provided from the first autonomous system to the second autonomous system; may select a preferred incoming route for the first autonomous system, from a plurality of incoming routes, based on a second preference, where the preferred incoming route may be provided from the second autonomous system to the first autonomous system; and may identify the other inter-autonomous system link based on the preferred outgoing route and the preferred incoming route.

FIG. 6is a flow chart of an example process600for utilizing egress peer engineering to determine optimized traffic plans and to implement an optimized traffic plan. In some implementations, one or more process blocks ofFIG. 6may be performed by a controller platform (e.g., controller platform220). In some implementations, one or more process blocks ofFIG. 6may be performed by another device or a group of devices separate from or including the controller platform, such as a client device (e.g., client device210) and/or a network device (e.g., network device240).

As shown inFIG. 6, process600may include causing bidirectional forwarding detection (BFD) sessions to be established for a plurality of links provided in a segment routing network, wherein the segment routing network includes a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links, and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices (block610). For example, the controller platform (e.g., using computing resource224, processor320, memory330, communication interface370, and/or the like) may cause bidirectional forwarding detection (BFD) sessions to be established for a plurality of links provided in a segment routing network, as described above in connection withFIGS. 1A-3. In some aspects, the segment routing network may include a first autonomous system with a first plurality of network devices interconnected by a first portion of the plurality of links, a second autonomous system with a second plurality of network devices interconnected by a second portion of the plurality of links, and at least one inter-autonomous system link, of the plurality of links, provided between one of the first plurality of network devices and one of the second plurality of network devices.

As further shown inFIG. 6, process600may include receiving BFD session data associated with the at least one inter-autonomous system link, wherein the BFD session data associated with the at least one inter-autonomous system link includes data identifying state information associated with the at least one inter-autonomous system link (block620). For example, the controller platform (e.g., using computing resource224, processor320, and/or the like) may receive BFD session data associated with the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3. In some aspects, the BFD session data associated with the at least one inter-autonomous system link may include data identifying state information associated with the at least one inter-autonomous system link.

As further shown inFIG. 6, process600may include determining an operational state of the at least one inter-autonomous system link based on the BFD session data associated with the at least one inter-autonomous system link (block630). For example, the controller platform (e.g., using computing resource224, processor320, memory330, and/or the like) may determine an operational state of the at least one inter-autonomous system link based on the BFD session data associated with the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3.

As further shown inFIG. 6, process600may include performing one or more actions based on the operational state of the at least one inter-autonomous system link (block640). For example, the controller platform (e.g., using computing resource224, processor320, memory330, storage component340, communication interface370, and/or the like) may perform one or more actions based on the operational state of the at least one inter-autonomous system link, as described above in connection withFIGS. 1A-3.

In some implementations, the controller platform may cause the one of the first plurality of network devices and the one of the second plurality of network devices to not utilize the at least one inter-autonomous system link when the at least one inter-autonomous system link is non-operational, may cause the one of the first plurality of network devices and the one of the second plurality of network devices to re-route traffic from the at least one inter-autonomous system link when the at least one inter-autonomous system link is non-operational, may provide information indicating the operational state of the at least one inter-autonomous system link, and/or the like.

In some implementations, the controller platform may receive additional BFD data associated with the at least one inter-autonomous system link, may determine that the at least one inter-autonomous system link is operational based on the additional BFD data associated with the at least one inter-autonomous system link, and may cause the one of the first plurality of network devices and the one of the second plurality of network devices to utilize the at least one inter-autonomous system link based on the at least one inter-autonomous system link being operational.

In some implementations, the one of the first plurality of network devices and the one of the second plurality of network devices may not be notified of the operational state of the at least one inter-autonomous system link due to segment routing in the segment routing network.

In some implementations, the controller platform may provide, to the one of the first plurality of network devices and the one of the second plurality of network devices, information instructing the one of the first plurality of network devices and the one of the second plurality of network devices to cease utilization of the at least one inter-autonomous system link when the at least one inter-autonomous system link is non-operational, and to re-route traffic from the at least one inter-autonomous system link.

In some implementations, the controller platform may identify, when the at least one inter-autonomous system link is non-operational, another inter-autonomous system link, of the plurality of links, provided between the one of the first plurality of network devices and the one of the second plurality of network devices, where the other inter-autonomous system link may be operational; and may cause the one of the first plurality of network devices and the one of the second plurality of network devices to re-route traffic from the at least one inter-autonomous system link to the other inter-autonomous system link.