The present technology pertains to provisioning services in a data center network, and more specifically pertains to automating the commissioning and decommissioning of application and the service configuration on one or more service nodes.
Service deployment can be a tedious process and can often be prone to errors. Deployment of a new application in a data center can require provisioning of computers, storage, and networking resources. However, service deployment, in particular automation and enabling of services, can be onerous and often takes very long time—often weeks or months (as compared to the other steps requiring less than a couple of days). In addition when an application has to be decommissioned, there are typically no easy ways to figure out what needs to be “un-configured” from the service nodes. Many organizations have to deal with such scenarios.
In order to describe the manner in which the above-recited and other advantages and features of the disclosure can be obtained, a more particular description of the principles briefly described above will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only exemplary embodiments of the disclosure and are not therefore to be considered to be limiting of its scope, the principles herein are described and explained with additional specificity and detail through the use of the accompanying drawings in which:
Various embodiments of the disclosure are discussed in detail below. While specific implementations are discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations may be used without parting from the spirit and scope of the disclosure.
An infrastructure admin or administrator can define or modify one or more service graphs for outlining service chains and provisioning services in a network. The service graphs can include nodes in the network associated with service applications. Next, the infrastructure admin or administrator can register service appliances, such as firewalls, load balancers, intrusion detection devices, cache engines, application delivery controllers, intrusion prevention devices, etc., along with their device package files with a controller (e.g., a network controller or a fabric controller) on the network. The device package files can include data about the device, such as data which specifies the device's functionality, capabilities, configuration or settings, hardware resources, software resources, status, etc. For example, the device package files can indicate specific hardware and software capabilities of one or more devices or nodes. In some embodiments, the device package files can define the functionalities of the nodes in the service graph, such as forwarding functionalities, load balancing functionalities, configuration information, etc. Moreover, in some cases, the device package files can include a file, such as an extensible markup language (XML) file, defining the various features and configurations of the devices or nodes in the service graph.
Then, the controller can establish the capabilities of the service devices, and classify the service devices as legacy or service tag switching (STS) capable devices. Legacy service and STS capable devices can both implement the automated provisioning here without requiring additional software or patches to be installed on the devices. However, the information indicating legacy or STS capable can be used to understand the capabilities of the devices and consequently adjust the configurations, rules and/or implementations used in provisioning the services.
Then, the controller can create one or more instances of the service graph by populating the service nodes into the service graph. This can allow the controller to understand the devices or nodes used by a client and service application and/or understand the service chain. The resulting service graph can thus outline the service nodes in the network, as well as their respective capabilities, functionalities, and/or configuration.
Then, an application owner can attach an endpoint group (EPG) to one or more service graphs created by the infrastructure admin or administrator. For example, the application owner can attach an EPG to a service chain in a service graph created by the administrator. The EPGs in the service graph can be represented by a specific route, label, or address, for example. Moreover, the application owner can include specific details about the attached EPG, such as a tag, information about an application group, routing information, policy information, network segment or tenant space information, etc. The service graph and attached EPGs can then be used to provision services and deploying applications dynamically and/or automatically while minimizing or avoiding downtime. For example, in some cases, an EPG can be attached to a specific service node in the service graph, such as a terminal node (e.g., node corresponding to the destination EPG or source EPG). In some cases, the remaining service nodes can be defined as function nodes to identify their particular role within the service provisioning chain.
In some aspects, service provisioning can include various components, such as dynamic network configuration and dynamic service configuration. All nodes in the service graph can be automatically configured with respect to networking requirements and the services provided. The device package information for each node in the graph, as well as various rules or policies can be used to determine the configuration for each node along a service chain in the service graph. This way, resources and services can be automatically provisioned on the network, with each relevant node in the service chain and any configuration settings in the network being automatically configured and integrated to avoid service downtime and/or tedious and unnecessary planning efforts.
A computer network is a geographically distributed collection of nodes interconnected by communication links and segments for transporting data between endpoints, such as personal computers and workstations. Many types of networks are available, with the types ranging from local area networks (LANs) and wide area networks (WANs) to overlay and software-defined networks, such as virtual extensible local area networks (VXLANs).
LANs typically connect nodes over dedicated private communications links located in the same general physical location, such as a building or campus. WANs, on the other hand, typically connect geographically dispersed nodes over long-distance communications links, such as common carrier telephone lines, optical lightpaths, synchronous optical networks (SONET), or synchronous digital hierarchy (SDH) links. LANs and WANs can include layer 2 (L2) and/or layer 3 (L3) networks and devices.
The Internet is an example of a WAN that connects disparate networks throughout the world, providing global communication between nodes on various networks. The nodes typically communicate over the network by exchanging discrete frames or packets of data according to predefined protocols, such as the Transmission Control Protocol/Internet Protocol (TCP/IP). In this context, a protocol can refer to a set of rules defining how the nodes interact with each other. Computer networks may be further interconnected by an intermediate network node, such as a router, to extend the effective “size” of each network.
Overlay networks generally allow virtual networks to be created and layered over a physical network infrastructure. Overlay network protocols, such as Virtual Extensible LAN (VXLAN), Network Virtualization using Generic Routing Encapsulation (NVGRE), Network Virtualization Overlays (NVO3), and Stateless Transport Tunneling (STT), provide a traffic encapsulation scheme which allows network traffic to be carried across L2 and L3 networks over a logical tunnel. Such logical tunnels can be originated and terminated through virtual tunnel end points (VTEPs).
Moreover, overlay networks can include virtual segments, such as VXLAN segments in a VXLAN overlay network, which can include virtual L2 and/or L3 overlay networks over which VMs communicate. The virtual segments can be identified through a virtual network identifier (VNI), such as a VXLAN network identifier, which can specifically identify an associated virtual segment or domain.
Network virtualization allows hardware and software resources to be combined in a virtual network. For example, network virtualization can allow multiple numbers of VMs to be attached to the physical network via respective virtual LANs (VLANs). The VMs can be grouped according to their respective VLAN, and can communicate with other VMs as well as other devices on the internal or external network.
Network segments, such as physical or virtual segments; networks; devices; ports; physical or logical links; and/or traffic in general can be grouped into a bridge or flood domain. A bridge domain or flood domain can represent a broadcast domain, such as an L2 broadcast domain. A bridge domain or flood domain can include a single subnet, but can also include multiple subnets. Moreover, a bridge domain can be associated with a bridge domain interface on a network device, such as a switch. A bridge domain interface can be a logical interface which supports traffic between an L2 bridged network and an L3 routed network. In addition, a bridge domain interface can support internet protocol (IP) termination, VPN termination, address resolution handling, MAC addressing, etc. Both bridge domains and bridge domain interfaces can be identified by a same index or identifier.
Furthermore, endpoint groups (EPGs) can be used in a network for mapping applications to the network. In particular, EPGs can use a grouping of application endpoints in a network to apply connectivity and policy to the group of applications. EPGs can act as a container for buckets or collections of applications, or application components, and tiers for implementing forwarding and policy logic. EPGs also allow separation of network policy, security, and forwarding from addressing by instead using logical application boundaries.
Cloud computing can also be provided in one or more networks to provide computing services using shared resources. Cloud computing can generally include Internet-based computing in which computing resources are dynamically provisioned and allocated to client or user computers or other devices on-demand, from a collection of resources available via the network (e.g., “the cloud”). Cloud computing resources, for example, can include any type of resource, such as computing, storage, and network devices, virtual machines (VMs), etc. For instance, resources may include service devices (firewalls, deep packet inspectors, traffic monitors, load balancers, etc.), compute/processing devices (servers, CPU's, memory, brute force processing capability), storage devices (e.g., network attached storages, storage area network devices), etc. In addition, such resources may be used to support virtual networks, virtual machines (VM), databases, applications (Apps), etc.
Cloud computing resources may include a “private cloud,” a “public cloud,” and/or a “hybrid cloud.” A “hybrid cloud” can be a cloud infrastructure composed of two or more clouds that inter-operate or federate through technology. In essence, a hybrid cloud is an interaction between private and public clouds where a private cloud joins a public cloud and utilizes public cloud resources in a secure and scalable manner. Cloud computing resources can also be provisioned via virtual networks in an overlay network, such as a VXLAN.
The disclosed technology addresses the need in the art for automatic provisioning of services when a client is accessing an application. Disclosed are systems, methods, and computer-readable storage media for populating one or more service graphs used in automating the provisioning of services. A brief introductory description of exemplary systems and networks, as illustrated in
The interfaces 168 are typically provided as interface cards (sometimes referred to as “line cards”). Generally, they control the sending and receiving of data packets over the network and sometimes support other peripherals used with the router 110. Among the interfaces that may be provided are Ethernet interfaces, frame relay interfaces, cable interfaces, DSL interfaces, token ring interfaces, and the like. In addition, various very high-speed interfaces may be provided such as fast token ring interfaces, wireless interfaces, Ethernet interfaces, Gigabit Ethernet interfaces, ATM interfaces, HSSI interfaces, POS interfaces, FDDI interfaces and the like. Generally, these interfaces may include ports appropriate for communication with the appropriate media. In some cases, they may also include an independent processor and, in some instances, volatile RAM. The independent processors may control such communications intensive tasks as packet switching, media control and management. By providing separate processors for the communications intensive tasks, these interfaces allow the master microprocessor 162 to efficiently perform routing computations, network diagnostics, security functions, etc.
Although the system shown in
Regardless of the network device's configuration, it may employ one or more memories or memory modules (including memory 161) configured to store program instructions for the general-purpose network operations and mechanisms for roaming, route optimization and routing functions described herein. The program instructions may control the operation of an operating system and/or one or more applications, for example. The memory or memories may also be configured to store tables such as mobility binding, registration, and association tables, etc.
To enable user interaction with the computing device 200, an input device 245 can represent any number of input mechanisms, such as a microphone for speech, a touch-sensitive screen for gesture or graphical input, keyboard, mouse, motion input, speech and so forth. An output device 235 can also be one or more of a number of output mechanisms known to those of skill in the art. In some instances, multimodal systems can enable a user to provide multiple types of input to communicate with the computing device 200. The communications interface 240 can generally govern and manage the user input and system output. There is no restriction on operating on any particular hardware arrangement and therefore the basic features here may easily be substituted for improved hardware or firmware arrangements as they are developed.
Storage device 230 is a non-volatile memory and can be a hard disk or other types of computer readable media which can store data that are accessible by a computer, such as magnetic cassettes, flash memory cards, solid state memory devices, digital versatile disks, cartridges, random access memories (RAMs) 225, read only memory (ROM) 220, and hybrids thereof.
The storage device 230 can include software modules 232, 234, 236 for controlling the processor 210. Other hardware or software modules are contemplated. The storage device 230 can be connected to the system bus 205. In one aspect, a hardware module that performs a particular function can include the software component stored in a computer-readable medium in connection with the necessary hardware components, such as the processor 210, bus 205, display 235, and so forth, to carry out the function.
Chipset 260 can also interface with one or more communication interfaces 290 that can have different physical interfaces. Such communication interfaces can include interfaces for wired and wireless local area networks, for broadband wireless networks, as well as personal area networks. Some applications of the methods for generating, displaying, and using the GUI disclosed herein can include receiving ordered datasets over the physical interface or be generated by the machine itself by processor 255 analyzing data stored in storage 270 or 275. Further, the machine can receive inputs from a user via user interface components 285 and execute appropriate functions, such as browsing functions by interpreting these inputs using processor 255.
It can be appreciated that exemplary systems 200 and 250 can have more than one processor 210 or be part of a group or cluster of computing devices networked together to provide greater processing capability.
Spine switches 302 can be L3 switches in the fabric 312. However, in some cases, the spine switches 302 can also, or otherwise, perform L2 functionalities. Further, the spine switches 302 can support various capabilities, such as 40 or 10 Gbps Ethernet speeds. To this end, the spine switches 302 can include one or more 40 Gigabit Ethernet ports. Each port can also be split to support other speeds. For example, a 40 Gigabit Ethernet port can be split into four 10 Gigabit Ethernet ports.
In some embodiments, one or more of the spine switches 302 can be configured to host a proxy function that performs a lookup of the endpoint address identifier to locator mapping in a mapping database on behalf of leaf switches 304 that do not have such mapping. The proxy function can do this by parsing through the packet to the encapsulated, tenant packet to get to the destination locator address of the tenant. The spine switches 302 can then perform a lookup of their local mapping database to determine the correct locator address of the packet and forward the packet to the locator address without changing certain fields in the header of the packet.
When a packet is received at a spine switch 302i, the spine switch 302i can first check if the destination locator address is a proxy address. If so, the spine switch 302i can perform the proxy function as previously mentioned. If not, the spine switch 302i can lookup the locator in its forwarding table and forward the packet accordingly.
Spine switches 302 connect to leaf switches 304 in the fabric 312. Leaf switches 304 can include access ports (or non-fabric ports) and fabric ports. Fabric ports can provide uplinks to the spine switches 302, while access ports can provide connectivity for devices, hosts, endpoints, VMs, or external networks to the fabric 312.
Leaf switches 304 can reside at the edge of the fabric 312, and can thus represent the physical network edge. In some cases, the leaf switches 304 can be top-of-rack (“ToR”) switches configured according to a ToR architecture. In other cases, the leaf switches 304 can be aggregation switches in any particular topology, such as end-of-row (EoR) or middle-of-row (MoR) topologies. The leaf switches 304 can also represent aggregation switches, for example.
The leaf switches 304 can be responsible for routing and/or bridging the tenant packets and applying network policies. In some cases, a leaf switch can perform one or more additional functions, such as implementing a mapping cache, sending packets to the proxy function when there is a miss in the cache, encapsulate packets, enforce ingress or egress policies, etc.
Moreover, the leaf switches 304 can contain virtual switching functionalities, such as a virtual tunnel endpoint (VTEP) function.
Network connectivity in the fabric 312 can flow through the leaf switches 304. Here, the leaf switches 304 can provide servers, resources, endpoints, external networks, or VMs access to the fabric 312, and can connect the leaf switches 304 to each other. In some cases, the leaf switches 304 can connect EPGs to the fabric 312 and/or any external networks. Each EPG can connect to the fabric 312 via one of the leaf switches 304, for example.
Endpoints 310A-E (collectively “310”) can connect to the fabric 312 via leaf switches 304. For example, endpoints 310A and 310B can connect directly to leaf switch 304A, which can connect endpoints 310A and 310B to the fabric 312 and/or any other one of the leaf switches 304. Similarly, endpoint 310E can connect directly to leaf switch 304C, which can connect endpoint 310E to the fabric 312 and/or any other of the leaf switches 304. On the other hand, endpoints 310C and 310D can connect to leaf switch 304B via L2 network 306. Similarly, the wide area network (WAN) can connect to the leaf switches 304C or 304D via L3 network 308.
Endpoints 310 can include any communication device, such as a computer, a server, a switch, a router, a client device, etc. The overlay network can host physical devices, such as servers, applications, EPGs, virtual segments, virtual workloads, etc. In addition, the endpoints 310 can host virtual workload(s), clusters, and applications or services, which can connect with the fabric 312 or any other device or network, including an external network. For example, one or more endpoints 310 can host, or connect to, a cluster of load balancers or an EPG of various applications.
Although the fabric 312 is illustrated and described herein as an example leaf-spine architecture, one of ordinary skill in the art will readily recognize that the subject technology can be implemented based on any network fabric, including any data center or cloud network fabric. Indeed, other architectures, designs, infrastructures, and variations are contemplated herein.
As used herein the term “configured” shall be considered to interchangeably be used to refer to configured and configurable, unless the term “configurable” is explicitly used to distinguish from “configured”. The proper understanding of the term will be apparent to persons of ordinary skill in the art in the context in which the term is used.
The above mechanism can allow the networking part of the services to be “auto” (automated) provisioned by a machine. The mechanism can work with existing service nodes which do not need to be aware of any of the service improvements that have been made in a network fabric. Examples of the services or service appliances in the network can include, but are not limited to, firewalls (FWs), Intrusion Prevention Devices (IPS), Intrusion Detection Devices (IDS), Application Delivery Controllers (ADCs) Server Load Balancers (SLBs), Cache Engines and compliance analysis engines. Moreover, the services and service appliances can be hardware based, such as a hardware firewall; software based, such as a virtual load balancer; or both.
Further, the mechanism can provide automatic provisioning of services; reduce the operational expenditure (OPEX) and time to provision a new application in a network, such as a data center; work with legacy services with no change required on the service nodes; support automated commissioning and decommissioning of applications and the service configuration on the service nodes; and support a linear chain of services of arbitrary length.
Reference is now made to
Each device provides a device package with a device specification file (for example an XML file) and a device script. A service graph 400 can be created to allocate networking resources when clients and applications are connected to the service graph. A “node” generally refers to an active electronic device, virtual machine, or software element that is attached to a network, and is capable of sending, receiving or forwarding information over a communications channel. In a distributed system, nodes can be clients, servers, resources, virtual appliances, or peers. The nodes of the service graph generally represent functions which are to be applied to the traffic flowing between the client and application. The nodes can be populated into the network (such as fabric 312 in
The security rules are also defined by the service graph based upon the security rules for the various devices.
Reference is now made to
The package file registered with the controller includes the device specification file (e.g., an XML file) which identifies the device, the functions that it can provide, the configuration needed for the various functions, and networking requirements for various functions. The device package file also includes a device script that enables communication with the device.
At 530, the capabilities of each of the service devices are established by downloading the policies into the network switches. At 540 the service devices are classified as a legacy device or a service tag switching device to determine parameters for the device. At 550 at least one service graph is populated, for example the service graph 600 shown in
Reference is now made to
Reference is now made to
If the node is a terminal node, at 706 it is provisioned as a terminal mode. At 708, the EPG type is determined as being a source EPG or a destination EPG. If the EPG is a source EPG, at 710 the source EPG is set up and at 712 the processing advances to step 712 to move to the next node in the graph as the first function node in the graph. If the EPG is a destination EPG, at 714 the destination EPG is set up and at 716 the processing advances to step 716 to complete processing the service graph.
If the node is not a terminal node at 704, then it is a function node at 720. A function node represents a discrete function that is available from a service node. At 722, a service device is selected that provides the function from the function group. The controller factors in the available capacity on the service device and the device selection policy to determine device selection. At 724 the input parameters are accepted that are specific to this instance of the function. For example, a virtual server IP address is provided for SLB (server load balancing).
At 726, the forward input connector is set up (see, for example, forward input connector 640A for node 610A in
At 728, the forward output connector is set up (see, for example, forward output connector 641A for node 610A in
At 730, the reverse input connector is set up (see, for example, reverse input connector 642A for node 610A in
At 732, the reverse output connector is set up (see, for example, reverse output connector 643A for node 610A in
At 734, the connectors are provisioned in the fabric so that the flow in the fabric can be automated from the client to the application to flow though the services. At 736, the device parameters are passed along with the connectors to device configuration script. The device configuration script is invoked to configure the function on the device. At 738, the next node in the graph is accessed to continue graph processing. At this point, all connectors for this node have been initialized and the service device has been configured for the function provided by this node.
The processing of
At 804, if the administrator has not configured the bridge domain for the connector, at 808 it is determined if it is a “GoTo” function. If it is a GoTo function, then at 810 it is determined if the adjacency type is L2 (layer 2), meaning determine if the adjacent node is an L2 node. If not, then a fault is raised at 816. If the adjacency type is L2 at 810, then it is determined at 812 if the bridge domain can be found from the adjacent node. If it cannot be found, at 818 the fault is raised. If it can be found, at 814 the bridge domain from the adjacent node is used. If the connector has routing disabled, then the routing is disabled and ARP flood enabled. At 826, the unknown MAC flood is enabled on the bridge domain.
At 820, if the adjacency type is not L2, meaning the adjacent node is not an L2 device, at 830 derive the bridge domain from one or more of the terminal nodes. The shadow service bridge domain is then allocated and the ARP flood is enabled on the new service bridge domain.
The method 900 starts at 902 and retrieves associated Layer 2 (L2) bridge (BD) domain for the graph connector at 904. If an encapsulation (encap) protocol has been allocated at 906 for the bridge domain, then the existing encapsulation protocol is used at 908. If the encapsulation protocol has not been allocated, then allocate the encapsulation protocol for the connector at 910 and encapsulation protocols are allocated from the administrator provided encapsulation resource pools. Encapsulation protocols include HDLC (High-Level Data Link Control), PPP (Point-to-Point Protocol) or frame relay.
The automation of service provisioning is accomplished by populating service graphs and performing service graph processing in accordance with the methods and example embodiments herein.
For clarity of explanation, in some instances the present technology may be presented as including individual functional blocks including functional blocks comprising devices, device components, steps or routines in a method embodied in software, or combinations of hardware and software.
In some embodiments the computer-readable storage devices, mediums, and memories can include a cable or wireless signal containing a bit stream and the like. However, when mentioned, non-transitory computer-readable storage media expressly exclude media such as energy, carrier signals, electromagnetic waves, and signals per se.
Methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer readable media. Such instructions can comprise, for example, instructions and data which cause or otherwise configure a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, or source code. Examples of computer-readable media that may be used to store instructions, information used, and/or information created during methods according to described examples include magnetic or optical disks, flash memory, USB devices provided with non-volatile memory, networked storage devices, and so on.
Devices implementing methods according to these disclosures can comprise hardware, firmware and/or software, and can take any of a variety of form factors. Typical examples of such form factors include laptops, smart phones, small form factor personal computers, personal digital assistants, and so on. Functionality described herein also can be embodied in peripherals or add-in cards. Such functionality can also be implemented on a circuit board among different chips or different processes executing in a single device, by way of further example.
The instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are means for providing the functions described in these disclosures.
Although a variety of examples and other information was used to explain aspects within the scope of the appended claims, no limitation of the claims should be implied based on particular features or arrangements in such examples, as one of ordinary skill would be able to use these examples to derive a wide variety of implementations. Further and although some subject matter may have been described in language specific to examples of structural features and/or method steps, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to these described features or acts. For example, such functionality can be distributed differently or performed in components other than those identified herein. Rather, the described features and steps are disclosed as examples of components of systems and methods within the scope of the appended claims. Moreover, claim language reciting “at least one of” a set indicates that one member of the set, multiple members of the set or all members of the set satisfy the claim.
This application claims priority to U.S. Provisional Patent Application No. 61/900,372, filed Nov. 5, 2013, which is expressly incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61900372 | Nov 2013 | US |