EP4486052A2 - Distribution of multicast information in a routing system - Google Patents
Distribution of multicast information in a routing system Download PDFInfo
- Publication number
- EP4486052A2 EP4486052A2 EP24209963.8A EP24209963A EP4486052A2 EP 4486052 A2 EP4486052 A2 EP 4486052A2 EP 24209963 A EP24209963 A EP 24209963A EP 4486052 A2 EP4486052 A2 EP 4486052A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- router
- multicast
- service
- routers
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1886—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
Definitions
- the invention generally relates to distribution of multicast information in a routing system.
- a routing platform such as the 128T routing platform from 128 Technology of Burlington, MA can be considered service-oriented, in that the service configuration is the focal point of the data model (and hence the configuration paradigm).
- administrators may define services to represent the capabilities that their network is designed to deliver to consumers, and these services - - along with their requisite policies and characteristics -- dictate how the traffic patterns traverse the network.
- the 128T routing platform is comprised of two primary components: the Session Smart Router (SSR) and the Conductor. Together, the SSR and Conductor form a single logical control plane that is highly distributed, and a data plane that is truly session-aware.
- the SSR combines a service-centric control plane and a session-aware data plane to offer all IP routing tables, feature-rich policy management, advanced data collection, and analytics in addition to high-speed packet forwarding, classification, and security functions.
- the Conductor is a centralized management and policy engine that provides orchestration, administration, zero-touch provisioning, monitoring, and analytics for distributed SSRs - while maintaining a network-wide, multi-tenant service, and policy data model. Through these components, the 128T routing platform supports a wide range of deployment models scaling from a small branch office to a high capacity edge router to a hyper-scale software-defined data center.
- a routing system for providing multicast access control comprises a plurality of routers including a multicast source router and a plurality of multicast receiver routers, the plurality of routers providing a multicast service, wherein the routers are configured to enforce multicast access control policies for the multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers.
- a router for providing multicast access control comprises a datastore storing multicast access control policies for a multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers and a controller configured to enforce the multicast access control policies for the multicast service.
- the sender access policy may include a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service.
- the receiver access policy may include a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service.
- the routers may accept multicast joins only from interfaces associated with the at least one receiver tenant.
- the routers may accept multicast joins only from interfaces associated with the at least one receiver tenant unless the tenant-based receiver access policy is overridden by configuration on one or more interfaces.
- At least one router may be configured to accept multicast joins from an interface that is not a specified receiver tenant.
- At least one router may be configured to reject multicast joins from an interface that is a specified receiver tenant.
- the routers may be configured to transmit membership query messages on interfaces associated with the at least one receiver tenant.
- the routers may be configured to drop membership report messages on any interface having a tenant that does not have access to the multicast service.
- the routers may be configured to exchange multicast information associated with the multicast service including identification of the multicast sources and the multicast receivers.
- Each router may be configured to transmit the router's multicast information to a central repository and to receive from the central repository multicast information for the other routers.
- At least the source router may be configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- the multicast source router may be configured to transmit unicast packets for the multicast service to each multicast receiver router associated with at least one multicast receiver.
- the multicast source router may be configured to join a multicast tree and to transmit a multicast packet to multiple multicast receiver routers.
- STEP Service and Topology Exchange Protocol, which is used to describe various mechanisms for distributing various types of service and topology state information among and between routers and for using such distributed service and topology state information in making intelligent routing decisions.
- Authority is a single administrative domain that is comprised of a collection of routers; generally analogous to an Autonomous System (AS) in a BGP network.
- An authority can be a single network, a collection of networks, or single managed entity for a group of routers.
- authorities are named with text strings.
- Authority names are unique and may be assigned/managed by a naming authority or other technique that guarantees uniqueness.
- a private naming authority is used, although in alternative embodiments a public naming authority (e.g., IANA or equivalent) may be used.
- authority names are resource names that conform to RFC 1737.
- Neighborhood is an IP network of reachability. All router interfaces configured to be within the same neighborhood are expected to be mutually reachable. This includes interfaces separated by network boundaries, NATs, and firewalls but are mutually reachable.
- a neighborhood is a label (string value) applied to a network interface that describes desired connectivity (peering relationships) between routers. Any two router interfaces within an Authority that share at least one neighborhood label are presumed to be connected to a common L3 network that intends those two interfaces to be capable of reaching one another. Assigning two interfaces to the same neighborhood causes the routers to create a peering relationship with one another.
- every network interface on an SSR belongs to at least one neighborhood, and if a network interface is left unconfigured by the administrator, the SSR will automatically assign it a neighborhood name that is unique among all interfaces within the Authority.
- a network interface can be a member of multiple neighborhoods and can contain a user-ordered list of neighborhoods that all describe the same non-unique L3 network.
- a user ordered list specifies the ordering of the neighborhoods, where the first neighborhood listed will be considered the "primary" neighborhood, and will be the neighborhood associated with all inbound sessions arriving on that network interface for purposes of analytics data, redundancy state information, and other interface-specific metrics.
- each interface's neighborhood can be assigned a topology type as either mesh, hub, or spoke, where a mesh interface attempts to peer with all other neighborhood interface of type mesh or hub, a hub interface attempts to peer with all other neighborhood interfaces of type mesh, and a spoke interface attempts to peer with all other neighborhood interfaces of type mesh or hub.
- District is essentially a collection of neighborhoods. Every router participating in a district will receive link state metrics about every other router interface within the same district. This information can be used to aggregate service state availability to other districts.
- a "Tenant” is a single sub-network that is to be segregated and separated from all others, e.g., for security, manageability, and analytics. This is akin to VLAN or VxLAN or VRF.
- a Tenant is a text string assigned by an Authority or parent Tenant.
- a “Service” is a single named application and is the target of a route. This is similar to an IP address after DNS resolution or CIDR block.
- a Service is named with a text string that normally matches the URL of a service.
- a Service is represented by a text string that is used within the routing protocol.
- a "Service Group” is a portion of a sub-network (Tenant) that is to be segregated, e.g., for manageability and analytics.
- a Service Group is represented by a text string that is used within the routing protocol.
- a "Qualified Service Name” or "QSN” is an addressable resource. This is a textual representation of a tenant, a service-group, or a service.
- every QSN has one unique Authority and uses URI Generic Syntax defined by RFC 3986 in the form QSN://Subtenant.Tenant.Authority/ServiceGroup/Service. Service Groups are optional, and should they not be used, the QSN can be shortened to not include this text.
- SVR stands for Secure Vector Routing. This is how packets are forwarded between two peer SSRs in the 128T routing platform. SVR implements aspects of session-based routing as described in related United States patent application number 14/833,571 , now issued United States Patent No. 9,762,485 , which was incorporated by reference above.
- a Vector is an attribute of a neighborhood on a given router interface, and can be used by administrators to exert control over the routing decision logic (path selection) employed by the router. Whereas neighborhoods describe the topology (peering relationships) between routers, vectors describe path preference for service traffic over that topology. Each neighborhood (within an interface) may contain the name of a vector, which is a label that allows administrators to ascribe some property to that neighborhood for influencing routing. A vector can also be thought of as a name for a peering relationship between two routers within a neighborhood. Once vectors are configured, administrators may assign priorities to those vectors within service-policy configuration elements, e.g., a service (via its policy) can indicate a preferred type of vector or hierarchy of vectors for a particular service.
- service-policy configuration elements e.g., a service (via its policy) can indicate a preferred type of vector or hierarchy of vectors for a particular service.
- a video conference service might be configured to use an MPLS vector if available and to use a basic Internet path vector otherwise.
- a service-policy can assert that certain vectors are never to be used for a given service.
- an HD video conference service may be unusable or cost-prohibitive when sent over LTE, so in an exemplary embodiment the administrator can assign a priority of "never" to the LTE vector with respect to the HD video service.
- vectors can be associated with various metrics (e.g., cost or performance-based metrics) for use in selecting routes.
- a network includes vectors A, B, C, D with respective costs of 10, 20, 50, 60 and a route could use either vectors A/C or vectors B/D
- the router typically would select vectors A/C having an aggregate cost of 60 instead of vectors B/D having an aggregate cost of 80.
- Different routes to a particular destination can be computed by assigning different costs to links for different services, e.g., for purposes of web traffic, a particular link might have a cost X and for purposes of email traffic, the link might have a cost Y, such that routes for web traffic and for email traffic traverse different paths through the network even if both types of traffic arrive at the same egress router.
- a “set” includes one or more members.
- a routing system for distributing multicast routing information for a multicast service includes a plurality of routers including a multicast source router and a plurality of multicast receiver routers, the plurality of routers providing a multicast service, wherein the routers are configured to exchange multicast information associated with the multicast service including identification of multicast sources and the multicast receivers.
- SSRs Session Smart Routers
- service routes are generally configured for services with well-known destinations - akin to static routes. In some cases, the services resort to routing in order to learn the nexthops. These routes can be learned in various ways, such as via a traditional routing protocol (e.g., OSPF, BGP, etc.), via static routes, or via connected routes.
- OSPF OSPF, BGP, etc.
- Each SSR may learn different routes by virtue of running different routing protocols. Routes need to be eventually applied to services, applied to applications, and/or distributed to other SSRs.
- SSRs currently do not have visibility into whether a service is available at the ultimate destination (last hop). This lack of visibility, from a networking perspective, can lead to incorrect routing of packets.
- routers within a portion of a network implement a service and topology exchange protocol (referred to herein as STEP) to exchange service and topology state information such that each router in the portion of the network that participates in STEP (referred to hereinafter as a STEP router) obtains service and topology state information from all of the other STEP routers in the portion of the network and optionally also from STEP routers outside of the portion of the network.
- STEP allows the STEP routers to propagate network state and network state changes as well as manage services across routers, e.g., as more routers become part of an authority or district.
- the network can be segmented into multiple portions, and a STEP router can be a member of multiple portions, thereby participating in STEP exchanges within each portion for which it is a member.
- the STEP routers in one portion can advertise services and routes both within the portion and outside of the portion.
- the service or route can be advertised as an aggregated service or route, e.g., identifying one particular STEP router in the portion through which the service or route can be accessed and optionally including an aggregated metric for the aggregated service or route (e.g., loss, latency, jitter, and/or cost values for the aggregated service or route based on the metrics of individual links/paths associated with the service or route within the portion of the network).
- aggregated metric e.g., loss, latency, jitter, and/or cost values for the aggregated service or route based on the metrics of individual links/paths associated with the service or route within the portion of the network.
- segment routing e.g., segmenting the network and allowing
- the STEP routers within each portion of the network are typically specified through configured relationships, e.g., specifying which STEP routers belong to a particular authority or district. From these configured relationships, the STEP routers can exchange service and topology state information directly or indirectly, as discussed further below.
- the service and topology state information can include traditional link-state information (e.g., obtained from a traditional routing protocol such as OSPF or BGP) as well as additional information such as service level agreement (SLA) information (e.g., the service level agreement for a particular service, and whether or not the service is operating within the service level agreement), path metrics (e.g., configured link speed, actual computed link speed, link state up/down, jitter, packet loss rate, latency, vector information, and/or cost values per path/vector), multicast membership and permission information, and other information relevant to making intelligent routing decisions.
- SLA service level agreement
- path metrics e.g., configured link speed, actual computed link speed, link state up/down, jitter, packet loss rate, latency, vector information, and/or cost values per path/vector
- multicast membership and permission information e.g., multicast membership and permission information relevant to making intelligent routing decisions.
- STEP therefore provides more information to the STEP routers than would be available from a traditional routing protocol alone, allowing each STEP router to make more intelligent routing decisions including routing packets based on service level agreement (SLA) and path metrics, making intelligent multicast routing decisions, and supporting intelligent source routing, to name but a few ways that STEP can be utilized.
- SLA service level agreement
- path metrics making intelligent multicast routing decisions, and supporting intelligent source routing, to name but a few ways that STEP can be utilized.
- STEP is implemented using a centralized distribution system (referred to herein as the STEP server or STEP repository) for dynamically exchanging service and topology state information by and between routers so that the routers can make more intelligent routing decisions.
- each router that participates in STEP (referred to hereinafter as a STEP router) dynamically transmits its own service and topology state information to the STEP repository and dynamically receives service and topology state information for one or more other STEP routers from the STEP repository based on configured relationships between STEP routers.
- the STEP repository is managed by a STEP server in any of a variety of network devices as discussed below, and each STEP router implements a STEP client with respect to this client-server model. Certain exemplary embodiments are described below in the context of this centralized distribution system, although it should be noted that STEP can be implemented using other mechanisms for distributing service and topology state information, some of which are described herein below.
- STEP routers can include SSRs or other routers augmented with some or all of the STEP functionality described herein.
- STEP is being developed to address the following challenges in current SSR network deployments, although it generally provides a mechanism for distributing information within the network that can be used for other purposes now or in the future:
- Provisioning is required to configure BGP over SVR between two SSR peers to exchange BGP routes between two SSRs. This does not scale well across multiple SSRs. There is also a need to map the route information from these legacy routing protocols into the SSR world of services and service-routes. STEP provides an easy way to enforce this. It also provides an extensible way to interact with any future legacy protocols (like ISIS, etc.) if needed or desired. With STEP, network administrators would be able to plug-in the SSRs with any legacy routers and map them to services and make them available to the whole network.
- multicast e.g., IGMP support
- all multicast receivers for a group are learned by an SSR.
- the receiver endpoints will be advertised via the STEP repository and the optimal replication/rendezvous point can be determined to send multicast packets to all receivers, e.g., the smallest tree needed to distribute the multicast packets.
- SSR Service availability is not just limited to routes or path states.
- the final application state could be queried using health APIs as well and is not limited to just the link state alone to determine service state.
- SSRs work around this limitation using path and interface failover techniques that will not work in all cases, especially when there is total outage and when the services are unavailable on other routers as well.
- STEP can propagate the service availability information across the whole network so that each router can make intelligent decisions and minimize outages.
- STEP stores the service and topology state information in the STEP repository.
- the STEP repository generally has the whole view of the network at any given time, and the STEP repository also can store historical information as service and topology state information updates are received from STEP routers.
- This current and historical information can be used for any of a variety of purposes, such as, for example, troubleshooting service and topology problems, making network management decisions (e.g., to shut down a particular router, or to control what information a particular router advertises via the STEP repository), or even reverting to a prior network state (e.g., by "replaying" a sequence of network state changes), to name but a few.
- Service outages or heat-map views of the whole network can be easily generated at any given time. This helps with fault isolation and enhances the ability to debug network problems.
- STEP allows the network to easily scale and provides insights into the whole network. STEP also will help network administrators easily design and scale existing or new networks and provide insight into the service availability across the whole network. In certain exemplary embodiments, there will two manifestations of STEP referred to as “internal STEP” or “iSTEP” and “external STEP” or “eSTEP.”
- Internal STEP is the protocol used to exchange services within an authority and is the primary focus of the following description.
- External STEP is the protocol used to exchange services across authorities and is discussed briefly in the following description.
- STEP routers participating in a STEP-enabled network publish service and topology state information that is maintained in a STEP repository by a STEP server.
- the service and topology state information published by a given STEP router is referred to herein as a STEP document.
- the STEP document is a JavaScript Object Notation (JSON) encoded document, although other mechanisms may be used in various alternative embodiments (e.g., HTML or a binary coded document).
- Service providers also may publish information to the STEP repository, e.g., to advertise service information from their networks/authority.
- the STEP information received by the STEP server from the STEP routers and optionally also from the service providers is selectively distributed to other STEP routers and used by the STEP routers to intelligently route traffic to services and also react to network changes.
- the STEP repository is built upon a highly efficient and scalable in-memory database that follows a publish-subscribe model, referred to herein as the Path Tree database.
- the STEP repository/server performs the collection and distribution of service and topology state information, and all of the routing decisions (both client publishing routing data and client using the data to perform routing, e.g., shortest-path first decisions) are done on the STEP routers and not on the STEP server.
- the STEP repository/server can be configured to make or contribute to routing decisions.
- the path tree database is used to store all data in the STEP repository. As the name suggests, each data set gets its own path in the path tree database.
- Districts are explained in detail in the following sections. For now, a district can be considered as a collection of neighborhoods and a way of segmenting routers within an authority.
- Each STEP router publishes a set of router documents to the STEP repository.
- a STEP router can be a member of one or more districts, and each STEP router publishes one router document for each district of which it is a member.
- Each STEP router generally subscribes to the STEP documents of all other STEP routers within each district of which it is a member. In this way, each STEP router learns the service availability across each district of which it is a member and can apply algorithms on a per-service basis to determine the available paths for a service in the network.
- Each STEP router runs routing (e.g., SPF) calculations periodically and does not receive any end notifications from the server.
- SPF routing
- the following types of information will be stored in the STEP repository:
- the STEP repository provides a complete view of network service availability at any given time and also can maintain a history of the changes that happened in the network over a period of time. Among other things, this current and historical information can be used for debugging or fine-tuning service policies, e.g., to prioritize various services at different times of the day, and also can be used to effectively revert to prior network states if necessary or desirable. Other machine learning algorithms can also be applied to the data obtained from STEP repository to help influence the services in the network.
- STEP clients can create paths and also can subscribe for notifications on any path. For example, a client can add a watch on the path /p1/p2 and it will get notification when anything gets created/changed/removed under the /p1/p2 path.
- Path tree clients store the data-set as JSON (although any data encoding can be used). Any further updates to the data-set will be sent as JSON patch documents (JSON diffs) as specified in IETF RFC 6902 entitled JavaScript Object Notation (JSON) Patch and available at https://tools.ietf.org/html/rfc6902, which is hereby incorporated herein by reference in its entirety.
- JSON diffs JSON patch documents
- JSON diffs JavaScript Object Notation
- the STEP server notifies all subscribers of any changes to the paths to which they have subscribed.
- the server preferably also keeps a history of all JSON diff updates to a particular path. These updates are considered as network path changes or route changes. Periodically, these diffs will be combined into one JSON document (by default, this is configured to be 100 diffs per path) to allow for rollover and aggregation.
- the path tree server is stateless and is not a persistent datastore. If restarted, it loses all state information, and clients must re-populate the datastore with the latest states, i.e., the latest STEP documents.
- a separate path tree client will listen to all paths on the server and store it in a time series database.
- This path tree client can either co-reside with the path tree server or it could be remote.
- This time series database can be used by analytics/web client to determine the network changes over time. This is discussed in greater detail below.
- the STEP repository and STEP server can be hosted virtually anywhere, although in practice they will reside in one of the following three locations:
- STEP server can be co-located on the Conductor.
- the Conductor is accessible by all routers, which is how the routers are initialized and bootstrapped. Thus, generally speaking, the Conductor would be the natural (e.g., default) location for the STEP repository. If Conductor access from the routers is on a "lossy" network or has high latency, the STEP repository should be hosted on a server that is close to the routers or on the routers themselves.
- the STEP server can be located on a standalone server, separate from the Conductor. This generally would require implementation of secure access from all routers.
- the STEP repository can reside on a router (generally a hub router) that can be accessed by all routers in that domain. It should be noted that a STEP router that hosts a STEP repository effectively acts as both a STEP server (for managing the STEP repository) and a STEP client (for transmitting service and topology state information to the STEP repository/server and for receiving service and topology state information from the STEP repository/server).
- FIG. 1 is a schematic diagram showing major components of the STEP server 100, in accordance with one exemplary embodiment.
- the STEP server 100 includes a datastore 110 and a STEP server controller 120.
- the datastore 110 includes a volatile memory in which the route repository is stored (referred to here as the Volatile Route Repository 111) and a persistent storage in which historical STEP information is stored (referred to here as Persistent Historical Information 112).
- the STEP server controller 120 typically includes a microcontroller and related peripherals with software that is stored in a tangible, non-transitory computer-readable medium and that is run on the microprocessor to implement one or more computer processes that perform STEP server functions described herein.
- the microcontroller on which the STEP server controller 120 is implemented may be the same microcontroller that runs other router functions such as computation of routes and routing of packets.
- FIG. 2 is a logic flow diagram for the STEP server controller 120 in implementing the high-level STEP server functions, in accordance with one exemplary embodiment.
- the STEP server controller 120 maintains the STEP repository in the datastore.
- the STEP server controller 120 receives service and topology state information from each of a plurality of STEP routers using the service and topology exchange protocol.
- the STEP server controller 120 stores the received service and topology state information in the STEP repository.
- the STEP server controller 120 transmits, to each router, using the service and topology exchange protocol, service and topology state information from the STEP repository for at least one other router based on configured relationships between routers to enable each STEP router to make routing decisions based at least in part on the service and topology state information from the at least one other router.
- FIG. 3 is a schematic diagram showing major components of the STEP client 300, in accordance with one exemplary embodiment.
- the STEP client 300 includes a datastore 310 and a STEP client controller 320.
- the STEP client controller 320 maintains in the datastore 310 a local STEP repository 311 that is used to store STEP documents received from the STEP server.
- the STEP client controller 320 typically includes a microcontroller and related peripherals with software that is stored in a tangible, non-transitory computer-readable medium and that is run on the microprocessor to implement one or more computer processes that perform STEP client functions described herein.
- the microcontroller on which the STEP client controller 320 is implemented may be the same microcontroller that runs other router functions such as computation of routes and routing of packets.
- the router generally also includes a STEP-enhanced routing engine 340 that uses the STEP information in the local STEP repository 311 along with traditional routing information 313 stored in the datastore 310 (e.g., static routes, connected routes, and/or routes from a routing protocol such as OSPF or BGP) to determine routes for the routing information base 314 upon which the STEP-enhanced routing engine 340 routes packets.
- FIG. 4 is a logic flow diagram for the STEP client controller 220 in implementing the high-level STEP client functions, in accordance with one exemplary embodiment.
- the STEP client controller 220 transmits service and topology state information to the STEP server using the service and topology exchange protocol.
- the STEP client controller 220 receives, from the STEP server, using the service and topology exchange protocol, service and topology state information for at least one other router based on configured relationships between routers.
- the STEP client controller 220 stores the received service and topology state information for the at least one other router in a local STEP repository for use in making routing decisions.
- both the STEP server 100 and the STEP client 300 can be implemented in a router.
- the path tree server is a non-persistent datastore.
- Path tree servers can be deployed with multiple instances to increase resilience. In the event there are multiple path tree servers, one of the servers will be elected as primary and the rest of the servers will be secondary servers. In exemplary embodiments, this election may be based on the lowest boot up timestamp or based on the highest configured priority, although other election schemes may be employed. Clients that connect to a secondary server will have their requests proxied to the primary server. Secondary server repositories will not maintain any path tree state within them.
- a primary server fails or reboots, one of the secondary servers will assume the role of the primary based on the election scheme (e.g., based on the next-lowest boot up timestamp or based on next-highest configured priority). Any requests to the old primary (which is now a secondary) will be relayed to the new primary. If the priority is configured, then once the failed primary with highest priority comes back up, it will assume leadership again. The new primary needs to be repopulated by all routers, as it saves no state.
- All STEP servers should be able to communicate with each other over a L2 or L3 network.
- the STEP servers can be configured with priorities. In an exemplary embodiment, the highest priority server will be the primary and the remaining servers will be secondary servers.
- the STEP primary can be configured taking into consideration the reachability constraints in the network. The next section describes the various locations where STEP server can reside.
- the STEP repository location(s) and optional priority settings can be configured by the network administrator based on the needs of the network deployment.
- the data model changes for the STEP repository is given below.
- the STEP server can be setup by configuring the following two parameters:
- the STEP server can be identified using an IP address or Fully Qualified Domain Name (FQDN).
- the STEP server can be the Conductor, a standalone server, or a router itself. If this field matches the IP address/hostname of an interface on a router, then the STEP server will be setup on that router.
- a STEP service will be generated for each of these IP addresses with the corresponding service routes for each router so that the STEP clients on the routers can reach the STEP repository. This will be done by the config generator before the config is pushed down to all routers. More details are provided below.
- Priority indicates which server should be the primary server in the event there are multiple servers. By default, the server that has the longest uptime becomes the primary. However, with priority configured, the server with the highest priority will instead become the primary. Upon failure to become the primary, the next highest priority will become primary, and so on. If more than two STEP servers are deployed and some have priority configured and some do not, the one with the highest priority that is active will become primary. When all servers with priority configured are unavailable, uptime is used as a discriminator for the remaining servers. This becomes useful in deployments to specify primary servers on nodes which are reachable by all network elements. This could be even a router (e.g., in the event conductor or standalone server has lossy connections).
- the STEP document is a JSON document published by each STEP router to the STEP repository.
- the protobuf definitions below illustrates the different fields that make up the JSON.
- the protobuf definitions above provide a scheme for third-party routers to interact with STEP routers by publishing their router documents as JSON documents.
- Protobufs have accessors to get/set values and they can be converted to and from JSON.
- JSON representation of the document is an example JSON representation of the document:
- the STEP document has the following fields, which will be populated by each network element.
- Router is the top-level entity, which encompasses one or more nodes.
- Each STEP document belongs to a router.
- a router can have one or more nodes connected via an interconnect (backplane).
- Each node lists the services, peer-paths reachable from the node, service availability, external routes distributed by other protocols, and the interconnects available between multiple nodes. The presence of interconnects will be used to determine reachability of service routes between the nodes. If the interconnect is absent from the document, this indicates that the path between the nodes are down and some services hosted by the other node(s) will not be accessible via "this" node. Any peer paths via the node that is down (absent from the document) will not be considered for service reachability.
- the Services section denotes all services that are being advertised by each router.
- a router advertises services if a route matches the configured service prefix or if there is a configured service route.
- a service entry for a router essentially means that the router can provide that service.
- Services are advertised with prefixes and nexthops. If the prefixes have nexthops associated with them, it means that the routes are learned from routing protocols and the nexthops are from routing.
- the prefixes within a service may be withdrawn if the route that contributes to this prefix gets withdrawn.
- the narrower of the configured service prefixes gets advertised. For example: if the service is configured with a prefix of 10.10.10.0/24 and the route that gets applied is 10.10.10.1/32, then the service will be advertised using the 10.10.10.1/32 prefix, as it is narrower.
- the prefixes from a routing protocol get applied to a service only if it is distributed into STEP. More details about this are described below.
- Services can also have prefixes without nexthops. These are prefixes obtained directly from the service address configuration, for which there are configured service routes. Service routes can be considered similar to static routes in that they are explicitly configured but are service-specific.
- the Service route section indicates the configured local nexthops available. This section will only advertise the nexthops that are reachable. If the next hops are down, the service route section will be empty.
- Peer paths indicate all paths available from a given router to each of the peers. This information can be used to build the graph representing the network topology connections between routers.
- the peer paths themselves do not give a complete picture of the service availability.
- Each service has a service policy associated with it, and each of the peer paths should be within the acceptable SLA. Every peer path has a list of service policies associated with it and indicates whether it is within acceptable SLA for each policy. Each service can therefore use this service policy information to determine if these paths are usable for a particular service.
- the service policy for SLA values includes a configurable hold down timer, and the path must remain within SLA during this timer before being advertised as within acceptable limits to the STEP server. It is the responsibility of the router (STEP client) to honor the hold down timer and SLA thresholds for the generation of its STEP document.
- SLA values are also advertised per peer path.
- SLA incorporates loss, latency and jitter values of the path. These typically are measured every few seconds on the routers themselves, but will not be updated in the STEP repository that frequently in order to avoid flaps (e.g., a situation in which a router alternately advertises a destination via one route then another or as unavailable and then available again in quick sequence, or alternatively advertises an interface as down and then up in quick succession) and to avoid frequent routing updates that can prevent network convergence. These values may be updated, for example, every 5 minutes (as a rolling average), which can be overridden. These values, if advertised, will be incorporated into the routing (e.g., SPF) calculation to determine the best path based on SLA.
- SPF routing
- External routes refer to the routes that are distributed into STEP from some other routing protocols (e.g., BGP routes redistributed into STEP). This is a case where the routing protocol is not advertised into any services, just into STEP, so that all other routers can learn this route. These can be redistributed back into the BGP at another STEP router.
- BGP routes redistributed into STEP.
- a neighborhood is a label applied to a network interface to indicate network connectivity. When two network interfaces share the same neighborhood, it implies that they have network reachability. Neighborhoods can be published by each router as part of the STEP document, including its vector, the network interface, and tenancy information. This can be used to determine peer path connectivity between routers. An example configuration is given below.
- neighborhoods from all router configurations are read by the Conductor, and adjacency configuration is generated by the config generation code.
- the adjacency configurations on each router serve as the available peer paths. These peer paths will be advertised as part of the STEP document. This will allow each peer to create a topology graph of the whole network on a per service basis.
- a district is a logical grouping of neighborhoods.
- STEP documents generally are shared between all routers within the same district. There is no strict demarcation for districts and it instead depends entirely on how the network topology is segmented. This section provides examples of how the same network topology can be segmented as one district or multiple districts.
- FIG. 5 is a schematic diagram showing an exemplary topology segmented as one district with multiple neighborhoods.
- the district name is "common" and there is a hub and spoke topology.
- Routers DC1 and DC2 are the hubs.
- Routers Br1 and Br2 are spokes connected to router DC1.
- Routers Br3 and Br4 are spokes connected to router DC2.
- the following neighborhoods are defined:
- the WAN interface reachable between DC1 and DC2 are in neighborhood N3. This neighborhood is also part of district "common.”
- router DC1 published its STEP document in two districts, east and central
- router DC2 also published its STEP document in two districts, west and central.
- Routers Br1 and Br2 only peer with router DC1 in the east district, so routers Br1 and Br2 only published their STEP documents in the east district because their network topology and service availability, on a per branch basis, need not be exposed to the other districts.
- routers Br3 and Br4 only peer with router DC2 in the west district, so routers Br3 and Br4 only published their STEP documents in the west district because their network topology and service availability, on a per branch basis, need not be exposed to the other districts. If all the branches were connected as a full mesh, then each branch router would need to know the service availability and reachability to every other branch, but that is not the case here. In this example, router DC1 can effectively hide all of its branches from router DC2, and vice versa.
- each router that is part of multiple districts will aggregate the service and route information from one district and advertise that to another district.
- the STEP document for the same router on two different districts will look different. Additional details on how the services are exchanged between districts are provided below.
- District is a container at the authority level containing a list of neighborhoods. Each neighborhood can have a list of districts associated with it.
- associating a neighborhood to a district is optional.
- a neighborhood When a neighborhood is not associated explicitly with a district, it will be assigned the district "default-district". This way, it is not mandatory to configure districts if the topology only demands a single district.
- the path Tree server In the topology described with reference to FIG. 5 above, if all neighborhoods were configured without districts rather than with district "common,” then the path Tree server would have the following paths.
- the routing (e.g., SPF) calculation runs on demand on a router using a hold down timer, e.g., if there are any updates from the STEP repository (including local changes), it will be scheduled to recalculate the paths after a predetermined amount of time, e.g., five seconds. This generates service-based routes and nexthops. These will be pushed down to the routing agent to setup Forwarding Information Base (FIB) entries.
- FIB Forwarding Information Base
- a router Once a router reads all the STEP documents, it will run its routing algorithm (e.g., SPF via Dijkstra's algorithm) across all available paths advertised by other routers on a per service basis. In some cases, this will be run on a per service prefix if each of the service prefixes has a different nexthop (this could be the case for prefixes distributed into a service from other protocols).
- SPF routing algorithm
- the cost of each path is published in the STEP document and the service policy associated with each service can be obtained from config. Based on this, the logical network topology is different per service.
- the SPF calculates a best path and an alternate loop free path for each service. The alternate path will be used as a backup in the event the primary path is not available.
- SLA values are advertised per peer path periodically. The time for these updates can be configured per adjacency. Each peer path advertised also indicates if the SLA per service policy is being met. Service policy will have a path hold down timer field which can be configured to control these updates.
- the following types of services are available on a router:
- STEP only advertises the following services in the STEP document in an exemplary embodiment:
- FIG. 7 is a schematic diagram showing a topology including two routers peering with each other.
- router R2 has a service-route for service S1 and there are two peer paths between routers R1 and R2.
- service S1 is configured with prefix 1.2.3.0/24 and with service-route on router R2.
- Router R1 does not have any services to advertise, as it has no routes matching that service nor any service nexthop configured. Thus, the following is an example STEP document for router R1:
- router R1 does not advertise any services. It does, however, have peer paths to the east router, R2.
- service S1 is advertised as part of the STEP document with a service-route. This simply means that service S1 is available on router R2.
- router R1 receives the STEP document of router R2, it discovers that the service S1 is available on router R2, and since the peer path is above the SLA, it would set up a service topology for service S1 from router R1 to router R2.
- router R2 receives the STEP document from router R1, it finds no services are being advertised.
- the only nexthop for service S1 will be the configured service route on router R2.
- the above example indicates how the services are exchanged among multiple routers within the same district.
- a router may be become unavailable for any of a variety of reasons, such as, for example, a failure of the router, unavailable or poor communication connectivity to the router, a shutdown of the router by a network administrator, or removal of the router from the network configuration (e.g., through a notification to the STEP server).
- Such unavailability can be conveyed to the STEP repository and, from there, propagated to other routers that subscribe to updates for the now-unavailable router.
- the router may stop communicating with the STEP server/repository, in which case the STEP server may (possibly after trying a predetermined number of times to re-establish communication with the server) update the STEP repository to indicate that the router is unavailable, e.g., by removing that router's state information from the STEP repository or by updating that router's state information to indicate unavailability.
- the STEP server may update the STEP repository to indicate that the router is unavailable, e.g., by removing that router's state information from the STEP repository or by updating that router's state information to indicate unavailability.
- the STEP server may immediately notify other routers that subscribe to updates for the now-unavailable router that the router is now unavailable, in which case these other routers may re-calculate one or more routes to avoid the now-unavailable router.
- the routes learned from BGP will be distributed into STEP as external routes.
- One use case where this option is useful is to advertise the connected routes of peer routers into BGP where these serve as reverse routes for downstream non-SSRs. However, this is not considered a normal mode of operation and should be the least preferred way of advertising routes, as STEP is not considered as a protocol to carry legacy routes across the network.
- FIG. 9 is a schematic diagram showing an example of redistributing BGP into STEP.
- router R2 learns routes via BGP by peering with another router R3.
- router R2 is configured to distribute BGP into STEP.
- these routes are not distributed into services. This is an important distinction from the previous example, where the routes were distributed into services.
- the routes show up the in external route section of the STEP document of router R2. It should be noted that router R2 does not advertise the service S1 any more, as there are no routes that match the service.
- the protocol section in the external-routes section indicates which protocol was distributed into STEP. This document indicates that route 1.2.3.4/32 from BGP was distributed into STEP. This does not mean that this route was distributed back to another protocol on router R1. The presence of this route does not affect any services, as it will NOT be applied on any services. In certain exemplary embodiments, the only way these routes can be used is if one of the peering routers distribute these external routes back into BGP. Additional details of this are provided below.
- This extension to the existing configuration provides a list of services that can be distributed into BGP. By default, with the service enumeration, all services will be redistributed into BGP.
- Augment BGP routing policy config
- step enumeration within protocol denotes all external routes that were learned via STEP. These are routes that do not match any services but were distributed into STEP via other protocols (e.g. BGP, connected, static, etc.).
- the "service” enumeration will distribute all services prefixes learned from other routers into BGP if they are present in the router document, and will withdraw them if absent.
- the redistribute command has been extended to provide a list of services that can be distributed into BGP in case not all service prefixes need to be exposed. This lets each router have finer control over the services it chooses to advertise into BGP.
- Multicast has many applications where a source needs to replicate packets to one or more receivers.
- SSRs support unicast services which are delivered to one destination.
- Unicast services do not take into account multicast protocols like IGMP protocols, which are used to indicate which receivers are interested in a certain multicast group.
- Unicast services generally have access policies only for the source, whereas multicast services would benefit from access policies for the source as well as receiver on a per service basis.
- a service with multicast IP address is a multicast service.
- a multicast service will replicate packets to multiple endpoint destinations.
- the destinations can be local to the router or can be peer routers.
- the following is an example of a multicast service definition in accordance with an exemplary embodiment:
- a multicast service named "mcast” is associated with a multicast address 233.252.0.2. It also has an access policy to allow a tenant named “blue” and a sender policy to allow a tenant named “red.” It is important to understand these terms, as they differ from the unicast world.
- the access-policy field indicates which receivers are allowed to accept packets from this multicast service. This is different from how unicast services use access-policy. Unicast services use access policies for the originator of the packet (i.e. whether the source has access to this service). However, for multicast services, it is an access-policy for the receivers.
- the access-policy ensures that IGMP packets are received only from the receiver tenants allowed on this service.
- a multicast address indicates a multicast group.
- the multicast receivers can be can be dynamically learned via IGMP protocol.
- the access-policy allows receivers that are classified as tenant blue.
- the router would accept IGMP joins from any interface that has tenant blue configured on it.
- IGMPv2 membership query messages for the 233.252.0.2 group are sent out of all interfaces that have access to this multicast service. Any interface on the router having a tenant that does not have access to the service will drop all IGMP membership report messages received for that multicast group.
- multicast services can impose access controls on the receivers.
- the multicast-sender-policy indicates which sources are allowed to send packets to this multicast service.
- the following shows some exemplary data model changes for the multicast-sender-policy:
- Any multicast service needs a source that generates the multicast packet.
- the sender policy imposes access policies on the sender.
- the sender-policy allows tenant red. This means that the source is allowed to send packets to this multicast group if the source is classified as tenant red.
- the routers can deliver multicast services by joining an existing multicast tree and "proxying" packets between unicast and multicast. For example, with reference again to FIG. 23 having the "mcast" service with address of 233.252.0.2, the datacenter can send the multicast packets into the PIM network in the middle, where the PIM network knows about this multicast group (e.g., in an exemplary embodiment, the PIM network is required to have knowledge of the actual multicast service IP address that is being replicated, and multicast address translation is not supported).
- SSRs support encryption for point-to-point SVR paths and therefore encryption can easily be provided in the point-to-multipoint SVR scheme.
- Providing encryption in the multicast proxy scheme is more complex because there are multiple receivers, although, for example, a common set of encryption keys can be distributed to all receivers so that the source packets can be encrypted once for all receivers.
- the branch routers' functionality is the same as that of the point-to-multipoint deployment for interfaces that enable multicast listeners. It receives IGMP reports from interfaces that allow multicast listeners. The main difference here is that the branch routers need to forward these reports to the PIM network.
- the interface can be configured to act as a multicast-report-proxy (e.g., the tenant of the interface which is enabled for PIM proxy should be allowed in the multicast-sender-policy list). This will cause the branch routers to join the PIM network for multicast group 233.252.0.2 and will start receiving packets multicast from the datacenter. These packets in turn will be forwarded to the multicast receivers.
- an interface when configured for multicast-report-proxy, it will forward all multicast reports received from any other network interfaces that allow multicast listeners.
- FIG. 10 is a schematic diagram showing a topology including a multicast configuration with no receivers.
- router R1 is the source. Both router R2 and router R3 are potential receivers. Initially, there are no receivers on router R2 and router R3, and therefore neither router R2 nor router R3 will advertise the multicast service. As a result, router R1 finds no service routes for this service and therefore will not forward packets. The source packets will be dropped at router R1.
- STEP helps to discover the multicast receivers for a particular service dynamically. There is no PIM or legacy protocols running in the core. The receivers are simply discovered as part of the multicast services like any other service.
- FIG. 11 is a schematic diagram showing the topology of FIG. 10 but now with router R2 having received IGMP joins on two of its interfaces.
- Router R2 will now advertise the multicast address with two service routes. There are two service routes, as there are two interfaces from which the IGMP joins are received. This is akin to routes being received from another routing protocol or a new service route being configured.
- Router R2 will stop advertising the service if it receives an IGMP leave from all the receivers. Since R2 will advertise the multicast service, the following is an example STEP document for router R2:
- router R1 will discover via STEP that the service S1 is available on router R2 and hence it will send all multicast traffic from the source to router R2, which in turn will forward the packets to all the receivers.
- STEP routers publish router documents for each district for which they are members. In the event a router is part of more than one district, the routes and services learned from one district will be aggregated and published to the other district with nexthop as self (i.e. a router in one district will not publish all the other peer information it has learned to another district). This way the routers in one district will be hidden from another district. This helps segment the network better as all routers need not learn about all other routers in the network.
- FIG. 12 is a schematic diagram showing the same topology as FIG. 6 .
- there are three districts specifically a district named "east” including routers DC1, Br1, and Br2; a district named “west” including routers DC2, Br3, and Br4; and a district named “central” including routers DC1 and DC2.
- routers DC1 and DC2 are part of two districts.
- STEP documents for routers Br2 and Br4 are not being provided, as they are not advertising any services.
- FIG. 18 is a logic flow diagram for publishing an aggregated route or service, in accordance with one exemplary embodiment.
- a first router receives service and topology state information for at least one other router.
- the first router identifies, using the received service and topology state information, a route or service from another router for which access to the route or service is available to a second router through the first router.
- the first router computes an aggregated metric for the route or service available through the first router.
- the first router publishes the route or service including the aggregated metric and the first router as the nexthop for the published route or service.
- the first router publishes the route or service by transmitting the route or service to a central repository that is configured to convey the route or service to the second router.
- the first router may be a member of a first district and a second district
- the second router may be a member of the second district
- the first router may receive the service and topology state information from at least one other router in the first district
- the first router may publish the route or service to the second router in the second district in a manner that hides, from the second router, information from the first district relating to the route or service.
- FIG. 13 is a schematic diagram showing a topology including a service exchange between districts that causes a loop.
- router R2 hosts a service route SR1 for service S1 and advertises it to router R3.
- Router R3 in turn advertises it to router R2, which is in district west.
- Router R3 then advertises it back to router R2.
- router R2 receives the update from router R1
- router R2 had received its own advertisement.
- router R2 will receive the update from router R3. This causes a loop in the network.
- the router source path is appended to each route advertised into the other district.
- the loop prevention algorithm is as follows:
- FIG. 14 is a schematic diagram showing the topology of FIG. 13 but including service exchange between districts with loop avoidance.
- router R2 has service route SR1 in district "south" for service S1. The following happens:
- FIG. 19 is a logic flow diagram for loop detection and prevention, in accordance with one exemplary embodiment.
- a given router in a first district publishes a first route or service from the first district to a second district by transmitting a first publication including the first route or service and a first source path for the first route or service with the first district name included in the first source path.
- the given router receives from another district a publication of a second route or service including a second source path.
- the given router determines if the second source includes the first district name.
- the given router processes the second route or service as a newly learned route or service in the first district when the second source path does not include the first district name.
- the given router ignores the second route or service when the second source path does include the first district name.
- STEP will support the use of source-based routing to route packets in the network.
- the source router of a packet or group of related packets determines the path to be taken by the packet(s) based on its routing algorithm, taking into account service and topology state information received for one or more other routers via STEP.
- the source router includes a metadata field in the packet (or, typically, in the first packet of a session), where the metadata field specifies the routers through which the packet(s) are to be carried, e.g., in the form of a router list.
- Each router along the path (referred to herein as a "waypoint" router) examines the metadata to identify the next intended router on the path and modifies the packet to forward the packet to the next intended router, e.g., by modifying the destination address of the packet to be the address of the next intended router.
- the waypoint router typically also modifies the source address of the packet to be the address of the waypoint router itself, and may modify other fields of the packet, e.g., source port, destination port, and protocol fields.
- Original source and destination addressing information for a session also may be carried in the packet as metadata so that each waypoint router can associate the packets with a particular session and so that the final router along the path can revert the source and destination address information in the packet back to the original source and destination address information.
- the intermediate waypoint routers are not required to select a next waypoint router but instead obtain the next waypoint router from the metadata in the received packet.
- the waypoint router can remove itself from the router list in the packet metadata so that only any remaining waypoint routers along the intended path remain in the router list, although this technically is not required (and, in some embodiments, the waypoint router may be excluded from the router list because the waypoint router is implicitly included in the path by virtue of receiving the packet).
- Each waypoint router typically also establishes forward (and optionally also reverse) association information to associate the session packet(s) with the specified path so that subsequent packets associated with the session, which generally do not include the metadata field, can be identified and forwarded along the specified path.
- the last waypoint router on the path forwards the packet to its intended destination, typically also removing the metadata field from the packet and reinstating the original source and destination addresses for the packet.
- Subsequent packets associated with the session traverse the waypoint routers based on the forward (and optionally reverse) association information. Examples of such forward and reverse association information and forwarding of packets based on forward and reverse association information are described in related United States patent application number 14/833,571 , now issued United States Patent No. 9,762,485 , which was incorporated by reference above.
- Segment routing is very powerful to interact between various heterogeneous networks.
- STEP goes one step further in providing service level routing separation (i.e., on a per service basis, all paths may not be available to all routers).
- the service path availability view of one router could be different from that of the advertising router. Therefore, in an exemplary embodiment, is imperative for the router list chosen by the source router to be honored by the other routers.
- Each router repository can be queried independently to see the current state advertised by each router. It shows each district that the router is member of and the advertisement made by the router in each of those districts.
- the previous commands provide the network overview from each router's perspective. While troubleshooting problems in the network, the last changes that happened in the network will be more useful than the whole network view.
- the following command shows the last changes. The following is an example of showing the last changes.
- the user interface (e.g., web client) will be enhanced to show the history of STEP repository changes.
- the STEP repository has the diff of all network topology changes per district. So, the network topology changes at any point of time can be replayed on the web to show the router changes, path SLA changes, and network outages. This will serve as very powerful tool to monitor network changes and pinpoint outages during a specific period of time.
- FIG. 17 is a schematic wire frame diagram showing a heatmap view of the network.
- the routes or services learned from a first district will be aggregated and published to a second district with the router as the nexthop for the aggregated routes or services (i.e., a router in one district will not publish all the other peer information it has learned to another district).
- the routers in the first district will be hidden from the second district, i.e., routers in the second district will know that the route or service is available from the router in the first district that advertised the route or service, but will not have a view into the specific way in which the route or service is provided in the first district. This helps to better segment the network, as the routers in the second district need not learn about all of the routers in the first district.
- the router can publish the aggregated route or service with an aggregated path metric, allowing routers in the second district to evaluate the aggregated route or service as an entity without knowing details of the route or service in the first district.
- the router in the first will append the first district name to the source path of the published route or service. Then, if a router in the first district receives a publication of the route or service from another district and the first district name is in the source path of the published route or service, the router will ignore the published route or service.
- routers in the second district may receive publications of a particular aggregated route or service from multiple routers in the first district, and each can have a different path metric. Thus, for example, if a particular route or service is available through two routers in a particular district, routers in other districts can select the router having the best metric for the particular route or service.
- STEP embodiments are described above with reference to a publish-subscribe model in which the STEP routers publish STEP documents to the STEP server and subscribe to the STEP server to receive service and topology state information from other routers.
- STEP can be implemented using other mechanisms to selectively distribute service and topology state information among and between routers to accomplish essentially the same functionality as described above.
- the STEP server can be configured to implement a "push" mechanism for selectively transmitting service and topology state information to the routers.
- the STEP router can distribute the service and topology state information received from the STEP routers based on configuration information without the STEP routers subscribing to receive the service and topology state information.
- STEP routers can exchange service and topology state information through a mesh transfer mechanism based on configuration information.
- each STEP router can be configured exchange service and topology state information with one or more other STEP routers (including in multiple districts), and the STEP routers then can establish peer-to-peer direct or indirect communication connections to exchange the service and topology state information.
- STEP routers can exchange service and topology state information through a peer-to-peer transfer mechanism in which STEP routers pass along service and topology state information to other STEP routers so that all STEP routers obtain the service and topology state information for the other STEP routers from which the service and topology state information is needed. For example, if router A has an adjacency to router B and router B has an adjacency to router C, then router C could transfer its own service and topology state information and optionally other collected service and topology state information to router B, which in turn could transfer its own service and topology state information as well as service and topology state information received from router C to router A.
- STEP generally involves the selective distribution of service and topology state information among and between STEP routers so that the STEP routers can have additional information on which to make routing decisions and can be implemented using a variety of distribution mechanisms.
- a non-STEP router can advertise an aggregated route or service to an adjacent router, e.g., as part of a link-state exchange.
- embodiments of the invention may be implemented at least in part in any conventional computer programming language.
- some embodiments may be implemented in a procedural programming language (e.g., "C"), or in an object oriented programming language (e.g., "C++”).
- object oriented programming language e.g., "C++”
- Other embodiments of the invention may be implemented as a pre-configured, stand-along hardware element and/or as preprogrammed hardware elements (e.g ., application specific integrated circuits, FPGAs, and digital signal processors), or other related components.
- the disclosed apparatus and methods may be implemented as a computer program product for use with a computer system.
- Such implementation may include a series of computer instructions fixed either on a tangible, non-transitory medium, such as a computer readable medium (e.g ., a diskette, CD-ROM, ROM, or fixed disk).
- a computer readable medium e.g ., a diskette, CD-ROM, ROM, or fixed disk.
- the series of computer instructions can embody all or part of the functionality previously described herein with respect to the system.
- Such computer instructions can be written in a number of programming languages for use with many computer architectures or operating systems.
- such instructions may be stored in any memory device, such as semiconductor, magnetic, optical or other memory devices, and may be transmitted using any communications technology, such as optical, infrared, microwave, or other transmission technologies.
- such a computer program product may be distributed as a removable medium with accompanying printed or electronic documentation (e.g ., shrink wrapped software), preloaded with a computer system (e.g. , on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the network (e.g ., the Internet or World Wide Web).
- a computer system e.g. , on system ROM or fixed disk
- a server or electronic bulletin board e.g ., the Internet or World Wide Web
- some embodiments may be implemented in a software-as-a-service model (“SAAS") or cloud computing model.
- SAAS software-as-a-service model
- some embodiments of the invention may be implemented as a combination of both software (e.g., a computer program product) and hardware. Still other embodiments of the invention are implemented as entirely hardware, or entirely software.
- Computer program logic implementing all or part of the functionality previously described herein may be executed at different times on a single processor (e.g., concurrently) or may be executed at the same or different times on multiple processors and may run under a single operating system process/thread or under different operating system processes/threads.
- the term "computer process” refers generally to the execution of a set of computer program instructions regardless of whether different computer processes are executed on the same or different processors and regardless of whether different computer processes run under the same operating system process/thread or different operating system processes/threads.
- embodiments of the present invention may employ conventional components such as conventional computers (e.g., off-the-shelf PCs, mainframes, microprocessors), conventional programmable logic devices (e.g., off-the shelf FPGAs or PLDs), or conventional hardware components (e.g., off-the-shelf ASICs or discrete hardware components) which, when programmed or configured to perform the non-conventional methods described herein, produce non-conventional devices or systems.
- conventional computers e.g., off-the-shelf PCs, mainframes, microprocessors
- conventional programmable logic devices e.g., off-the shelf FPGAs or PLDs
- conventional hardware components e.g., off-the-shelf ASICs or discrete hardware components
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
- This patent application is related to
United States patent application number 15/054,781 filed February 26, 2016 (now issued ), entitled, "NAME-BASED ROUTING SYSTEM AND METHOD," attorney docket numberUnited States Patent No. 9,985,883 , and naming MeLampy, Baj, Kumar, Penfield, and Timmons as inventors, the disclosure of which is incorporated herein, in its entirety, by reference.4094/1014 - This patent application also is related to
(now issuedUnited States patent application number 14/833,571, filed August 24, 2015 ), entitled, "Network Packet Flow Controller with Extended Session Management," attorney docket number 4094/1011, and naming Kaplan, Kumar, Timmons, and MeLampy as inventors, the disclosure of which is incorporated herein, in its entirety, by reference.United States Patent No. 9,762,485 - The invention generally relates to distribution of multicast information in a routing system.
- A routing platform such as the 128T routing platform from 128 Technology of Burlington, MA can be considered service-oriented, in that the service configuration is the focal point of the data model (and hence the configuration paradigm). In such service-oriented routing platforms, administrators may define services to represent the capabilities that their network is designed to deliver to consumers, and these services - - along with their requisite policies and characteristics -- dictate how the traffic patterns traverse the network.
- The 128T routing platform is comprised of two primary components: the Session Smart Router (SSR) and the Conductor. Together, the SSR and Conductor form a single logical control plane that is highly distributed, and a data plane that is truly session-aware. The SSR combines a service-centric control plane and a session-aware data plane to offer all IP routing tables, feature-rich policy management, advanced data collection, and analytics in addition to high-speed packet forwarding, classification, and security functions. The Conductor is a centralized management and policy engine that provides orchestration, administration, zero-touch provisioning, monitoring, and analytics for distributed SSRs - while maintaining a network-wide, multi-tenant service, and policy data model. Through these components, the 128T routing platform supports a wide range of deployment models scaling from a small branch office to a high capacity edge router to a hyper-scale software-defined data center.
- To date, the notion of services has been limited to a single "router" (collection of nodes), or exported to external routers using explicit configuration, through the use of the Conductor. This can make it difficult to extend service configuration to a large number of SSRs.
- In accordance with one embodiment of the invention, a routing system for providing multicast access control comprises a plurality of routers including a multicast source router and a plurality of multicast receiver routers, the plurality of routers providing a multicast service, wherein the routers are configured to enforce multicast access control policies for the multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers.
- In accordance with another embodiment, a router for providing multicast access control comprises a datastore storing multicast access control policies for a multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers and a controller configured to enforce the multicast access control policies for the multicast service.
- In various alternative embodiments of the above-mentioned routing system and router, the sender access policy may include a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service. The receiver access policy may include a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service. The routers may accept multicast joins only from interfaces associated with the at least one receiver tenant. The routers may accept multicast joins only from interfaces associated with the at least one receiver tenant unless the tenant-based receiver access policy is overridden by configuration on one or more interfaces. At least one router may be configured to accept multicast joins from an interface that is not a specified receiver tenant. At least one router may be configured to reject multicast joins from an interface that is a specified receiver tenant. The routers may be configured to transmit membership query messages on interfaces associated with the at least one receiver tenant. The routers may be configured to drop membership report messages on any interface having a tenant that does not have access to the multicast service. The routers may be configured to exchange multicast information associated with the multicast service including identification of the multicast sources and the multicast receivers. Each router may be configured to transmit the router's multicast information to a central repository and to receive from the central repository multicast information for the other routers. At least the source router may be configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service. The multicast source router may be configured to transmit unicast packets for the multicast service to each multicast receiver router associated with at least one multicast receiver. The multicast source router may be configured to join a multicast tree and to transmit a multicast packet to multiple multicast receiver routers.
- Additional embodiments may be disclosed and claimed.
- Those skilled in the art should more fully appreciate advantages of various embodiments of the invention from the following "Description of Illustrative Embodiments," discussed with reference to the drawings summarized immediately below.
-
FIG. 1 is a schematic diagram showing major components of theSTEP server 100, in accordance with one exemplary embodiment. -
FIG. 2 is a logic flow diagram for theSTEP server controller 120 in implementing the high-level STEP server functions, in accordance with one exemplary embodiment. -
FIG. 3 is a schematic diagram showing major components of theSTEP client 300, in accordance with one exemplary embodiment. -
FIG. 4 is a logic flow diagram for the STEP client controller 220 in implementing the high-level STEP client functions, in accordance with one exemplary embodiment. -
FIG. 5 is a schematic diagram showing an exemplary topology segmented as one district with multiple neighborhoods. -
FIG. 6 is a schematic diagram showing the same topology asFIG. 5 but segmented into multiple districts. -
FIG. 7 is a schematic diagram showing a topology including two routers peering with each other. -
FIG. 8 is a schematic diagram showing an example of redistributing BGP into services. -
FIG. 9 is a schematic diagram showing an example of redistributing BGP into STEP. -
FIG. 10 is a schematic diagram showing a topology including a multicast configuration with no receivers. -
FIG. 11 is a schematic diagram showing the topology ofFIG. 10 but now with router R2 having received IGMP joins on two of its interfaces. -
FIG. 12 is a schematic diagram showing the same topology asFIG. 6 . -
FIG. 13 is a schematic diagram showing a topology including a service exchange between districts that causes a loop. -
FIG. 14 is a schematic diagram showing the topology ofFIG. 13 but including service exchange between districts with loop avoidance. -
FIG. 15 is a schematic diagram showing a topology including source based routing within the same district. -
FIG. 16 is a schematic diagram showing a topology including source based routing across multiple districts. -
FIG. 17 is a schematic wire frame diagram showing a heatmap view of the network. -
FIG. 18 is a logic flow diagram for publishing an aggregated route or service, in accordance with one exemplary embodiment. -
FIG. 19 is a logic flow diagram for loop detection and prevention, in accordance with one exemplary embodiment. -
FIG. 20 is a logic flow diagram for source-based routing, in accordance with an exemplary embodiment. -
FIG. 21 is a schematic diagram showing a topology including point-to-multipoint SVR routing. -
FIG. 22 is a schematic diagram showing a topology including multicast proxy routing. - It should be noted that the foregoing figures and the elements depicted therein are not necessarily drawn to consistent scale or to any scale. Unless the context otherwise suggests, like elements are indicated by like numerals.
- As used in this description and the accompanying claims, the following terms shall have the meanings indicated, unless the context otherwise requires:
STEP stands for Service and Topology Exchange Protocol, which is used to describe various mechanisms for distributing various types of service and topology state information among and between routers and for using such distributed service and topology state information in making intelligent routing decisions. - Authority is a single administrative domain that is comprised of a collection of routers; generally analogous to an Autonomous System (AS) in a BGP network. An authority can be a single network, a collection of networks, or single managed entity for a group of routers. In an exemplary embodiment, authorities are named with text strings. Authority names are unique and may be assigned/managed by a naming authority or other technique that guarantees uniqueness. In exemplary embodiments, a private naming authority is used, although in alternative embodiments a public naming authority (e.g., IANA or equivalent) may be used. In an exemplary embodiment, authority names are resource names that conform to RFC 1737.
- Neighborhood is an IP network of reachability. All router interfaces configured to be within the same neighborhood are expected to be mutually reachable. This includes interfaces separated by network boundaries, NATs, and firewalls but are mutually reachable. In exemplary embodiments, a neighborhood is a label (string value) applied to a network interface that describes desired connectivity (peering relationships) between routers. Any two router interfaces within an Authority that share at least one neighborhood label are presumed to be connected to a common L3 network that intends those two interfaces to be capable of reaching one another. Assigning two interfaces to the same neighborhood causes the routers to create a peering relationship with one another. In an exemplary embodiment, every network interface on an SSR belongs to at least one neighborhood, and if a network interface is left unconfigured by the administrator, the SSR will automatically assign it a neighborhood name that is unique among all interfaces within the Authority. A network interface can be a member of multiple neighborhoods and can contain a user-ordered list of neighborhoods that all describe the same non-unique L3 network. In this context, a user ordered list specifies the ordering of the neighborhoods, where the first neighborhood listed will be considered the "primary" neighborhood, and will be the neighborhood associated with all inbound sessions arriving on that network interface for purposes of analytics data, redundancy state information, and other interface-specific metrics. Two network interfaces belonging to the same neighborhood are effectively treated as having a direct neighbor relationship, even if the communication path between the two network interfaces passes through one or more other routers. In an exemplary embodiment, in order to constrain which interfaces attempt to peer with one another and to avoid unnecessary peering relationships, each interface's neighborhood can be assigned a topology type as either mesh, hub, or spoke, where a mesh interface attempts to peer with all other neighborhood interface of type mesh or hub, a hub interface attempts to peer with all other neighborhood interfaces of type mesh, and a spoke interface attempts to peer with all other neighborhood interfaces of type mesh or hub.
- District is essentially a collection of neighborhoods. Every router participating in a district will receive link state metrics about every other router interface within the same district. This information can be used to aggregate service state availability to other districts.
- A "Tenant" is a single sub-network that is to be segregated and separated from all others, e.g., for security, manageability, and analytics. This is akin to VLAN or VxLAN or VRF. A Tenant is a text string assigned by an Authority or parent Tenant.
- A "Service" is a single named application and is the target of a route. This is similar to an IP address after DNS resolution or CIDR block. A Service is named with a text string that normally matches the URL of a service. A Service is represented by a text string that is used within the routing protocol.
- A "Service Group" is a portion of a sub-network (Tenant) that is to be segregated, e.g., for manageability and analytics. A Service Group is represented by a text string that is used within the routing protocol.
- A "Qualified Service Name" or "QSN" is an addressable resource. This is a textual representation of a tenant, a service-group, or a service. In an exemplary embodiment, every QSN has one unique Authority and uses URI Generic Syntax defined by RFC 3986 in the form QSN://Subtenant.Tenant.Authority/ServiceGroup/Service. Service Groups are optional, and should they not be used, the QSN can be shortened to not include this text. Some exemplary embodiments of QSNs, tenants, service-groups, and services are described in related
United States patent application number 15/054,781 filed February 26, 2016 (now issued ), which was incorporated by reference above.United States Patent No. 9,985,883 - SVR stands for Secure Vector Routing. This is how packets are forwarded between two peer SSRs in the 128T routing platform. SVR implements aspects of session-based routing as described in related
United States patent application number 14/833,571 , now issued , which was incorporated by reference above.United States Patent No. 9,762,485 - A Vector is an attribute of a neighborhood on a given router interface, and can be used by administrators to exert control over the routing decision logic (path selection) employed by the router. Whereas neighborhoods describe the topology (peering relationships) between routers, vectors describe path preference for service traffic over that topology. Each neighborhood (within an interface) may contain the name of a vector, which is a label that allows administrators to ascribe some property to that neighborhood for influencing routing. A vector can also be thought of as a name for a peering relationship between two routers within a neighborhood. Once vectors are configured, administrators may assign priorities to those vectors within service-policy configuration elements, e.g., a service (via its policy) can indicate a preferred type of vector or hierarchy of vectors for a particular service. For example, a video conference service might be configured to use an MPLS vector if available and to use a basic Internet path vector otherwise. Furthermore, a service-policy can assert that certain vectors are never to be used for a given service. For example, an HD video conference service may be unusable or cost-prohibitive when sent over LTE, so in an exemplary embodiment the administrator can assign a priority of "never" to the LTE vector with respect to the HD video service. Additionally or alternatively, vectors can be associated with various metrics (e.g., cost or performance-based metrics) for use in selecting routes. For example, if a network includes vectors A, B, C, D with respective costs of 10, 20, 50, 60 and a route could use either vectors A/C or vectors B/D, then the router typically would select vectors A/C having an aggregate cost of 60 instead of vectors B/D having an aggregate cost of 80. Different routes to a particular destination can be computed by assigning different costs to links for different services, e.g., for purposes of web traffic, a particular link might have a cost X and for purposes of email traffic, the link might have a cost Y, such that routes for web traffic and for email traffic traverse different paths through the network even if both types of traffic arrive at the same egress router.
- The terms "publish" and "advertise" (and variants thereof) are used interchangeably unless the context otherwise requires.
- A "set" includes one or more members.
- In an exemplary embodiment, a routing system for distributing multicast routing information for a multicast service includes a plurality of routers including a multicast source router and a plurality of multicast receiver routers, the plurality of routers providing a multicast service, wherein the routers are configured to exchange multicast information associated with the multicast service including identification of multicast sources and the multicast receivers.
- Exemplary embodiments are described herein with reference to Session Smart Routers (SSRs) of the type sold by 128 Technology of Burlington, MA, although it will be understood by those of ordinary skill in the art that various aspects of the described embodiments can be applied to other networking devices either now or in the future to overcome the types of networking and configuration issues described herein.
- As discussed above, service configuration of a large number of SSRs can be difficult. Furthermore, as networks are constantly changing, information regarding services and service reachability needs to be exchanged between SSRs, as network and application state is dynamic. For example, service routes are generally configured for services with well-known destinations - akin to static routes. In some cases, the services resort to routing in order to learn the nexthops. These routes can be learned in various ways, such as via a traditional routing protocol (e.g., OSPF, BGP, etc.), via static routes, or via connected routes. Each SSR may learn different routes by virtue of running different routing protocols. Routes need to be eventually applied to services, applied to applications, and/or distributed to other SSRs. If some routes are withdrawn, some of the services may become unavailable, and this state change needs to be propagated. Furthermore, SSRs currently do not have visibility into whether a service is available at the ultimate destination (last hop). This lack of visibility, from a networking perspective, can lead to incorrect routing of packets.
- In exemplary embodiments, routers within a portion of a network (e.g., within an authority or district as discussed below, up to an including an entire network) implement a service and topology exchange protocol (referred to herein as STEP) to exchange service and topology state information such that each router in the portion of the network that participates in STEP (referred to hereinafter as a STEP router) obtains service and topology state information from all of the other STEP routers in the portion of the network and optionally also from STEP routers outside of the portion of the network. Among other things, STEP allows the STEP routers to propagate network state and network state changes as well as manage services across routers, e.g., as more routers become part of an authority or district. The network can be segmented into multiple portions, and a STEP router can be a member of multiple portions, thereby participating in STEP exchanges within each portion for which it is a member. The STEP routers in one portion can advertise services and routes both within the portion and outside of the portion. When advertising a service or route outside of the portion, the service or route can be advertised as an aggregated service or route, e.g., identifying one particular STEP router in the portion through which the service or route can be accessed and optionally including an aggregated metric for the aggregated service or route (e.g., loss, latency, jitter, and/or cost values for the aggregated service or route based on the metrics of individual links/paths associated with the service or route within the portion of the network). Among other things, such segment routing, e.g., segmenting the network and allowing for advertisement of aggregated services and routes across network segments, can reduce the amount of information flow needed to distribute the service and topology state information.
- The STEP routers within each portion of the network are typically specified through configured relationships, e.g., specifying which STEP routers belong to a particular authority or district. From these configured relationships, the STEP routers can exchange service and topology state information directly or indirectly, as discussed further below. The service and topology state information can include traditional link-state information (e.g., obtained from a traditional routing protocol such as OSPF or BGP) as well as additional information such as service level agreement (SLA) information (e.g., the service level agreement for a particular service, and whether or not the service is operating within the service level agreement), path metrics (e.g., configured link speed, actual computed link speed, link state up/down, jitter, packet loss rate, latency, vector information, and/or cost values per path/vector), multicast membership and permission information, and other information relevant to making intelligent routing decisions. Among other things, STEP therefore provides more information to the STEP routers than would be available from a traditional routing protocol alone, allowing each STEP router to make more intelligent routing decisions including routing packets based on service level agreement (SLA) and path metrics, making intelligent multicast routing decisions, and supporting intelligent source routing, to name but a few ways that STEP can be utilized.
- In certain exemplary embodiments, STEP is implemented using a centralized distribution system (referred to herein as the STEP server or STEP repository) for dynamically exchanging service and topology state information by and between routers so that the routers can make more intelligent routing decisions. Specifically, each router that participates in STEP (referred to hereinafter as a STEP router) dynamically transmits its own service and topology state information to the STEP repository and dynamically receives service and topology state information for one or more other STEP routers from the STEP repository based on configured relationships between STEP routers. The STEP repository is managed by a STEP server in any of a variety of network devices as discussed below, and each STEP router implements a STEP client with respect to this client-server model. Certain exemplary embodiments are described below in the context of this centralized distribution system, although it should be noted that STEP can be implemented using other mechanisms for distributing service and topology state information, some of which are described herein below.
- It should be noted that STEP routers can include SSRs or other routers augmented with some or all of the STEP functionality described herein.
- STEP is being developed to address the following challenges in current SSR network deployments, although it generally provides a mechanism for distributing information within the network that can be used for other purposes now or in the future:
- Provisioning is required to configure BGP over SVR between two SSR peers to exchange BGP routes between two SSRs. This does not scale well across multiple SSRs. There is also a need to map the route information from these legacy routing protocols into the SSR world of services and service-routes. STEP provides an easy way to enforce this. It also provides an extensible way to interact with any future legacy protocols (like ISIS, etc.) if needed or desired. With STEP, network administrators would be able to plug-in the SSRs with any legacy routers and map them to services and make them available to the whole network.
- With multicast (e.g., IGMP support), all multicast receivers for a group are learned by an SSR. With STEP, the receiver endpoints will be advertised via the STEP repository and the optimal replication/rendezvous point can be determined to send multicast packets to all receivers, e.g., the smallest tree needed to distribute the multicast packets.
- It is possible for a far end SSR to route services to another SSR where the service is no longer available. Service availability is not just limited to routes or path states. The final application state could be queried using health APIs as well and is not limited to just the link state alone to determine service state. Currently, SSRs work around this limitation using path and interface failover techniques that will not work in all cases, especially when there is total outage and when the services are unavailable on other routers as well. STEP can propagate the service availability information across the whole network so that each router can make intelligent decisions and minimize outages.
- STEP stores the service and topology state information in the STEP repository. Thus, the STEP repository generally has the whole view of the network at any given time, and the STEP repository also can store historical information as service and topology state information updates are received from STEP routers. This current and historical information can be used for any of a variety of purposes, such as, for example, troubleshooting service and topology problems, making network management decisions (e.g., to shut down a particular router, or to control what information a particular router advertises via the STEP repository), or even reverting to a prior network state (e.g., by "replaying" a sequence of network state changes), to name but a few. Service outages or heat-map views of the whole network can be easily generated at any given time. This helps with fault isolation and enhances the ability to debug network problems.
- STEP allows the network to easily scale and provides insights into the whole network. STEP also will help network administrators easily design and scale existing or new networks and provide insight into the service availability across the whole network. In certain exemplary embodiments, there will two manifestations of STEP referred to as "internal STEP" or "iSTEP" and "external STEP" or "eSTEP." Internal STEP is the protocol used to exchange services within an authority and is the primary focus of the following description. External STEP is the protocol used to exchange services across authorities and is discussed briefly in the following description.
- An exemplary embodiment of STEP and the various network elements used with STEP is now described.
- As discussed above, STEP routers participating in a STEP-enabled network publish service and topology state information that is maintained in a STEP repository by a STEP server. For convenience, the service and topology state information published by a given STEP router is referred to herein as a STEP document. In specific exemplary embodiments, the STEP document is a JavaScript Object Notation (JSON) encoded document, although other mechanisms may be used in various alternative embodiments (e.g., HTML or a binary coded document). Service providers also may publish information to the STEP repository, e.g., to advertise service information from their networks/authority. The STEP information received by the STEP server from the STEP routers and optionally also from the service providers is selectively distributed to other STEP routers and used by the STEP routers to intelligently route traffic to services and also react to network changes.
- In certain exemplary embodiments, the STEP repository is built upon a highly efficient and scalable in-memory database that follows a publish-subscribe model, referred to herein as the Path Tree database. In exemplary embodiments, the STEP repository/server performs the collection and distribution of service and topology state information, and all of the routing decisions (both client publishing routing data and client using the data to perform routing, e.g., shortest-path first decisions) are done on the STEP routers and not on the STEP server. However, in certain alternative embodiments, the STEP repository/server can be configured to make or contribute to routing decisions.
- The path tree database is used to store all data in the STEP repository. As the name suggests, each data set gets its own path in the path tree database. The following path definition format will be used to publish STEP related information from each STEP router in an exemplary embodiment:
/<authority-name>/<district-name>/<router-name>/step = <router document> where, - authority-name : Name of the authority to which the router belongs
- district-name : Name of the district to which this router belongs.
- router-name : Name of the router
- step : leaf of the path where the j son document is stored
- Districts are explained in detail in the following sections. For now, a district can be considered as a collection of neighborhoods and a way of segmenting routers within an authority.
- Each STEP router publishes a set of router documents to the STEP repository. A STEP router can be a member of one or more districts, and each STEP router publishes one router document for each district of which it is a member. Each STEP router generally subscribes to the STEP documents of all other STEP routers within each district of which it is a member. In this way, each STEP router learns the service availability across each district of which it is a member and can apply algorithms on a per-service basis to determine the available paths for a service in the network. Each STEP router runs routing (e.g., SPF) calculations periodically and does not receive any end notifications from the server.
- In an exemplary embodiment, the following types of information will be stored in the STEP repository:
- Service availability within each router
- Peer paths available from each router
- External routes learned from other routing protocols if distributed into STEP
- Each of these types of information are discussed in greater detail below.
- The STEP repository provides a complete view of network service availability at any given time and also can maintain a history of the changes that happened in the network over a period of time. Among other things, this current and historical information can be used for debugging or fine-tuning service policies, e.g., to prioritize various services at different times of the day, and also can be used to effectively revert to prior network states if necessary or desirable. Other machine learning algorithms can also be applied to the data obtained from STEP repository to help influence the services in the network.
- The path tree database is a lightweight, scalable, in-memory subscription datastore. It supports a socket-based publisher-subscriber model. The data set is stored as various paths, and clients can add watches on various paths to be notified of changes. An example is provided below.
/p1/p2/p3/key="test"
where, - /p1/p2/p3/key is the path
- test is the value.
- STEP clients can create paths and also can subscribe for notifications on any path. For example, a client can add a watch on the path /p1/p2 and it will get notification when anything gets created/changed/removed under the /p1/p2 path.
- Path tree clients store the data-set as JSON (although any data encoding can be used). Any further updates to the data-set will be sent as JSON patch documents (JSON diffs) as specified in IETF RFC 6902 entitled JavaScript Object Notation (JSON) Patch and available at https://tools.ietf.org/html/rfc6902, which is hereby incorporated herein by reference in its entirety. This provides an efficient way to update the states as well as notify watchers of the updates instead of sending the whole JSON file. This mechanism should work particularly well for routing change notifications where only a few routes maybe be advertised or withdrawn based on routing changes. So only those change notifications will be sent by the path tree clients.
- The STEP server notifies all subscribers of any changes to the paths to which they have subscribed. The server preferably also keeps a history of all JSON diff updates to a particular path. These updates are considered as network path changes or route changes. Periodically, these diffs will be combined into one JSON document (by default, this is configured to be 100 diffs per path) to allow for rollover and aggregation.
- The path tree server is stateless and is not a persistent datastore. If restarted, it loses all state information, and clients must re-populate the datastore with the latest states, i.e., the latest STEP documents.
- In order to persist the states in the path tree server, a separate path tree client will listen to all paths on the server and store it in a time series database. This path tree client can either co-reside with the path tree server or it could be remote. This time series database can be used by analytics/web client to determine the network changes over time. This is discussed in greater detail below.
- The STEP repository and STEP server can be hosted virtually anywhere, although in practice they will reside in one of the following three locations:
- STEP server can be co-located on the Conductor. The Conductor is accessible by all routers, which is how the routers are initialized and bootstrapped. Thus, generally speaking, the Conductor would be the natural (e.g., default) location for the STEP repository. If Conductor access from the routers is on a "lossy" network or has high latency, the STEP repository should be hosted on a server that is close to the routers or on the routers themselves.
- The STEP server can be located on a standalone server, separate from the Conductor. This generally would require implementation of secure access from all routers.
- There are several deployments where the connectivity to the Conductor is unreliable and may not be available for extended periods of time such that the routers would not be able to talk to each other. In these cases, route exchanges and forwarding should still be able to function without disruption. In order to achieve this, the STEP repository can reside on a router (generally a hub router) that can be accessed by all routers in that domain. It should be noted that a STEP router that hosts a STEP repository effectively acts as both a STEP server (for managing the STEP repository) and a STEP client (for transmitting service and topology state information to the STEP repository/server and for receiving service and topology state information from the STEP repository/server).
- As discussed above, the STEP repository and STEP server can be implemented in any of various types of devices such as, for example, a STEP router, the Conductor, or a server that is separate from the STEP routers and the Conductor.
FIG. 1 is a schematic diagram showing major components of theSTEP server 100, in accordance with one exemplary embodiment. Among other things, theSTEP server 100 includes adatastore 110 and aSTEP server controller 120. Thedatastore 110 includes a volatile memory in which the route repository is stored (referred to here as the Volatile Route Repository 111) and a persistent storage in which historical STEP information is stored (referred to here as Persistent Historical Information 112). TheSTEP server controller 120 typically includes a microcontroller and related peripherals with software that is stored in a tangible, non-transitory computer-readable medium and that is run on the microprocessor to implement one or more computer processes that perform STEP server functions described herein. When theSTEP server 100 is implemented in a STEP router, the microcontroller on which theSTEP server controller 120 is implemented may be the same microcontroller that runs other router functions such as computation of routes and routing of packets. -
FIG. 2 is a logic flow diagram for theSTEP server controller 120 in implementing the high-level STEP server functions, in accordance with one exemplary embodiment. Inblock 202, theSTEP server controller 120 maintains the STEP repository in the datastore. In block 204, theSTEP server controller 120 receives service and topology state information from each of a plurality of STEP routers using the service and topology exchange protocol. Inblock 206, theSTEP server controller 120 stores the received service and topology state information in the STEP repository. In block 208, theSTEP server controller 120 transmits, to each router, using the service and topology exchange protocol, service and topology state information from the STEP repository for at least one other router based on configured relationships between routers to enable each STEP router to make routing decisions based at least in part on the service and topology state information from the at least one other router. - As discussed above, the STEP client is implemented in the STEP router.
FIG. 3 is a schematic diagram showing major components of theSTEP client 300, in accordance with one exemplary embodiment. Among other things, theSTEP client 300 includes adatastore 310 and aSTEP client controller 320. TheSTEP client controller 320 maintains in the datastore 310 alocal STEP repository 311 that is used to store STEP documents received from the STEP server. TheSTEP client controller 320 typically includes a microcontroller and related peripherals with software that is stored in a tangible, non-transitory computer-readable medium and that is run on the microprocessor to implement one or more computer processes that perform STEP client functions described herein. The microcontroller on which theSTEP client controller 320 is implemented may be the same microcontroller that runs other router functions such as computation of routes and routing of packets. With STEP, the router generally also includes a STEP-enhancedrouting engine 340 that uses the STEP information in thelocal STEP repository 311 along withtraditional routing information 313 stored in the datastore 310 (e.g., static routes, connected routes, and/or routes from a routing protocol such as OSPF or BGP) to determine routes for therouting information base 314 upon which the STEP-enhancedrouting engine 340 routes packets. -
FIG. 4 is a logic flow diagram for the STEP client controller 220 in implementing the high-level STEP client functions, in accordance with one exemplary embodiment. In block 402, the STEP client controller 220 transmits service and topology state information to the STEP server using the service and topology exchange protocol. In block 404, the STEP client controller 220 receives, from the STEP server, using the service and topology exchange protocol, service and topology state information for at least one other router based on configured relationships between routers. In block 406, the STEP client controller 220 stores the received service and topology state information
for the at least one other router in a local STEP repository for use in making routing decisions. - As discussed above, both the
STEP server 100 and theSTEP client 300 can be implemented in a router. - In an exemplary embodiment, the path tree server is a non-persistent datastore. Path tree servers can be deployed with multiple instances to increase resilience. In the event there are multiple path tree servers, one of the servers will be elected as primary and the rest of the servers will be secondary servers. In exemplary embodiments, this election may be based on the lowest boot up timestamp or based on the highest configured priority, although other election schemes may be employed. Clients that connect to a secondary server will have their requests proxied to the primary server. Secondary server repositories will not maintain any path tree state within them.
- In the event a primary server fails or reboots, one of the secondary servers will assume the role of the primary based on the election scheme (e.g., based on the next-lowest boot up timestamp or based on next-highest configured priority). Any requests to the old primary (which is now a secondary) will be relayed to the new primary. If the priority is configured, then once the failed primary with highest priority comes back up, it will assume leadership again. The new primary needs to be repopulated by all routers, as it saves no state.
- All STEP servers (primary and secondaries) should be able to communicate with each other over a L2 or L3 network. The STEP servers can be configured with priorities. In an exemplary embodiment, the highest priority server will be the primary and the remaining servers will be secondary servers. The STEP primary can be configured taking into consideration the reachability constraints in the network. The next section describes the various locations where STEP server can reside.
-
- The STEP server can be setup by configuring the following two parameters:
- The STEP server can be identified using an IP address or Fully Qualified Domain Name (FQDN). The STEP server can be the Conductor, a standalone server, or a router itself. If this field matches the IP address/hostname of an interface on a router, then the STEP server will be setup on that router. A STEP service will be generated for each of these IP addresses with the corresponding service routes for each router so that the STEP clients on the routers can reach the STEP repository. This will be done by the config generator before the config is pushed down to all routers. More details are provided below.
- This is an optional parameter which would be very useful in some network deployments. Priority indicates which server should be the primary server in the event there are multiple servers. By default, the server that has the longest uptime becomes the primary. However, with priority configured, the server with the highest priority will instead become the primary. Upon failure to become the primary, the next highest priority will become primary, and so on. If more than two STEP servers are deployed and some have priority configured and some do not, the one with the highest priority that is active will become primary. When all servers with priority configured are unavailable, uptime is used as a discriminator for the remaining servers. This becomes useful in deployments to specify primary servers on nodes which are reachable by all network elements. This could be even a router (e.g., in the event conductor or standalone server has lossy connections).
-
- The protobuf definitions above provide a scheme for third-party routers to interact with STEP routers by publishing their router documents as JSON documents. Protobufs have accessors to get/set values and they can be converted to and from JSON. The following is an example JSON representation of the document:
{
name : "EastRouter"
nodes : [ {
name: "node1",
peerPaths : [
{
identifier : "peer1+3.5.6.7+node1+intf1+vlan0",
hostname : "EastRouter.node1.intf",
peerName : "peer1",
vector : [ "broadband", "mpls" ],
service-policy : [ {
name : "test",
hasSla : true
}],
},
{
identifier : "peer1+4.5.6.7+node1+inft11+vlan0",
ipAddress : "10.2.3.4",
peerName : "peer1",
vector : ["lte"],
slaValues : {
loss : 10,
latency : 30,
Jitter : 10
},
service-policy : [ {
name: "test",
hasSla : false
} ]
}
],
service : [ {
name : "database",
route : [{
ipPrefix : "1.2.3.4",
prefixLength : 32,
nexthop : [ { cost : 10 } ]
},
ipPrefix : "2.5.6.0",
prefixLength : 24
service-route : [ {
name : "service-route1",
serviceNexthop : [ {
vector : [ {"red", "blue" } ]
}],
} ]
}],
external-routes : [ {
route : [ {
ipPrefix : "192.168.3.0",
prefixLength : 24,
nexthop : [ { cost : 10 } ],
}],
protocol : "bgp"
}],
interconnect : [ {"fabric1"} ]
},
{
name: "node2",
peerPaths : [
{
identifier : "peer2+3.5.6.7+node2+12+0",
hostname : "EastRouter.node2.intf",
peerName : "peer2",
vector : ["mpls"],
slaValues : {
loss : 20,
latency : 10,
jitter : 0
},
service-policy : [ {
name: "test",
hasSla : false
} ]
}
],
service : [ {
name : "database",
route : [{
ipPrefix : "2.5.6.0",
prefixLength : 24
}],
service-route : [ {
name : "service-route2",
serviceNexthop : [ {
vector: [ {"red"} ]
} ]
} ]
}]
}]
}
- <authority-name> : auth128
- /auth128/common/DC1/step=<json>
- /auth128/common/DC2/step=<json>
- /auth128/common/Br1/step=<json>
- /auth128/common/Br2/step=<json>
- /auth128/common/Br3/step=<json>
- /auth128/common/Br4/step=<json>
<authority-name> : auth128
- /auth128/east/DC1/step=<j son>
- /auth128/east/Brl/step=<j son>
- / auth 128/east/Br2/ step=<j son>
- /auth128/west/DC2/step=<j son>
- /auth128/west/Br3/step=<j son>
- /auth 128/west/B r4/ step=<j son>
- /auth128/central/DC1/step=<json>
- /auth128/central/DC2/step=<json>
- <authority-name> : auth128
- /auth128/default-district/DC1/step=<j son>
- /auth128/default-district/DC2/step=<j son>
- /auth128/default-district/Br1/step=<j son>
- /auth128/default-district/Br2/step=<j son>
- /auth128/default-district/Br3/step=<j son>
- /auth128/default-district/Br4/step=<j son>
- If a router R1 has an interface with neighborhood N1 in
district D 1 and another interface with no neighborhood configured, R1 will publish the router document under district D1 only. It will not publish a document under "default-district." - If a router R1 has an interface with neighborhood N1 in
district D 1 and another interface in another neighborhood N2 which is not part of any districts, R1 will publish STEP documents under D1 and "default-district." - If router R1 has no neighborhoods configured on any of its interfaces, it will not publish any STEP document.
- a) Services with authority wide scope.
- b) Local Services that are local to the router or shared between N routers.
- c) Hosted services that are for services hosted by the router for local access.
- d) Application Identification services that are local to the router.
- a) Services with authority wide scope.
- b) Local Services that are shared between more than one router. If the service is local to that router, then it will not be advertised.
- Obtains service S1 via configuration
- Has no routes that match the service prefix S1
- Has two peer paths
{
node: [ {
name: "node2",
peerPaths : [
{
identifier : "peer2+3.5.6.7+node2+dev1+intf1",
hostname : "R2.node2.intf1",
peerName : "peer2",
vector : [ "mpls" ]
},
{
identifier : "peer2+3.5.6.7+node2+dev2+intf2",
hostname : "R2.node2.intf2",
peerName : "peer2",
vector : [ "broadband" ]
}
]
} ]
}
- Obtains service S1 via configuration
- Has no routes that match the service prefix S1
- Learns about a local service-route on the node N1 via configuration.
- Has two peer paths
{
node: [ {
name : "node2",
peerPaths : [
{
identifier : "peer2+3.5.6.7+node2+dev1+intf1",
hostname : "R1.node2.intf1",
peerName : "peer2",
vector : [ "mpls" ]
},
{
identifier : "peer2+3.5.6.7+node2+dev2+intf2",
hostname : "R1.node2.intf2",
peerName : "peer2",
vector : [ "broadband" ]
}
]
service : [ {
name : "S1",
route : [ {
ipPrefix : "1.2.3.0",
prefixLength : 24
}],
service-route : [ {
name : "service-route1",
serviceNexthop : [
{ vector : "red" }
],
} ]
} ]
} ]
}
- a) BGP
- b) OSPF
- c) Static
- d) Connected
- a) Redistribute into selected services
- b) Redistribute as external routes
name : "step1"
redistribute
protocol : bgp
service : [ { "S1" } ]
- Obtains service S1 via configuration
- Has no routes that match the service prefix S1
- Has two peer paths
{
node: [ {
name : "node2",
peerPaths : [ {
identifier : "peer2+3.5.6.7+node2+12+0",
hostname : "R2.node2.intf",
peerName : "peer2",
vector : [ "mpls" ]
}]
}]
}
- Obtains service S1 via configuration
- Has BGP routes that match the service prefix S1. The narrower prefix is advertised.
- Has two peer paths
{
node: [ {
name: "node2",
peerPaths : [ {
identifier : "R1+3.5.6.7+node2+12+0",
hostname : "EastRouter.node2.intf",
peerName : "peer2",
vector : [ "mpls" ]
}],
service : [ {
name: "S1",
route : [ {
ipPrefix : "1.2.3.4",
prefixLength : 32,
nexthop : [ { cost : 10 } ]
} ]
}]
}]
}
- BGP was redistributed into the service S1 in router R2
- The route learned from BGP was a subset of the service prefix
name : "step1"
redistribute
protocol : bgp
- Obtains service S1 via configuration
- Has no routes that match the service prefix S1 as BGP is not distributed into S1 service
- Has external routes as BGP is distributed into STEP
- Has two peer paths
{
node: [ {
name : "node2",
peerPaths : [ {
identifier : "R1+3.5.6.7+node2+12+0",
hostname : "EastRouter.node2.intf",
peerName : "peer2",
vector : [ "mpls" ]
} ]
external-routes : [ {
route : {
ipPrefix : "1.2.3.4",
prefixLength : 32,
nexthop : [ { cost : 10 } ]
},
protocol : "bgp"
} ]
} ]
}
- name : branch1_service_route
- service : mcast
- peer : branch1
- name : branch2_service_route
- service : mcast
- peer : branch2
- Codes: K - kernel route, C - connected, S - static, R - RIP,
- O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
- T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
- F - PBR,
- > - selected route, * - FIB route
- C>* 169.254.127.126/31 is directly connected, g4294967294, 21:08:01
- C>* 172.16.1.0/24 is directly connected, g1, 21:07:43
- K>* 224.1.2.3/32 [254/0] is directly connected, g3 ⇐= IGMP join received
{
node: [ {
name: "node2",
peerPaths : [ {
identifier : "R1+3.5.6.7+node2+12+0",
hostname : "EastRouter.node2.intf",
peerName : "peer2",
vector : [ "mpls" ]
} ]
service : [ {
name: "S1",
route : [ {
ipPrefix : "224.1.2.3",
prefixLength :32,
}],
service-route : [
{
name : "mcast-route-intf1",
serviceNexthop : [
{ vector : "red" },
],
},
{
name : "mcast-route-intf2",
serviceNexthop : [
{ vector : "blue" },
]
}
]
} ]
} ]
}
- Obtains service S1 and service route for S1 via configuration
- Publishes service S1 into district east
{
node: [ {
name: "node2",
peerPaths : [ {
identifier : "DC1+3.5.6.7+node2+12+0",
hostname : "R1.node2.intf",
peerName : "DC1",
vector : [ "mpls" ]
} ]
service : [ {
name: "S1",
route : [ {
ipPrefix : "1.2.3.0",
prefixLength : 24
}],
service-route : [ {
name : "service-route1",
serviceNexthop : [
{ vector : "red" },
],
} ]
} ]
} ]
}
- Obtains service S2 and service route for S2 via configuration
- Publishes service S2 into district west
{
node: [ {
name: "node2",
peerPaths : [ {
identifier : "DC2+3.5.6.7+node2+12+0",
hostname : "R1.node2.intf",
peerName : "DC2",
"vector" : [ "mpls" ]
}],
service : [ {
name: "S2",
route : [ {
ipPrefix : "5.5.5.5",
prefixLength : 32
}],
service-route : [ {
name : "service-route21",
serviceNexthop : [
{ vector : "blue" }
] }
} ]
} ]
} ]
}
- Learns service S2 from DC2 via district "central"
- Publishes the learned service S2 into district "east" with associated cost
- Publishes service S1 into district "central"
- None of the peer topologies are exposed between districts.
{
node: [ {
name: "node2",
peerPaths : [
{
identifier : "Br1+3.5.6.7+node2+12+0",
hostname : "Br1.node2.intf",
peerName : "Br1",
vector : [ "mpls" ]
},
{
identifier : "Br2+3.5.6.7+node2+12+0",
hostname : "Br2.node2.intf",
peerName : "Br2",
vector : [ "mpls" ]
}
],
service : [ {
name: "S2",
route : [ {
ipPrefix : "5.5.5.5",
prefixLength : 32,
nexthop : [ cost : 20} ]
} ]
} ]
} ]
}
{
node: [ {
name: "node2",
peerPaths : [ {
identifier : "DC2+3.5.6.7+node2+12+0",
hostname : "DC2.node2.intf",
peerName : "DC2",
vector : ["internet"]
}],
service : [ {
name : "S1",
route : [ {
ipPrefix : "1.2.3.0",
prefixLength : 24,
nexthop : [ cost : 10} ]
} ]
} ]
} }
}
- Learns service S1 from DC2 via district "central"
- Publishes the learned service S1 into district "west" with associated cost
- Publishes service S2 into district "central"
- None of the peer topologies are exposed between districts
{
node: [ {
name : "node2",
peerPaths : [
{
identifier : "Br3+3.5.6.7+node2+12+0",
hostname : "Br3.node2.intf",
peerName : "Br3",
vector : [ "mpls" ]
},
{
identifier : "Br4+3.5.6.7+node2+12+0",
hostname : "Br4.node2.intf",
peerName : "Br4",
vector : ["mpls"]
}
],
service : [ {
name: "S1",
route : [ {
ipPrefix : "1.2.3.0",
prefixLength : 24,
nexthop : [ {cost : 10} ]
} ]
} ]
} ]
}
{
node: [ {
name: "node2",
peerPaths : [ {
identifier : "DC2+3.5.6.7+node2+12+0",
hostname : "DC2.node2.intf",
peerName : "DC2",
vector : [ "internet" ]
}],
service : [ {
name: "S2",
route : [ {
ipPrefix : "5.5.5.5",
prefixLength : 32,
nexthop : [ {cost : 20} ]
} ]
} ]
} ]
}
- Each router that advertises aggregated routes and services from one district to another will append the district name from where the service/route was aggregated as part of the nexthop. As services are distributed throughout the network, the district paths will get appended to the nexthop.
- If a router receives service prefixes/routes with a district in the source path and the router is a member of the district, the router will ignore that prefix/nexthop.
- R2 advertises S1 in district central, appending district south from where the SR1 was learned. The source path list will have [south]
- R3 advertises S1 in district west, appending district central from where SR1 was learned. The source path list will have [south, central]
- R1 advertises S1 in district east, appending district west from where SR1 was learned. The source path list will have [south, central, west]
- R2 learns the service S1 from district east and finds that district south, which it belongs to, is already in the advertised service route and hence will ignore it. This avoids the loop.
| Location | Address | Uptime | Priority | Clients |
| Router DC 1 (primary) | 1.2.3.4 | 12h | 10 | 100 |
| Conductor | 2.3.4.5 | 10h | 8 | 20 |
| Router DC2 | 1.3.4.5 | 2h | 9 | 0 |
Districts : 2
| Name | Routers |
| District A | 4 |
| | 2 |
-
District A
-
PeerPaths:
Peer-path-id 1-
SLA (updated 2min ago)
- Latency : 20ms
- Loss : 0%
- Jitter : 10ms
-
Service Policies
- Policy 1 : meets SLA
- Policy2 : does not meet SLA
-
SLA (updated 2min ago)
- Services :
- Service S1
- 1.1.1.0/24 nexthop { vector A }
- 1.1.1.1/32 nexthop { vector B, sourcePath : DistrictB }
- Service S2
1.1.1.0/24 nexthop { vector A }
- Service S1
- External Routes:
Protocols- BGP
- 5.5.5.5/32 nexthop {
cost 1, sourcePath : DistrictB }
-
PeerPaths:
-
District B
-
PeerPaths:
Peer-path-id2-
SLA (updated 3min ago)
- Latency : 10ms
- Loss : 1%
- Jitter : 0ms
-
Service Policies
- Policy 1 : meets SLA
- Policy2 : meets SLA
-
SLA (updated 3min ago)
- Services :
Service S1
1.1.1.1/32 nexthop { vector B }
-
PeerPaths:
- P1. A routing system for implementing a service and topology exchange protocol (STEP), the routing system comprising:
- a primary STEP server configured to maintain a STEP repository; and
- a plurality of routers, each router including a STEP client in communication with the primary STEP server; wherein:
- the STEP client of each router is configured to transmit, using the service and topology exchange protocol, STEP documents containing service and topology state information for at least one route or service available through the router to the primary STEP server for storage in the STEP repository;
- the primary STEP server is configured to transmit to the STEP client of each router, using the service and topology exchange protocol, service and topology state information from the STEP repository for at least one other router based on configured relationships between routers; and
- each router is configured to make routing decisions based at least in part on the service and topology state information from the at least one other router.
- P2. The system of claim P1, wherein the STEP documents include JSON patch documents.
- P3. The system of claim P1, wherein the information in the STEP repository is organized as a path tree database and wherein each STEP document includes a path definition identifying the router for storage of the router's service and topology state information in the path tree database.
- P4. The system of claim P1, further comprising at least one secondary STEP server that is configured to proxy STEP requests to the primary STEP server.
- P5. The system of claim P1, wherein at least one router is a member of a plurality of districts and transmits a separate STEP document containing service and topology state information for each district of which it is a member.
- P6. The system of claim P1, wherein at least one router is a member of a plurality of districts and receives service and topology state information for routers in each district of which it is a member.
- P7. The system of claim P1, wherein the service and topology state information transmitted by the router further includes a service level agreement for a given service and an indication of whether or not the given service is within the service level agreement.
- P8. The system of claim P1, wherein at least one router is a member of a district and transmits service and topology state information including a route or service learned from outside of the district.
- P9. The system of claim P1, wherein at least one router transmits service and topology state information including at least one path metric for a route or service.
- P10. The system of claim P1, wherein the primary STEP server is separate from the routers.
- P11. The system of claim P1, wherein the primary STEP server is in one of the routers.
- P12. A server for implementing a service and topology exchange protocol (STEP), the server comprising:
- a datastore; and
- a service and topology exchange protocol (STEP) server controller in communication with a plurality of routers, the STEP server controller configured to:
- maintain a STEP repository in the datastore;
- receive, from each of the plurality of routers, using the service and topology exchange protocol, STEP documents containing service and topology state information for storage in the STEP repository; and
- transmit, to each router, using the service and topology exchange protocol, service and topology state information from the STEP repository for at least one other router based on configured relationships between routers, the transmitted service and topology state information enabling each router to make routing decisions based at least in part on the service and topology state information from the at least one other router.
- P13. The server of claim P12, wherein the STEP documents include JSON patch documents.
- P14. The server of claim P12, wherein the information in the STEP repository is organized as a path tree database and wherein each STEP document includes a path definition identifying the router for storage of the router's service and topology state information in the path tree database.
- P15. The server of claim P12, wherein at least one router is a member of a plurality of districts and transmits a separate STEP document containing service and topology state information for each district of which it is a member.
- P16. The server of claim P12, wherein at least one router is a member of a plurality of districts and receives service and topology state information for routers in each district of which it is a member.
- P17. The server of claim P12, wherein the server is separate from the routers.
- P18. The server of claim P12, wherein the server is in one of the routers.
- P19. A router for implementing a service and topology exchange protocol (STEP), the router comprising:
- a datastore;
- a service and topology exchange protocol (STEP) client controller in communication with a STEP server, the STEP client controller configured to:
- transmit, using the service and topology exchange protocol, service and topology state information for at least one route or service available through the router to the STEP server;
- receive, from the STEP server, using the service and topology exchange protocol, service and topology state information for at least one other router based on configured relationships between routers; and
- store the received service and topology state information for the at least one other router in the datastore; and
- a routing engine configured to make routing decisions based at least in part on the service and topology state information for the at least one other router.
- P20. The router of claim P19, wherein the STEP documents include JSON patch documents.
- P21. The router of claim P19, wherein the information in the STEP repository is organized as a path tree database and wherein each STEP document includes a path definition identifying the router for storage of the router's service and topology state information in the path tree database.
- P22. The router of claim P19, wherein the router is a member of a plurality of districts and transmits a separate STEP document containing service and topology state information for each district of which it is a member.
- P23. The router of claim P19, wherein the router is a member of a plurality of districts and receives service and topology state information for routers in each district of which it is a member.
- P24. The router of claim P19, wherein the service and topology state information transmitted by the router further includes a service level agreement for a given service and an indication of whether or not the given service is within the service level agreement.
- P25. The router of claim P19, wherein the router is a member of a district and transmits service and topology state information including a route or service learned from outside of the district.
- P26. The router of claim P19, wherein the service and topology state information transmitted by the router includes at least one metric for the route or service.
- P27. The router of claim P19, wherein the router further comprises a STEP server configured to maintain a STEP repository.
- P28. The system of claim P1, wherein a given STEP document includes only service and topology state information changes.
- P29. The system of claim P1, wherein given service and topology state information transmitted by the primary STEP server to the STEP client of a given router includes only service and topology state information changes.
- P30. The server of claim P12, wherein a given STEP document includes only service and topology state information changes.
- P31. The server of claim P12, wherein given service and topology state information transmitted by the primary STEP server to the STEP client of a given router includes only service and topology state information changes.
- P32. The router of claim P19, wherein a given STEP document includes only service and topology state information changes.
- P33. The router of claim P19, wherein given service and topology state information transmitted by the primary STEP server to the STEP client of a given router includes only service and topology state information changes.
- P1. A routing system comprising:
- a first router; and
- a second router, wherein the first router is configured to receive service and topology state information for at least one other router; identify, using the received service and topology state information, a route or service from another router for which access to the route or service is available to the second router through the first router; compute an aggregated metric for the route or service available through the first router; and publish the route or service to the second router including the aggregated metric and the first router as the nexthop for the published route or service.
- P2. The system of claim P1, wherein the first router publishes the route or service by transmitting the route or service to a central repository that is configured to convey the route or service to the second router.
- P3. The system of claim P1, wherein:
- the first router is a member of a first district and a second district;
- the second router is a member of the second district;
- the first router receives the service and topology state information from at least one other router in the first district; and
- the first router publishes the route or service to the second router in the second district in a manner that hides, from the second router, information from the first district relating to the route or service.
- P4. The system of claim P3, wherein the route or service is in the first district.
- P5. The system of claim P3, wherein the route or service is in a third district.
- P6. The system of claim P3, wherein the first district is associated with a first district name, and wherein the first router is configured to publish the route or service to the second router in the second district including a source path for the published route or service with the first district name included in the source path.
- P7. The system of claim P6, wherein the first router is configured to receive the published route or service including the source path from another district and to append the first district name to the source path.
- P8. A router comprising:
- a datastore; and
- a service and topology exchange protocol (STEP) client controller configured to:
- receive service and topology state information for at least one other router and store the received service and topology state information in the datastore;
- identify, using the received service and topology state information, a route or service from another router for which access to the route or service is available to a second router through the first router;
- compute an aggregated metric for the route or service available through the router; and
- publish the route or service to the second router including the aggregated metric and the router as the nexthop for the published route or service.
- P9. The router of claim P8, wherein the STEP client controller is configured to publish the route or service by transmitting the route or service to a central repository that is configured to convey the route or service to the second router.
- P10. The router of claim P8, wherein:
- the router is a member of a first district and a second district;
- the second router is a member of the second district;
- the router receives the service and topology state information from at least one other router in the first district; and
- the router publishes the route or service to the second router in the second district in a manner that hides, from the second router, information from the first district relating to the route or service.
- P11. The router of claim P10, wherein the route or service is in the first district.
- P12. The router of claim P10, wherein the route or service is in a third district.
- P13. The router of claim P10, wherein the first district is associated with a first district name, and wherein the router is configured to publish the route or service to the second router in the second district including a source path for the published route or service with the first district name included in the source path.
- P14. The router of claim P13, wherein the router is configured to receive the published route or service including the source path from another district and to append the first district name to the source path.
- P15. A routing system for detecting and avoiding loops between a plurality of routers organized into a plurality of districts, the routing system comprising:
a plurality of routers organized into a plurality of districts including at least a first district and a second district, each district associated with a distinct district name, the plurality of routers including a first router that is a member of the first district and the second district, the first router configured to:- publish a first route or service from the first district to the second district by transmitting a first publication including the first route or service and a first source path for the first route or service with the first district name included in the first source path;
- receive from another district a second publication of a second route or service including a second source path;
- determine if the second source path includes the first district name;
- process the second route or service as a newly learned route or service in the first district when the second source path does not include the first district name; and
- ignore the second route or service when the second source path does include the first district name.
- P16. The system of claim P15, wherein the first route or service published by the first router further identifies the first router as a nexthop for the first route or service in the first district.
- P17. The system of claim P15, wherein publishing the first route or service from the first district to the second district comprises:
- receiving the first publication from another district including the first source path; and
- appending the first district name to the first source path in the first publication.
- P18. The system of claim P15, wherein the first router transmits the first publication to a central repository that is configured to convey the route or service to at least one router in the second district and receives the second publication from the central repository.
- P19. A router for detecting and avoiding loops between a plurality of routers organized into a plurality of districts including at least a first district and a second district, each district associated with a distinct district name, the router being a member of the first district and the second district, the router comprising:
a controller configured to:- publish a first route or service from the first district to the second district by transmitting a first publication including the first route or service and a first source path for the first route or service with the first district name included in the first source path;
- receive from another district a second publication of a second route or service including a second source path;
- determine if the second source path includes the first district name;
- process the second route or service as a newly learned route or service in the first district when the second source path does not include the first district name; and
- ignore the second route or service when the second source path does include the first district name.
- P20. The router of claim P19, wherein the first route or service published by the controller further identifies the first router as a nexthop for the first route or service in the first district.
- P21. The router of claim P19, wherein publishing the first route or service from the first district to the second district comprises:
- receiving the first publication from another district including the first source path; and
- appending the first district name to the first source path in the first publication.
- P22. The router of claim P19, wherein the first router transmits the first publication to a central repository that is configured to convey the route or service to at least one router in the second district and receives the second publication from the central repository.
- P1. A routing system for distributing multicast routing information for a multicast service, the routing system comprising:
a plurality of routers including a multicast source router and a plurality of multicast receiver routers, the plurality of routers providing a multicast service, wherein the routers are configured to exchange multicast information associated with the multicast service including identification of multicast sources and the multicast receivers. - P2. The system of claim P1, wherein each router is configured to transmit, using a service and topology exchange protocol (STEP), the router's multicast information to a STEP repository and to receive from the STEP repository multicast information for the other routers.
- P3. The system of claim P2, wherein the central repository is managed by a primary STEP server.
- P4. The system of claim P3, wherein the primary STEP server is in one of the routers.
- P5. The system of claim P3, wherein the primary STEP server is in a device separate from the routers.
- P6. The system of claim P2, wherein the multicast information is transmitted to the STEP server in STEP documents.
- P7. The system of claim P6, wherein the STEP documents are JSON documents.
- P8. The system of claim P6, wherein the information in the STEP repository is organized as a path tree database and wherein each STEP document includes a path definition identifying the router for storage of the router's multicast information in the path tree database.
- P9. The system of claim P1, wherein:
- the multicast sources comply with a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service; and
- the multicast receivers comply with a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service.
- P10. The system of claim P1, wherein the routers are configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- P11. A router for distributing multicast routing information for a multicast service, the router comprising:
- a datastore storing multicast information associated with the multicast service including identification of multicast sources and the multicast receivers; and
- a controller configured to exchange multicast information associated with the multicast service including identification of multicast sources and the multicast receivers.
- P12. The system of claim P11, wherein each router is configured to transmit, using a service and topology exchange protocol (STEP), the router's multicast information to a STEP repository and to receive from the STEP repository multicast information for the other routers.
- P13. The system of claim P12, wherein the central repository is managed by a primary STEP server.
- P14. The system of claim P13, wherein the primary STEP server is in one of the routers.
- P15. The system of claim P13, wherein the primary STEP server is in a device separate from the routers.
- P16. The system of claim P12, wherein the multicast information is transmitted to the STEP server in STEP documents.
- P17. The system of claim P16, wherein the STEP documents are JSON documents.
- P18. The system of claim P16, wherein the information in the STEP repository is organized as a path tree database and wherein each STEP document includes a path definition identifying the router for storage of the router's multicast information in the path tree database.
- P19. The system of claim P11, wherein:
- the multicast sources comply with a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service; and
- the multicast receivers comply with a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service.
- P20. The system of claim P11, wherein the routers are configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- P1. A routing system for providing multicast access control, the routing system comprising:
a plurality of routers including a multicast source router and a plurality of multicast receiver routers, the plurality of routers providing a multicast service, wherein the routers are configured to enforce multicast access control policies for the multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers. - P2. The system of claim P1, wherein the sender access policy includes a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service.
- P3. The system of claim P1, wherein the receiver access policy includes a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service.
- P4. The system of claim P3, wherein the routers accept multicast joins only from interfaces associated with the at least one receiver tenant.
- P5. The system of claim P3, wherein the routers accept multicast joins only from interfaces associated with the at least one receiver tenant unless the tenant-based receiver access policy is overridden by configuration on one or more interfaces.
- P6. The system of claim P5, wherein at least one router is configured to accept multicast joins from an interface that is not a specified receiver tenant.
- P7. The system of claim P5, wherein at least one router is configured to reject multicast joins from an interface that is a specified receiver tenant.
- P8. The system of claim P3, wherein the routers are configured to transmit membership query messages on interfaces associated with the at least one receiver tenant.
- P9. The system of claim P3, wherein the routers are configured to drop membership report messages on any interface having a tenant that does not have access to the multicast service.
- P10. The system of claim P1, wherein the routers are configured to exchange multicast information associated with the multicast service including identification of the multicast sources and the multicast receivers.
- P11. The system of claim P10, wherein each router is configured to transmit the router's multicast information to a central repository and to receive from the central repository multicast information for the other routers.
- P12. The system of claim P10, wherein at least the source router is configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- P13. The system of claim P1, wherein the multicast source router is configured to transmit unicast packets for the multicast service to each multicast receiver router associated with at least one multicast receiver.
- P14. The system of claim P1, wherein the multicast source router is configured to join a multicast tree and to transmit a multicast packet to multiple multicast receiver routers.
- P15. A router for providing multicast access control, the router comprising:
- a datastore storing multicast access control policies for a multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers; and
- a controller configured to enforce the multicast access control policies for the multicast service.
- P16. The router of claim P15, wherein the sender access policy includes a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service.
- P17. The router of claim P15, wherein the receiver access policy includes a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service.
- P18. The router of claim P17, wherein the controller is configured to accept multicast joins only from interfaces associated with the at least one receiver tenant.
- P19. The router of claim P17, wherein the controller is configured to accept multicast joins only from interfaces associated with the at least one receiver tenant unless the tenant-based receiver access policy is overridden by configuration on one or more interfaces.
- P20. The router of claim P19, wherein the controller is configured to accept multicast joins from an interface that is not a specified receiver tenant.
- P21. The router of claim P19, wherein the controller is configured to reject multicast joins from an interface that is a specified receiver tenant.
- P22. The router of claim P17, wherein the controller is configured to transmit membership query messages on interfaces associated with the at least one receiver tenant.
- P23. The router of claim P 17, wherein the controller is configured to drop membership report messages on any interface having a tenant that does not have access to the multicast service.
- P24. The router of claim P15, wherein the controller is configured to exchange multicast information associated with the multicast service with other routers including identification of any multicast sources and any multicast receivers associated with the router.
- P25. The router of claim P24, wherein the controller is configured to transmit the router's multicast information to a central repository and to receive from the central repository multicast information for the other routers.
- P26. The router of claim P24, wherein the controller is configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- P27. The router of claim P15, wherein the controller is configured to transmit unicast packets for the multicast service to each multicast receiver router associated with at least one multicast receiver.
- P28. The router of claim P15, wherein the controller is configured to join a multicast tree and to transmit a multicast packet to multiple multicast receiver routers.
- P1. A routing system for implementing a service and topology exchange protocol (STEP), the routing system comprising:
- a primary STEP server configured to maintain a STEP repository; and
- a plurality of routers, each router including a STEP client in communication with the primary STEP server; wherein:
- the STEP client of each router is configured to transmit, using the service and topology exchange protocol, service and topology state information for at least one route or service available through the router to the primary STEP server for storage in the STEP repository; and
- the primary STEP server is configured to determine, for each router, whether the STEP repository includes any service and topology state information changes for the router based at least in part on the service and topology state information received from the routers and to transmit to the STEP client of each router for which there are service and topology state information changes, using the service and topology exchange protocol, only the service and topology state information changes.
- P2. The system of claim P1, wherein the service and topology state information changes transmitted by the primary STEP server include JSON patch documents.
- P3. The system of claim P1, wherein the information in the STEP repository is organized as a path tree database and wherein the service and topology state information received from the routers includes a path definition identifying the router for storage of the router's service and topology state information in the path tree database.
- P4. The system of claim P1, further comprising at least one secondary STEP server that is configured to proxy STEP requests to the primary STEP server.
- P5. The system of claim P1, wherein at least one router is a member of a plurality of districts and transmits separate service and topology state information for each district of which it is a member.
- P6. The system of claim P1, wherein at least one router is a member of a plurality of districts and receives from the primary STEP server service and topology state information changes for each district of which it is a member.
- P7. The system of claim P1, wherein the service and topology state information transmitted by the router further includes a service level agreement for a given service and an indication of whether or not the given service is within the service level agreement.
- P8. The system of claim P1, wherein at least one router is a member of a district and transmits service and topology state information including a route or service learned from outside of the district.
- P9. The system of claim P1, wherein at least one router transmits service and topology state information including at least one path metric for a route or service.
- P10. The system of claim P1, wherein the primary STEP server is separate from the routers.
- P11. The system of claim P1, wherein the primary STEP server is in one of the routers.
- P12. A server for implementing a service and topology exchange protocol (STEP), the router comprising:
- a datastore; and
- a STEP server controller in communication with a plurality of routers, each router including a STEP client, the STEP server controller configured to:
- maintain a STEP repository in the datastore;
- receive, from the STEP client of each router, using the service and topology exchange protocol, service and topology state information for at least one route or service available through the router;
- store the received service and topology state information in the STEP repository;
- determine, for each router, whether the STEP repository includes any service and topology state information changes for the router based at least in part on the service and topology state information received from the routers; and
- transmit to the STEP client of each router for which there are service and topology state information changes, using the service and topology exchange protocol, only the service and topology state information changes.
- P13. The server of claim P12, wherein the service and topology state information changes transmitted by the STEP server controller include JSON patch documents.
- P14. The server of claim P12, wherein the information in the STEP repository is organized as a path tree database and wherein the service and topology state information received from the routers includes a path definition identifying the router for storage of the router's service and topology state information in the path tree database.
- P15. The server of claim P12, wherein at least one router is a member of a plurality of districts and transmits separate service and topology state information for each district of which it is a member.
- P16. The server of claim P12, wherein at least one router is a member of a plurality of districts and receives from the STEP server controller service and topology state information changes for each district of which it is a member.
- P17. The server of claim P12, wherein the server is separate from the routers.
- P18. The server of claim P12, wherein the server is in one of the routers.
- P1. A routing system for routing packets for a route or service, the routing system comprising:
- a plurality of routers including a source router, wherein:
- the source router is configured to receive, using a service and topology exchange protocol, service and topology state information from a STEP repository for at least one other router based on configured relationships between routers; determine a first path to a destination for a route or service based on the service and topology state information, the first path including an ordered list of successive routers to receive a packet associated with the route or service starting with a first successive router and ending with a destination router; and transmit a packet toward the first successive router with first metadata including a list of at least one remaining router of the ordered list of routers to receive the packet associated with the route or service; and
- each successive router, starting with the first successive router, is configured to receive a packet and determine if the router is the destination router based on metadata associated with the received packet; and
- P2. The routing system of claim P1, wherein the source router is configured to include the first successive router in the first metadata.
- P3. The routing system of claim P1, wherein the source router is configured to exclude the first successive router from the first metadata.
- P4. The routing system of claim P1, wherein each successive router is configured to remove itself from the first metadata before forwarding the packet to the next successive router.
- P5. The routing system of claim P1, wherein each successive router is configured to forward the packet to the next successive router by changing the destination address of the packet to an address of the next successive router.
- P6. The routing system of claim P5, wherein each successive router is configured to forward the packet to the next successive router by further changing the source address of the packet to an address of the forwarding router.
- P7. The routing system of claim P1, wherein the destination router is configured to forward the packet to the destination without metadata.
- P8. The routing system of claim P1, wherein the source router is configured to include second metadata in the packet, the second metadata including session identification information.
- P9. The routing system of claim P1, wherein the destination router is configured to determine a second path to the destination for the route or service, the second path including a second ordered list of successive routers to receive the packet associated with the route or service, and to transmit the packet with second metadata including a list of at least one remaining router of the second ordered list of routers to receive the packet associated with the route or service.
- P10. A router for routing packets for a route or service, the router comprising:
- a datastore; and
- a controller including source router logic configured to:
receive, using a service and topology exchange protocol, service and topology state information from a STEP repository for at least one other router based on configured relationships between routers;
- determine a first path to a destination for a route or service based on the service and topology state information, the first path including an ordered list of successive routers to receive a packet associated with the route or service starting with a first successive router and ending with a destination router; and
- transmit a packet toward the first successive router with first metadata including a list of at least one remaining router of the ordered list of routers to receive the packet associated with the route or service.
- P11. The router of claim P10, wherein the source router logic is configured to include the first successive router in the first metadata.
- P12. The router of claim P10, wherein the source router logic is configured to exclude the first successive router from the first metadata.
- P13. The router of claim P10, wherein the source router logic is configured to include second metadata in the packet, the second metadata including session identification information.
- P14. The router of claim P 10, wherein the controller further includes successive router logic configured to:
- receive a packet and determine if the router is the destination router based on metadata associated with the received packet; and
- when the router is not the destination router, forward the packet toward a next successive router in the ordered list of routers.
- P15. The router of claim P14, wherein the successive router logic is configured to remove itself from the first metadata before forwarding the packet to the next successive router.
- P16. The router of claim P14, wherein the successive router logic is configured to forward the packet to the next successive router by changing the destination address of the packet to an address of the next successive router.
- P17. The router of claim P16, wherein the successive router logic is configured to forward the packet to the next successive router by further changing the source address of the packet to an address of the forwarding router.
- P18. The routing system of claim P14, wherein the successive router logic is configured to forward the packet to the destination without metadata when the router is the destination router.
- P19. The routing system of claim P14, wherein the successive router logic is configured to determine a second path to the destination for the route or service, the second path including a second ordered list of successive routers to receive the packet associated with the route or service, and to transmit the packet with second metadata including a list of at least one remaining router of the second ordered list of routers to receive the packet associated with the route or service when the router is the destination router.
- 1. A routing system for providing multicast access control for a multicast service, the routing system comprising:
a plurality of routers including a multicast source router associated with a multicast source for the multicast service and a plurality of multicast receiver routers, each multicast receiver router associated with at least one multicast receiver that subscribes to the multicast service, wherein the routers are configured to enforce multicast access control policies for the multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers. - 2. The system of example 1, wherein the sender access policy includes a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service.
- 3. The system of example 1, wherein the receiver access policy includes a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service.
- 4. The system of example 3, wherein the routers accept multicast joins only from interfaces associated with the at least one receiver tenant.
- 5. The system of example 3, wherein the routers accept multicast joins only from interfaces associated with the at least one receiver tenant unless the tenant-based receiver access policy is overridden by configuration on one or more interfaces.
- 6. The system of example 5, wherein at least one router is configured to accept multicast joins from an interface that is not a specified receiver tenant.
- 7. The system of example 5, wherein at least one router is configured to reject multicast joins from an interface that is a specified receiver tenant.
- 8. The system of example 3, wherein the routers are configured to transmit membership query messages on interfaces associated with the at least one receiver tenant.
- 9. The system of example 3, wherein the routers are configured to drop membership report messages on any interface having a tenant that does not have access to the multicast service.
- 10. The system of example 1, wherein the routers are configured to exchange multicast information associated with the multicast service including identification of the multicast sources and the multicast receivers.
- 11. The system of example 10, wherein each router is configured to transmit the router's multicast information to a central repository and to receive from the central repository multicast information for the other routers.
- 12. The system of example 10, wherein at least the source router is configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- 13. The system of example 1, wherein the multicast source router is configured to transmit unicast packets for the multicast service to each multicast receiver router associated with at least one multicast receiver.
- 14. The system of example 1, wherein the multicast source router is configured to join a multicast tree and to transmit a multicast packet to multiple multicast receiver routers.
- 15. A system according to example 1, wherein:
the routers are configured to exchange multicast information associated with the multicast service including identification of the multicast source and the multicast receivers, wherein the exchanged multicast information is used by the plurality of routers to establish a separate unicast communication session from the multicast source router to each of the multicast receiver routers for distribution of multicast packets from the multicast source to the at least one multicast receiver associated with the multicast receiver router. - 16. The system of example 15, wherein each router is configured to transmit, using a service and topology exchange protocol (STEP), the router's multicast information to a STEP repository and to receive from the STEP repository multicast information for the other routers.
- 17. The system of example 16, wherein the central repository is managed by a primary STEP server.
- 18. The system of example 17, wherein the primary STEP server is in one of the routers.
- 19. The system of example 17, wherein the primary STEP server is in a device separate from the routers.
- 20. The system of example 16, wherein the multicast information is transmitted to the STEP server in STEP documents.
- 21. The system of example 20, wherein the STEP documents are JSON documents.
- 22. The system of example 20, wherein the information in the STEP repository is organized as a path tree database and wherein each STEP document includes a path definition identifying the router for storage of the router's multicast information in the path tree database.
- 23. The system of example 15, wherein the routers are configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- 24. A router for providing multicast access control, the router comprising:
- a datastore storing multicast access control policies for a multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers; and
- a controller configured to enforce the multicast access control policies for the multicast service.
- 25. The router of example 24, wherein the sender access policy includes a tenant-based sender access policy that specifies at least one source tenant that is allowed to send packets to the multicast service.
- 26. The router of example 24, wherein the receiver access policy includes a tenant-based receiver access policy that specifies at least one receiver tenant that is allowed to receive packets from the multicast service.
- 27. The router of example 26, wherein the controller is configured to accept multicast joins only from interfaces associated with the at least one receiver tenant.
- 28. The router of example 26, wherein the controller is configured to accept multicast joins only from interfaces associated with the at least one receiver tenant unless the tenant-based receiver access policy is overridden by configuration on one or more interfaces.
- 29. The router of example 28, wherein the controller is configured to accept multicast joins from an interface that is not a specified receiver tenant.
- 30. The router of example 28, wherein the controller is configured to reject multicast joins from an interface that is a specified receiver tenant.
- 31. The router of example 26, wherein the controller is configured to transmit membership query messages on interfaces associated with the at least one receiver tenant.
- 32. The router of example 26, wherein the controller is configured to drop membership report messages on any interface having a tenant that does not have access to the multicast service.
- 33. The router of example 24, wherein the controller is configured to exchange multicast information associated with the multicast service with other routers including identification of any multicast sources and any multicast receivers associated with the router.
- 34. The router of example 33, wherein the controller is configured to transmit the router's multicast information to a central repository and to receive from the central repository multicast information for the other routers.
- 35. The router of example 33, wherein the controller is configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- 36. The router of example 24, wherein the controller is configured to transmit unicast packets for the multicast service to each multicast receiver router associated with at least one multicast receiver.
- 37. The router of example 24, wherein the controller is configured to join a multicast tree and to transmit a multicast packet to multiple multicast receiver routers.
- 38. the router of example 24, wherein:
- the datastore stores multicast information associated with the multicast service including identification of multicast sources and multicast receivers; and
- the controller is configured to exchange multicast information associated with the multicast service including identification of the multicast sources and the multicast receivers, wherein the exchanged multicast information is used by the router to establish a unicast communication session for distribution of multicast packets from a multicast source associated with the multicast service to at least one multicast receiver that subscribes to the multicast service.
- 39. The router of example 38, wherein the router is configured to transmit, using a service and topology exchange protocol (STEP), the router's multicast information to a STEP repository and to receive from the STEP repository multicast information for the other routers.
- 40. The router of example 39, wherein the central repository is managed by a primary STEP server.
- 41. The router of example 40, wherein the router includes the primary STEP server.
- 42. The router of example 40, wherein the primary STEP server is in a device separate from the router.
- 43. The router of example 39, wherein the multicast information is transmitted to the STEP server in STEP documents.
- 44. The router of example 43, wherein the STEP documents are JSON documents.
- 45. The router of example 38, wherein the router is configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- 46. A routing system for distributing multicast routing information for a multicast service, the routing system comprising:
a plurality of routers including a multicast source router associated with a multicast source for the multicast service and a plurality of multicast receiver routers, each multicast receiver router associated with at least one multicast receiver that subscribes to the multicast service, wherein the routers are configured to exchange multicast information associated with the multicast service including identification of the multicast source and the multicast receivers, wherein the exchanged multicast information is used by the plurality of routers to establish a separate unicast communication session from the multicast source router to each of the multicast receiver routers for distribution of multicast packets from the multicast source to the at least one multicast receiver associated with the multicast receiver router. - 47. The system of example 46, wherein each router is configured to transmit, using a service and topology exchange protocol (STEP), the router's multicast information to a STEP repository and to receive from the STEP repository multicast information for the other routers.
- 48. The system of example 47, wherein the central repository is managed by a primary STEP server.
- 49. The system of example 48, wherein the primary STEP server is in one of the routers.
- 50. The system of example 48, wherein the primary STEP server is in a device separate from the routers.
- 51. The system of example 47, wherein the multicast information is transmitted to the STEP server in STEP documents.
- 52. The system of example 51, wherein the STEP documents are JSON documents.
- 53. The system of example 51, wherein the information in the STEP repository is organized as a path tree database and wherein each STEP document includes a path definition identifying the router for storage of the router's multicast information in the path tree database.
- 54. The system of example 46, wherein:
the routers are configured to enforce multicast access control policies for the multicast service including a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service and a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers. - 55. The system of example 46, wherein the routers are configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
- 56. A router for distributing multicast routing information for a multicast service, the router comprising:
- a datastore storing multicast information associated with the multicast service including identification of multicast sources and multicast receivers; and
- a controller configured to exchange multicast information associated with the multicast service including identification of multicast sources and multicast receivers, wherein the exchanged multicast information is used by the router to establish a unicast communication session for distribution of multicast packets from a multicast source associated with the multicast service to at least one multicast receiver that subscribes to the multicast service.
- 57. The router of example 56, wherein the router is configured to transmit, using a service and topology exchange protocol (STEP), the router's multicast information to a STEP repository and to receive from the STEP repository multicast information for the other routers.
- 58. The router of example 57, wherein the central repository is managed by a primary STEP server.
- 59. The router of example 58, wherein the router includes the primary STEP server.
- 60. The router of example 58, wherein the primary STEP server is in a device separate from the router.
- 61. The router of example 57, wherein the multicast information is transmitted to the STEP server in STEP documents.
- 62. The router of example 61, wherein the STEP documents are JSON documents.
- 63. The router of example 56, wherein:
the router is configured to enforce a sender access policy that controls which multicast sources are allowed to send packets to the multicast service for distribution to the multicast receivers. - 64. The router of example 56, wherein:
the router is configured to enforce a receiver access policy that controls which multicast receivers are allowed to receive packets from the multicast service. - 65. The router of example 56, wherein the router is configured to determine, based on the exchanged multicast information, an optimal rendezvous point router for distributing the packets associated with the multicast service.
Claims (15)
- A first router of a plurality of routers, the first router comprising processing circuitry configured to:send, to a server, first multicast information that specifies a multicast service associated with a multicast group, wherein the first multicast information identifies a multicast source device as associated with the first router;receive, from the server, and for a second router, of the plurality of routers, to which a multicast receiver device is connected, second multicast information that specifies the multicast service, wherein the second multicast information identifies the multicast receiver device as associated with the second router;receive, from the multicast source device, a packet for the multicast service;determine, based on the first multicast information and the second multicast information, the second router of the plurality of routers; andforward the packet to the second router for distribution to the multicast receiver device.
- The first router of claim 1,wherein the processing circuitry is further configured to receive, from the server, a sender access policy and a receiver access policy for the multicast service,wherein the sender access policy specifies that the multicast source device is permitted to send the second packet for the second multicast service,wherein the receiver access policy specifies that the multicast receiver device is permitted to receive the second packet for the second multicast service, andwherein the processing circuitry is configured to determine the second router based on the sender access policy that specifies that the multicast source device is permitted to send the second packet for the second multicast service, the receiver access policy that specifies that the multicast receiver device is permitted to receive the second packet for the second multicast service, and the second multicast information that identifies the multicast receiver device as associated with the second router.
- The first router of claim 2,wherein the multicast source device comprises a first multicast source device,wherein the processing circuitry is further configured to:receive, from a second multicast source device, a second packet for the multicast service, wherein the sender access policy specifies that the second multicast source device is not permitted to send the second packet for the multicast service; anddiscard the second packet without forwarding the packet to the second router for distribution to the multicast receiver device in accordance with the sender access policy.
- The first router of any of claims 2-3, wherein the sender access policy specifies that a tenant associated with the multicast source device is permitted to send the packet for the multicast service.
- The first router of any of claims 1-4, wherein to determine the second router of the plurality of routers, the processing circuitry is configured to determine, based on the first multicast information and the second multicast information, that the second router is an optimal rendezvous point for distribution of the packet to the multicast receiver device.
- The first router of claim 5, wherein to determine that the second router is the optimal rendezvous point for distribution of the packet to the multicast receiver device, the processing circuitry is configured to determine a smallest tree required to distribute the packet to each multicast receiver device of a plurality of multicast receiver devices for the multicast service.
- The first router of any of claims 1-6, wherein the processing circuitry is configured to:receive, from the server, and for the second router, third multicast information that specifies a second multicast service associated with a second multicast group, wherein the third multicast information identifies a second source receiver device as associated with the second router;send, to the server, fourth multicast information that specifies the second multicast service, wherein the fourth multicast information identifies a second multicast receiver device as associated with the first router;receive, from the second router, a second packet for the second multicast service originating from the second multicast source device;determine, based on the third multicast information and the fourth multicast information, the second multicast receiver device; andforward the second packet to the second multicast receiver device.
- The first router of any of claims 1-7,wherein to receive the packet for the multicast service, the processing circuitry is configured to receive a multicast packet for the multicast service,wherein the processing circuitry is further configured to translate the multicast packet for the multicast service into a unicast packet, andwherein to forward the packet to the second router, the processing circuitry is configured to forward the unicast packet to the second router.
- A method comprising:sending, by a first router of a plurality of routers and to a server, first multicast information that specifies a multicast service associated with a multicast group, wherein the first multicast information identifies a multicast source device as associated with the first router;receiving, by the first router, from the server, and for a second router, of the plurality of routers, to which a multicast receiver device is connected, second multicast information that specifies the multicast service, wherein the second multicast information identifies the multicast receiver device as associated with the second router;receiving, by the first router and from the multicast source device, a packet for the multicast service;determining, by the first router and based on the first multicast information and the second multicast information, the second router of the plurality of routers; andforwarding, by the first router, the packet to the second router for distribution to the multicast receiver device.
- The method of claim 9, as performed by the first router of any of claims 2-8.
- A method comprising:receiving, by a second router of a plurality of routers, from a server, and for a first router, of the plurality of routers, to which a multicast source device is connected, first multicast information that specifies a multicast service associated with a multicast group, wherein the first multicast information identifies the multicast source device as associated with the first router;sending, by the second router and to the server, second multicast information that specifies the multicast service, wherein the second multicast information identifies a multicast receiver device as associated with the second router;receiving, by the second router and from the first router, a packet for the multicast service originating from the multicast source device;determining, by the second router and based on the first multicast information and the second multicast information, the multicast receiver device; andforwarding, by the second router, the packet to the multicast receiver device.
- The method of claim 11,wherein the method further comprises receiving, by the second router and from the server, a sender access policy and a receiver access policy for the multicast service,wherein the sender access policy specifies that the multicast source device is permitted to send the second packet for the second multicast service,wherein the receiver access policy specifies that the multicast receiver device is permitted to receive the second packet for the second multicast service, andwherein determining the multicast receiver device is based on the sender access policy that specifies that the multicast source device is permitted to send the second packet for the second multicast service, the receiver access policy that specifies that the multicast receiver device is permitted to receive the second packet for the second multicast service, and the second multicast information that identifies the multicast receiver device as associated with the second router.
- The method of claim 12,wherein the multicast receiver device comprises a first multicast receiver device,wherein the receiver access policy specifies that a second multicast receiver device is not permitted to receive the packet for the multicast service,wherein forwarding the packet to the multicast receiver device comprises forwarding the packet to the first multicast receiver device in accordance with the receiver access policy, andwherein the method further comprises discarding, by the second router, a membership report message from the second multicast receiver device in accordance with the receiver access policy.
- The method of any of claims 12-13, wherein the receiver access policy specifies that a tenant associated with the multicast receiver device is permitted to receive the packet for the multicast service.
- Computer-readable storage media encoded with instructions for causing one or more programmable processors to become configured as the first router of any of claims 1-8, to become configured to carry out the method of any of claims 9-10, or to become configured to carry out the method of any of claims 11-14.
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/410,124 US11005749B2 (en) | 2019-05-13 | 2019-05-13 | Multicast source and receiver access control |
| US16/410,128 US11070465B2 (en) | 2019-05-13 | 2019-05-13 | Distribution of multicast information in a routing system |
| EP20805560.8A EP3970317B1 (en) | 2019-05-13 | 2020-05-12 | Distribution of multicast information in a routing system |
| PCT/US2020/032504 WO2020232010A1 (en) | 2019-05-13 | 2020-05-12 | Distribution of multicast information in a routing system |
Related Parent Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP20805560.8A Division-Into EP3970317B1 (en) | 2019-05-13 | 2020-05-12 | Distribution of multicast information in a routing system |
| EP20805560.8A Division EP3970317B1 (en) | 2019-05-13 | 2020-05-12 | Distribution of multicast information in a routing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP4486052A2 true EP4486052A2 (en) | 2025-01-01 |
| EP4486052A3 EP4486052A3 (en) | 2025-03-19 |
Family
ID=73288836
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP20805560.8A Active EP3970317B1 (en) | 2019-05-13 | 2020-05-12 | Distribution of multicast information in a routing system |
| EP24209963.8A Pending EP4486052A3 (en) | 2019-05-13 | 2020-05-12 | Distribution of multicast information in a routing system |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP20805560.8A Active EP3970317B1 (en) | 2019-05-13 | 2020-05-12 | Distribution of multicast information in a routing system |
Country Status (3)
| Country | Link |
|---|---|
| EP (2) | EP3970317B1 (en) |
| CN (2) | CN119402418A (en) |
| WO (1) | WO2020232010A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9762485B2 (en) | 2015-08-24 | 2017-09-12 | 128 Technology, Inc. | Network packet flow controller with extended session management |
| US9985883B2 (en) | 2016-02-26 | 2018-05-29 | 128 Technology, Inc. | Name-based routing system and method |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1192574C (en) * | 2002-01-30 | 2005-03-09 | 华为技术有限公司 | Controlled group broadcasting system and its realizing method |
| CN105743665B (en) * | 2003-10-31 | 2018-04-20 | 瞻博网络公司 | Strengthen to the method for multicast transmission access control, equipment, system and storage medium |
| US20070008949A1 (en) * | 2005-07-07 | 2007-01-11 | Nokia Corporation | Method for automatic route aggregation in a communication system |
| US9660827B2 (en) * | 2007-01-12 | 2017-05-23 | Symbol Technologies, Llc | System and method of switching from multicast to unicast calls |
| CN101321073B (en) * | 2007-06-04 | 2010-09-08 | 华为技术有限公司 | Method and device for multicast service authorization control |
| US8713627B2 (en) * | 2008-08-14 | 2014-04-29 | Juniper Networks, Inc. | Scalable security services for multicast in a router having integrated zone-based firewall |
| US9736054B2 (en) * | 2011-10-05 | 2017-08-15 | Cisco Technology, Inc. | Multicast active source discovery and management for layer-2 interconnect solutions |
| US10264040B2 (en) * | 2016-08-03 | 2019-04-16 | Big Switch Networks, Inc. | Systems and methods to manage multicast traffic |
| US20180102965A1 (en) * | 2016-10-07 | 2018-04-12 | Alcatel-Lucent Usa Inc. | Unicast branching based multicast |
-
2020
- 2020-05-12 CN CN202411318385.6A patent/CN119402418A/en active Pending
- 2020-05-12 WO PCT/US2020/032504 patent/WO2020232010A1/en not_active Ceased
- 2020-05-12 EP EP20805560.8A patent/EP3970317B1/en active Active
- 2020-05-12 EP EP24209963.8A patent/EP4486052A3/en active Pending
- 2020-05-12 CN CN202080035115.8A patent/CN113826356B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9762485B2 (en) | 2015-08-24 | 2017-09-12 | 128 Technology, Inc. | Network packet flow controller with extended session management |
| US9985883B2 (en) | 2016-02-26 | 2018-05-29 | 128 Technology, Inc. | Name-based routing system and method |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3970317B1 (en) | 2024-12-04 |
| EP3970317A1 (en) | 2022-03-23 |
| EP4486052A3 (en) | 2025-03-19 |
| WO2020232010A1 (en) | 2020-11-19 |
| CN113826356A (en) | 2021-12-21 |
| CN113826356B (en) | 2024-09-20 |
| EP3970317A4 (en) | 2023-02-01 |
| CN119402418A (en) | 2025-02-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12184533B2 (en) | Routing using segment-based metrics | |
| US11750508B2 (en) | Source-based routing | |
| US12081432B2 (en) | Service and topology exchange protocol | |
| EP3970329B1 (en) | Central authority for service and topology exchange | |
| US11695687B2 (en) | Distribution of multicast information in a routing system | |
| US11005749B2 (en) | Multicast source and receiver access control | |
| EP3970317B1 (en) | Distribution of multicast information in a routing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN PUBLISHED |
|
| AC | Divisional application: reference to earlier application |
Ref document number: 3970317 Country of ref document: EP Kind code of ref document: P |
|
| AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R079 Free format text: PREVIOUS MAIN CLASS: H04W0076400000 Ipc: H04L0012180000 |
|
| PUAL | Search report despatched |
Free format text: ORIGINAL CODE: 0009013 |
|
| AK | Designated contracting states |
Kind code of ref document: A3 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04W 76/40 20180101ALI20250207BHEP Ipc: H04L 12/18 20060101AFI20250207BHEP |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20250919 |