WO2016082592A1 - Configuration method and apparatus - Google Patents
Configuration method and apparatus Download PDFInfo
- Publication number
- WO2016082592A1 WO2016082592A1 PCT/CN2015/087834 CN2015087834W WO2016082592A1 WO 2016082592 A1 WO2016082592 A1 WO 2016082592A1 CN 2015087834 W CN2015087834 W CN 2015087834W WO 2016082592 A1 WO2016082592 A1 WO 2016082592A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- oam
- configuration
- sdn
- message
- interface
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/34—Signalling channels for network management communication
- H04L41/342—Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities
Definitions
- the present invention relates to the field of communications, and in particular, to a configuration method and apparatus.
- the underlying data path (switch, router) is "dumb, simple, minimal" and defines a common API for the flow table that is open to the outside world, while using the controller to control the entire network. Future researchers can freely call the underlying APIs on the controller to program, thus enabling network innovation.
- the SDN network in the related art includes: one SDN network usually includes three architecture levels: a physical network, an SDN application, and an SDN controller.
- the physical network is at the bottom, containing all the physical devices in the network that make up the entire IT infrastructure; SDN applications are the most visible part of the SDN network, providing services to users such as switches or network virtualization, firewalls and data stream equalizers, etc.
- the SDN controller is like a middleware of the whole architecture. The controller must integrate all the physical and virtual devices in the network, receive the request from the SDN application, process it accordingly, and then deliver it to the physical device to establish a service path and complete the corresponding request.
- the OpenFlow protocol is used to describe the standards used by controllers and physical devices for interaction, as well as the corresponding interface standards.
- the interface between the physical network and the controller is called the Southbound Interface (SBI).
- the interface between the controller and the application is called the Northbound Interface (NBI).
- SBI Southbound Interface
- NBI Northbound Interface
- OpenFlow protocol communication mode there are two northbound interface modes, OpenFlow protocol communication mode and RESTful interface mode.
- the OAM function can be used to monitor the survivability of network connections and monitor the performance of the connection, which is an indispensable function in the SDN network.
- OAM OAM-based on-demand administered OAM
- an OAM entity needs to be configured. Therefore, network users must be able to select certain functions of OAM according to the type of connection, OAM configuration parameters, and OAM functions can be activated at any time; automatic dynamic monitoring of connections is required, especially when the number of connections is large, dynamic OAM Configuration is especially important.
- the OAM entity and its related functions need to be dynamically configured.
- the OAM function has not been implemented in the northbound user interface.
- the main purpose of the embodiments of the present invention is to provide a configuration method and apparatus to solve at least the problem that the northbound user interface has not implemented the OAM function in the related art.
- a configuration method comprising: establishing a connection between an SDN application and an SDN controller; and after the connection is established, an interface between the SDN application and the SDN controller Perform operations management and maintain OAM configuration.
- performing the OAM configuration includes at least one of the following: establishing an OAM entity and a configuration parameter, adjusting an OAM parameter, querying an OAM parameter, deleting an OAM entity, querying an OAM alarm, and querying an OAM performance.
- performing operation management and maintaining the OAM configuration includes: performing OAM configuration through a RESTful interface of the HTTP protocol stack.
- establishing the OAM entity and configuring the parameter includes: the SDN application formulating an OAM configuration parameter and/or a rule; and the SDN application passes the data corresponding to the configuration parameter and/or the rule through a RESTful interface of the HTTP protocol stack Sent to the SDN controller; the SDN controller operates in accordance with received configuration parameters and/or rules.
- deleting the OAM entity includes: sending, by the SDN application, a message for deleting the OAM entity to the SDN controller by using a RESTful interface of an HTTP protocol stack; the SDN controller according to the received deletion The OAM entity's message is deleted.
- querying the OAM parameter and/or the OAM performance includes: sending, by the SDN application, a message querying the OAM parameter and/or the OAM performance to the SDN control by using a RESTful interface of an HTTP protocol stack
- the SDN controller performs a query operation according to the received message querying the OAM parameter and/or the OAM performance.
- performing OAM configuration through the RESTful interface of the HTTP protocol stack includes: performing OAM configuration through a RESTful interface of the HTTP protocol stack in a JSON data format.
- a configuration apparatus which is located in an SDN application, and includes: a first connection unit configured to establish a connection with an SDN controller; and a first operation management maintenance OAM unit, configured to be connected After the establishment, OAM configuration is performed through an interface with the SDN controller.
- the first OAM unit includes: a policy module, configured to send a first message, where the first message is used to indicate performing at least one of the following OAM configurations: establishing an OAM entity and configuration parameters, and adjusting OAM The parameter, the query OAM parameter, and the OAM entity are deleted; and/or the monitoring module is configured to send the second message, where the second message is used to indicate at least one of the following OAM configurations: querying the OAM alarm, querying the OAM performance .
- a policy module configured to send a first message, where the first message is used to indicate performing at least one of the following OAM configurations: establishing an OAM entity and configuration parameters, and adjusting OAM The parameter, the query OAM parameter, and the OAM entity are deleted; and/or the monitoring module is configured to send the second message, where the second message is used to indicate at least one of the following OAM configurations: querying the OAM alarm, querying the OAM performance .
- a configuration apparatus which is located in an SDN controller, and includes: a second connection unit configured to establish a connection with an SDN application; and a second operation management maintenance OAM unit, configured to be connected After the establishment, OAM configuration is performed through an interface with the SDN application.
- a connection is established between the SDN application and the SDN controller; after the connection is established, the manner of operation management and maintenance of the OAM configuration is implemented by the interface between the SDN application and the SDN controller, and the solution is solved.
- the northbound user interface has not implemented the OAM function, thereby improving the user experience.
- FIG. 1 is a flow chart of a configuration method according to an embodiment of the present invention.
- FIG. 2 is a block diagram showing the structure of a configuration apparatus according to an embodiment of the present invention.
- FIG. 3 is a block diagram 1 of an optional structure of a configuration apparatus according to an embodiment of the present invention.
- FIG. 4 is a block diagram 2 of an optional structure of a configuration apparatus according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram of a configuration apparatus according to an embodiment of the present invention.
- FIG. 6 is a block diagram 3 of an optional structure of a configuration apparatus according to an embodiment of the present invention.
- FIG. 7 is a block diagram showing the structure of an SDN network architecture according to an alternative embodiment of the present invention.
- FIG. 8 is a block diagram showing the structure of an SDN application structure according to an alternative embodiment of the present invention.
- FIG. 9 is a block diagram showing the structure of an SDN controller according to an alternative embodiment of the present invention.
- FIG. 10 is a schematic diagram of OAM configuration parameters according to an alternative embodiment of the present invention.
- FIG. 11 is a flow diagram of an OAM configuration in accordance with an alternate embodiment of the present invention.
- FIG. 13 is a block diagram showing an optional structure of an SDN network of an OAM configuration according to an alternative embodiment of the present invention.
- FIG. 1 is a flowchart of a configuration method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
- Step S102 establishing a connection between the SDN application and the SDN controller
- Step S104 After the connection is established, the operation management and maintenance OAM configuration is performed through an interface between the SDN application and the SDN controller.
- the OAM configuration is performed through the interface between the SDN application and the SDN controller, and the OAM is not implemented in the northbound user interface in the related art. Functional issues that improve the user experience.
- the OAM configuration can include multiple operations, such as setting up OAM entities and configuration parameters, adjusting OAM parameters, querying OAM parameters, deleting OAM entities, querying OAM alarms, and querying OAM performance.
- One or more of these operations can pass through the northbound interface. get on.
- the OAM configuration can be implemented in various manners.
- the OAM configuration is performed in the following manner: OAM configuration is performed through a RESTful interface of the HTTP protocol stack.
- RESTful Representational State Transfer
- URI Resource Identifier
- XML a subset of the standard universal markup language
- HTML an application under the standard universal markup language
- the ONF NBI working group and the OIF organization only define the functions of the northbound interface in the SDN network to implement service request and topology query and the interface mode, but have not realized that RESTful can be introduced into the OAM configuration of the northbound interface.
- the optional implementation uses a RESTful interface for configuration to make the configuration more flexible.
- the OAM configuration is performed through the RESTful interface of the HTTP protocol stack.
- the data may be encapsulated into a JSON data format and then encapsulated into RESTful data format, OAM configuration through the RESTful interface of the HTTP protocol stack.
- Step S11 The SDN application formulates OAM configuration parameters and/or rules.
- Step S12 The SDN application sends the data corresponding to the configuration parameter and/or the rule to the SDN controller through the RESTful interface of the HTTP protocol stack.
- Step S13 The SDN controller operates according to the received configuration parameters and/or rules.
- the OAM configuration when the OAM is configured to delete an OAM entity, the OAM configuration can be implemented as follows:
- Step S21 The SDN application sends a message for deleting the OAM entity to the SDN controller through the RESTful interface of the HTTP protocol stack.
- Step S22 The SDN controller performs a deletion operation according to the received message of deleting the OAM entity.
- the OAM configuration when the involved OAM is configured to query OAM parameters and/or OAM performance, the OAM configuration can be implemented as follows:
- Step S31 The SDN application sends a message for querying OAM parameters and/or OAM performance to the SDN controller through the RESTful interface of the HTTP protocol stack.
- Step S32 The SDN controller performs the message according to the received query OAM parameter and/or OAM performance. Query operation.
- a configuration device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
- the term “module” "unit” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 2 is a structural block diagram of a configuration apparatus according to an embodiment of the present invention.
- the apparatus is located in an SDN application, as shown in FIG. 2, the apparatus includes: a first connection unit 22, configured to establish a connection with an SDN controller;
- the management maintenance OAM unit 24 is coupled to the first connection unit 22 and is configured to perform OAM configuration through an interface with the SDN controller after the connection is established.
- FIG. 3 is a block diagram of an optional structure of a configuration apparatus according to an embodiment of the present invention.
- the first OAM unit 24 includes a policy module 32 configured to send a first message, where the first message is used. Instructing to perform at least one of the following OAM configurations: establishing an OAM entity and configuration parameters, adjusting an OAM parameter, querying an OAM parameter, deleting an OAM entity, and/or, the monitoring module 34, configured to send a second message, where the second message is used At least one of the following OAM configurations is instructed: querying OAM alarms, querying OAM performance.
- FIG. 4 is a block diagram of an optional structure of a configuration apparatus according to an embodiment of the present invention.
- the first OAM unit 24 includes: a first adaptation module 42 coupled to the policy module 32, and configured to receive The RESTful data format data is decapsulated, and/or the data sent to the SDN controller is encapsulated into a RESTful data format; the first protocol stack module 44 is coupled to the first adaptation module 42 and configured to pass the HTTP protocol stack.
- the RESTful interface receives data from the SDN controller and/or sends data encapsulated in a RESTful data format to the SDN controller.
- the first adaptation module 42 is further configured to encapsulate the data required for the OAM configuration into a JSON data format and then encapsulate the data into a RESTful data format.
- FIG. 5 is a structural block diagram of a configuration apparatus according to an embodiment of the present invention.
- the apparatus is located in an SDN controller.
- the apparatus includes: a second connection unit 52 configured to establish a connection with an SDN application;
- the management maintenance OAM unit 54 is coupled to the second connection unit 52 and is configured to perform OAM configuration through an interface with the SDN application after the connection is established.
- the second OAM unit 54 includes a second protocol stack module 62 configured to receive from a RESTful interface of the HTTP protocol stack.
- the data of the SDN application, and/or the data encapsulated in the RESTful data format is sent to the SDN application;
- the second adaptation module 64 is coupled to the second protocol stack module 62 and configured to perform the received data in the RESTful data format.
- the OAM module 66 is coupled to the second adaptation module 64 and configured to perform at least one of the following OAM configurations; Set OAM entities and configuration parameters, adjust OAM parameters, query OAM parameters, delete OAM entities, query OAM alarms, and query OAM performance.
- the second adaptation module 64 may be further configured to decapsulate the received RESTful data into data in a JSON data format, and then perform decapsulation, and/or send The data package of the SDN application is encapsulated into a JSON data format and then encapsulated into a RESTful data format.
- RESTful In order to better illustrate the present invention, an alternative embodiment of the present invention will be described below using RESTful as an example.
- a device and a method for implementing OAM configuration, performance, alarm, and the like in the RESTful northbound interface under the SDN network architecture are provided.
- the following optional embodiment further defines a set of RESTful under the SDN network architecture.
- the northbound interface implements message specifications for a series of functions such as OAM entity creation, parameter modification, deletion, performance, and alarm query.
- This alternative embodiment provides a solution for extending the OAM configuration and the alarm and performance monitoring functions in the SDN network northbound interface RESTful.
- the OAM configuration method and device are proposed, and related functions such as fault monitoring and performance statistics are implemented, so that the SDN network has OAM function.
- the ability to monitor network quality includes OAM establishment and configuration methods and devices for related functions, query and report of fault alarms, performance query and implementation of reporting functions. Description will be made below with reference to the drawings.
- FIG. 7 is a structural block diagram of an SDN network architecture diagram according to an alternative embodiment of the present invention.
- the SDN network includes a three-layer basic framework: a physical network, an SDN application, and an SDN controller.
- the physical network consists of an OpenFlow switch network, interconnected with the controller through the southbound interface, and follows the OpenFlow standard primitive; the SDN application and the controller are interconnected through the northbound interface, following the RESTful specification, based on using HTTP, URI, and XML.
- HTML is an existing wide range of popular protocols and standards.
- FIG. 8 is a structural block diagram of an SDN application structure diagram according to an alternative embodiment of the present invention.
- the module component of the SDN application includes: a protocol stack module, an adaptation module, a policy module, and a monitoring module.
- the protocol stack is a protocol platform for implementing related RESTful functions, and sends and receives an HTTP protocol message from the controller;
- the adaptation module is a functional module that encapsulates the protocol stack data;
- the policy module is a module that formulates rules for the OAM configuration and related functions;
- the monitoring module is a management module for reporting and monitoring faults and performance.
- the OAM monitoring rule is passed to the policy module. When the OAM monitoring rule is delivered, the information of the flow identifier is also required to be transmitted, so that the policy module can associate the monitoring packet with the specific OAM processing rule.
- FIG. 9 is a structural block diagram of an SDN controller according to an alternative embodiment of the present invention.
- the module of the SDN controller includes: a protocol stack module, an adaptation module, and an OAM module.
- the protocol stack is a protocol platform for implementing related RESTful functions, and sends and receives an HTTP protocol message from the controller;
- the adaptation module is a functional module that encapsulates the protocol stack data; and the OAM module receives and processes OAM related configurations and queries.
- the OAM module can receive the rules passed from the adaptation module and apply the rules delivered by the controller to the switch. At the same time, the OAM module is associated with a specific OAM rule according to the identifier in the packet.
- OAM needs to be configurable and managed, and users should be able to enable/disable OAM-related capabilities.
- the OAM function needs to be activated actively or passively and consistent with the connection function.
- the OAM entity needs to be configured. Therefore, the SDN application user must be able to select certain functions of the OAM according to the type of connection, configure the parameters in OAM, and activate the OAM function at any time.
- the configuration of the OAM entity needs to be completed after the connection is established.
- the OAM-related functions are optional and require other configurations, such as fault management (Fault Management for FM) and performance management (Performance Management for PM). )Wait. Therefore, OAM also needs to support the ability to select a range of OAM functions and configure their parameters.
- the main aspects of configuring OAM include the establishment of OAM entities and the configuration of functions, coordination of OAM parameters at both ends, and deletion of OAM entities. These aspects are described separately below.
- MEPs Maintenance End Points
- MIPs Maintenance Intermediate Points
- the maintenance entity cooperates between the MEP and the MIP to monitor the connection. Once the connection is established, the forwarding relationship between the endpoint and the intermediate node has been established so that the OAM entity can monitor the connection.
- active OAM functions such as Continuity Check (CC), FM, and PM require parameter configuration.
- FIG. 10 is a schematic diagram of OAM configuration parameters according to the optional embodiment.
- the format of the OAM configuration is as shown in FIG. 10, and the OAM type indicates the OAM entity type supported by the creation node.
- capability negotiation is required between nodes. Indicates whether the node is a MEP or a MIP and indicates whether the OAM alarm is enabled.
- the policy module of the SDN application formulates OAM-related rules according to the configuration or its own policy, such as performance monitoring rules, and passes the policy rules to the adaptation module; the adaptation module encapsulates the rules according to the policy module.
- the data is sent to the protocol stack, and the message contains a letter related to the policy rule.
- the connection information and the OAM configuration information of the policy rule are used.
- the protocol stack After receiving the message through the RESTful interface, the protocol stack sends the message to the adaptation module.
- the adaptation module parses the data and sends it to the OAM module for OAM configuration.
- FIG. 11 is a flowchart of an OAM configuration according to an alternative embodiment of the present invention. As shown in FIG. 11, the steps of the configuration include:
- Step S1102 The SDN application formulates the rules of the OAM configuration and related functions through the policy module, and delivers the corresponding configuration parameters to the adaptation module.
- Step S1104 The adaptation module encapsulates the relevant data into a RESTful data format and sends the data to the HTTP protocol stack.
- Step S1106 After receiving the message, the HTTP protocol stack sends the message to the controller through the RESTful interface.
- Step S1108 the HTTP protocol stack of the controller receives the message sent to the adaptation module through the RESTful interface
- Step S1110 The adaptation module parses the relevant data and sends the data to the OAM module.
- Step S1112 The OAM performs an OAM configuration operation according to the OAM configuration information delivered by the application.
- the OAM function that has been created and configured may require parameter adjustment during the lifetime of the connection.
- the OAM parameters need to be updated.
- the OAM parameter is related to the content and duration of the OAM message. It is also related to the way OAM detects, acquires, and generates alarms. Therefore, the source and end of the OAM need to update the data synchronously.
- the OAM alarm function is disabled, and then the OAM parameters are adjusted.
- the OAM alarm function is enabled.
- the policy module of the SDN application is required to perform the OAM configuration policy selection, and the OAM entity parameters are modified.
- the RESTful protocol is delivered to the adaptation module and adapted to the RESTful format through the HTTP protocol stack. Send to the SDN controller.
- the process of the OAM parameter adjustment is the same as the OAM creation process in FIG. 6.
- some or all of the OAM entities and features need to be removed without affecting the established connections.
- the OAM alarm function is disabled, and the source and tail end need to delete data synchronously.
- the deletion of the OAM entity is automatically triggered.
- the QoS policy is used to send the message to the SDN controller.
- the RESTful protocol is delivered to the SDN controller through the HTTP protocol stack.
- the process of deleting the OAM entity is the same as the OAM creation process in FIG. 6.
- the user needs to monitor the network connection and network quality to grasp the operational efficiency of the entire network and to perform unified resource scheduling and planning on the network. Therefore, in the SDN network, the SDN application needs to send configuration messages on the northbound interface and monitor network faults and performance parameters in real time.
- the configuration of the OAM fault and performance monitoring functions can be performed first, as described above.
- the fault and performance parameters can be queried in real time through the RESTful interface.
- FIG. 12 is a flowchart of fault and performance monitoring according to an alternative embodiment of the present invention. As shown in FIG. 12, the steps of the query include:
- Step S1202 The SDN application sends a query message to the adaptation module by sending a fault or a performance query command through the monitoring module.
- Step S1204 The adaptation module encapsulates the relevant data into a RESTful data format, sends the data to the HTTP protocol stack, and sends the data to the controller through the RESTful interface.
- Step S1206 The HTTP protocol stack of the controller receives the message through the RESTful interface, and sends the message to the adaptation module to parse the relevant data, and sends the data to the OAM module.
- Step S1208 The OAM module reports the relevant query result to the adaptation module according to the query message.
- Step S1210 The adaptation module encapsulates the relevant data into a RESTful data format, sends the data to the HTTP protocol stack, and sends the data to the SDN application through the RESTful interface.
- Step S1212 The HTTP protocol stack of the SDN application receives the message through the RESTful interface and sends the message to the adaptation module to parse the relevant data, and sends the message to the monitoring module.
- the client and server communicate using the HTTP protocol, which has the following characteristics:
- Each URI represents a resource.
- a kind of presentation layer for passing such resources between the client and the server which may be in a format such as txt/html/xml/json.
- the client operates on the server-side resources through four HTTP verbs (GET/POST/PUT/DELETE) to implement "presentation level state conversion".
- JSON JavaScript Object Notation
- JSON JavaScript Object Notation
- JSON has become the ideal data exchange language. Easy for people to read and write, but also easy to machine Parsing and generating. This article uses the JSON format as an example to develop a RESTful message specification.
- the OAM API related to OAM configuration based on JSON is interoperable with the controllers of each domain to implement end-to-end OAM management, performance, and fault monitoring.
- Tables 1a to 1e are diagrams of the OAM JSON message structure; among them, the OAM entity and configuration parameters are created and adjusted.
- the HTTP mode is POST.
- the parameters in the request message include: the id is the connection ID corresponding to the OAM, the MEP is the created OAM end node address, the MIP is the intermediate node address, and the Function is the created OAM-related function, such as FM, PM, etc.
- the request is successful, return 200: OK response, the first 4 parameters in the response message are the same as the request, AdminStatus is up or down, indicating whether the OAM is enabled; if the request fails, according to the reason of the failure, return 400: Bad Request, etc.
- Message code no response content.
- the HTTP mode is GET
- the id is the connection ID corresponding to the OAM
- the response message is the same as the created response.
- the OAM entity is deleted.
- the HTTP mode is DELETE
- the id is the connection ID corresponding to OAM, and there is no response content.
- the HTTP mode is GET, and the id is the connection ID corresponding to the OAM.
- the Function is the function to be queried, such as FM; the alarmNum is the alarm number; the alarmStatus is the alarm status. ;alarmReason is the cause of the alarm; AdminStatus is up or down, indicating whether the OAM is enabled.
- the HTTP mode is GET
- the id is the connection ID corresponding to OAM
- the Function is the function to be queried, such as PM
- the bandwidth is the connection bandwidth
- the BER is the service error rate
- the disconnect is the controller.
- the number of times of the link; AdminStatus is up or down, indicating whether the OAM is enabled. It should be understood that the relevant data may be modified, renamed, added, etc., all of which are within the scope of the alternative embodiments of the present invention.
- Tables 1a to 1e As shown in Tables 1a to 1e:
- FIG. 13 is a block diagram of an optional structure of an SDN network according to an optional embodiment of the present invention.
- the SDN network includes an SDN application APP and an SDN controller, and the IP address of the SDN controller is 193.90.160.5.
- the nodes in the domain are switch-1/2/3, and their IP addresses are 193.90.10.5, 193.90.20.5, and 193.90.30.5, respectively.
- the APP establishes a connection between node switch-1 and node switch-3.
- the connection ID is 1.
- ODU2 protection type is 1+1 channel protection
- the recovery type is no recovery.
- the APP is interconnected with the controller through a RESTful interface, the HTTP protocol version is 1.1, and the REST object is in Json format.
- An APP creates an OAM entity through a RESTful interface and configures OAM parameters.
- the function is performance monitoring.
- the message flow is as follows:
- the APP formulates the OAM configuration parameters and rules of the performance monitoring through the policy module, and delivers the corresponding configuration parameters to the adaptation module.
- the adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
- the HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
- the OAM performs OAM configuration operations based on the delivered OAM configuration information.
- the RESTful message format is as follows:
- the APP deletes the OAM entity through the RESTful interface.
- the message flow is as follows:
- the APP sends a corresponding OAM deletion message to the adaptation module through the policy module.
- the adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
- the HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
- the OAM performs an OAM deletion operation according to the delivered OAM deletion message.
- the RESTful message format is as follows:
- the APP queries the OAM configuration parameters through the RESTful interface.
- the message flow is as follows:
- the APP sends a corresponding OAM query message to the adaptation module through the policy module.
- the adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
- the HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
- the OAM reports the OAM related configuration parameters to the adaptation module according to the delivered OAM query message.
- the adaptation module is encapsulated into JSON data and sent to the HTTP protocol stack, and sent to the APP;
- the HTTP protocol stack of the APP receives the RESTful message and sends it to the adaptation module, parses the JSON data, and sends it to the policy module.
- the RESTful message format is as follows:
- the APP queries performance-related parameters through the RESTful interface.
- the message flow is as follows:
- the APP sends a corresponding OAM query message to the adaptation module through the policy module.
- the adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
- the HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
- the OAM reports the OAM related configuration parameters to the adaptation module according to the delivered OAM query message.
- the adaptation module is encapsulated into JSON data and sent to the HTTP protocol stack, and sent to the APP;
- the HTTP protocol stack of the APP receives the RESTful message and sends it to the adaptation module, parses the JSON data, and sends it to the policy module.
- related functions and parameters are defined, and there is no related message and parameter expansion in the RESTful interface, and the manner in which the user monitors network faults and performance is not defined. Therefore, the OAM configuration, network quality monitoring, and fault and alarm reporting functions are implemented in the RESTful interface mode to ensure the normal and stable operation of the network and the rapid recovery after the fault, providing users with high-quality services.
- a connection is established between the SDN application and the SDN controller; after the connection is established, the OAM configuration is operated and maintained through the interface between the SDN application and the SDN controller, and the related technology is solved.
- the North-to-North user interface has not implemented the OAM function, which improves the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本发明涉及通信领域,具体而言,涉及配置方法及装置。The present invention relates to the field of communications, and in particular, to a configuration method and apparatus.
由于现在的网络暴露出了越来越多的弊病以及人们对网络性能需求的提高,于是研究人员不得不把很多复杂功能加入到路由器的体系结构当中,这就使得路由器等交换设备越来越臃肿而且性能提升的空间越来越小。然而与网络领域的困境截然不同的是,计算机领域实现了日新月异的发展。底层的数据通路(交换机、路由器)是“哑的、简单的、最小的”,并定义一个对外开放的关于流表的公用的API,同时采用控制器来控制整个网络。未来的研究人员就可以在控制器上自由的调用底层的API来编程,从而实现网络的创新。As the current network exposes more and more ills and people's demand for network performance, researchers have to add a lot of complex functions to the router's architecture, which makes routers and other switching devices more and more bloated. And the space for performance improvement is getting smaller and smaller. However, in contrast to the predicament in the network field, the computer field has achieved rapid development. The underlying data path (switch, router) is "dumb, simple, minimal" and defines a common API for the flow table that is open to the outside world, while using the controller to control the entire network. Future researchers can freely call the underlying APIs on the controller to program, thus enabling network innovation.
基于上述的理念,出现了软件定义网络(Software Defined Network,简称为SDN),其最初是由美国斯坦福大学Clean Slate研究组提出的一种新型网络创新架构,目前广泛应用于分组网络及光传输网络等。相关技术中SDN网络包括:一个SDN网络中通常包含三个架构层级:物理网络,SDN应用以及SDN控制器。物理网络处于最底层,包含组成整个IT基础架构的网络中的所有物理设备;SDN应用是SDN网络的最可视部分,为用户提供服务,如交换机或网络虚拟化,防火墙和数据流均衡器等;SDN控制器就像是一个整个架构的中间件,控制器必须整合网络中所有物理和虚拟设备,接收来自SDN应用的请求,进行相应处理,然后下发到物理设备建立服务路径,完成相应请求功能。Based on the above concept, a Software Defined Network (SDN) has emerged, which was originally a new network innovation architecture proposed by the Stanford University Clean Slate research group. It is widely used in packet networks and optical transmission networks. Wait. The SDN network in the related art includes: one SDN network usually includes three architecture levels: a physical network, an SDN application, and an SDN controller. The physical network is at the bottom, containing all the physical devices in the network that make up the entire IT infrastructure; SDN applications are the most visible part of the SDN network, providing services to users such as switches or network virtualization, firewalls and data stream equalizers, etc. The SDN controller is like a middleware of the whole architecture. The controller must integrate all the physical and virtual devices in the network, receive the request from the SDN application, process it accordingly, and then deliver it to the physical device to establish a service path and complete the corresponding request. Features.
目前,物理网络和控制器之间通过OpenFlow协议进行通信。OpenFlow协议用来描述控制器和物理设备交互所用信息的标准,以及相应的接口标准。物理网络与控制器之间的接口称为南向接口(Southbound Interface,简称为SBI)。而控制器与应用之间的接口称为北向接口(Northbound Interface,简称为NBI)。在现有的SDN标准中,有两种北向接口方式,OpenFlow协议通信方式及RESTful接口方式。Currently, the physical network and the controller communicate through the OpenFlow protocol. The OpenFlow protocol is used to describe the standards used by controllers and physical devices for interaction, as well as the corresponding interface standards. The interface between the physical network and the controller is called the Southbound Interface (SBI). The interface between the controller and the application is called the Northbound Interface (NBI). In the existing SDN standard, there are two northbound interface modes, OpenFlow protocol communication mode and RESTful interface mode.
在传送连接相关的网络技术中,故障的监测和上报,性能的监控,恢复机制的触发等都至关重要,包括空间交换,DWDM,TDM和以太网PBB-TE和MPLS技术等。在这些技术中,可以使用OAM功能监控网络连接的生存性,监测连接的性能,是SDN网络中不可或缺的功能。In the network technology related to transport connection, fault monitoring and reporting, performance monitoring, and triggering of recovery mechanisms are all important, including space switching, DWDM, TDM and Ethernet PBB-TE and MPLS technologies. In these technologies, the OAM function can be used to monitor the survivability of network connections and monitor the performance of the connection, which is an indispensable function in the SDN network.
发明人发现:OAM的功能需要主动或被动地被激活并与连接功能保持一致,防止 虚假告警的产生,并保证操作的一致性。在某些技术中,需要对OAM实体进行配置操作。因此,网络用户必须能够根据连接的类型选择OAM的某些功能,可以OAM配置参数,并可以随时激活OAM功能;需要支持连接的自动化动态监测功能,尤其是当连接的数目很大时,动态OAM配置显得尤为重要。为了达到上述目的,OAM实体及其相关功能需要实现动态配置。The inventor discovered that the function of OAM needs to be activated actively or passively and consistent with the connection function to prevent The generation of false alarms and the consistency of operations. In some technologies, an OAM entity needs to be configured. Therefore, network users must be able to select certain functions of OAM according to the type of connection, OAM configuration parameters, and OAM functions can be activated at any time; automatic dynamic monitoring of connections is required, especially when the number of connections is large, dynamic OAM Configuration is especially important. In order to achieve the above objectives, the OAM entity and its related functions need to be dynamically configured.
但是,在SDN网络中,在北向用户接口尚未实现OAM功能。However, in the SDN network, the OAM function has not been implemented in the northbound user interface.
针对相关技术中北向用户接口尚未实现OAM功能的问题,目前尚未提出有效的解决方案。In view of the fact that the northbound user interface in the related art has not yet implemented the OAM function, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例的主要目的在于提供一种配置方法及装置,以至少解决了相关技术中北向用户接口尚未实现OAM功能的问题。The main purpose of the embodiments of the present invention is to provide a configuration method and apparatus to solve at least the problem that the northbound user interface has not implemented the OAM function in the related art.
根据本发明实施例的一个方面,提供了一种配置方法,包括:在SDN应用与SDN控制器之间建立连接;在连接建立之后,通过所述SDN应用与所述SDN控制器之间的接口进行操作管理维护OAM配置。According to an aspect of an embodiment of the present invention, there is provided a configuration method comprising: establishing a connection between an SDN application and an SDN controller; and after the connection is established, an interface between the SDN application and the SDN controller Perform operations management and maintain OAM configuration.
可选地,进行所述OAM配置包括以下至少之一:建立OAM实体及配置参数、调整OAM参数、查询OAM参数、删除OAM实体、查询OAM告警、查询OAM性能。Optionally, performing the OAM configuration includes at least one of the following: establishing an OAM entity and a configuration parameter, adjusting an OAM parameter, querying an OAM parameter, deleting an OAM entity, querying an OAM alarm, and querying an OAM performance.
可选地,进行操作管理维护OAM配置包括:通过HTTP协议栈的RESTful接口进行OAM配置。Optionally, performing operation management and maintaining the OAM configuration includes: performing OAM configuration through a RESTful interface of the HTTP protocol stack.
可选地,建立所述OAM实体及配置所述参数包括:所述SDN应用制定OAM配置参数和/或规则;所述SDN应用将配置参数和/或规则对应的数据通过HTTP协议栈的RESTful接口发送给所述SDN控制器;所述SDN控制器根据接收到的配置参数和/或规则进行操作。Optionally, establishing the OAM entity and configuring the parameter includes: the SDN application formulating an OAM configuration parameter and/or a rule; and the SDN application passes the data corresponding to the configuration parameter and/or the rule through a RESTful interface of the HTTP protocol stack Sent to the SDN controller; the SDN controller operates in accordance with received configuration parameters and/or rules.
可选地,删除所述OAM实体包括:所述SDN应用通过HTTP协议栈的RESTful接口将删除所述OAM实体的消息发送给所述SDN控制器;所述SDN控制器根据接收到的删除所述OAM实体的消息进行删除操作。Optionally, deleting the OAM entity includes: sending, by the SDN application, a message for deleting the OAM entity to the SDN controller by using a RESTful interface of an HTTP protocol stack; the SDN controller according to the received deletion The OAM entity's message is deleted.
可选地,查询所述OAM参数和/或所述OAM性能包括:所述SDN应用通过HTTP协议栈的RESTful接口将查询所述OAM参数和/或所述OAM性能的消息发送给所述SDN控制器;所述SDN控制器根据接收到的查询所述OAM参数和/或所述OAM性能的消息进行查询操作。 Optionally, querying the OAM parameter and/or the OAM performance includes: sending, by the SDN application, a message querying the OAM parameter and/or the OAM performance to the SDN control by using a RESTful interface of an HTTP protocol stack The SDN controller performs a query operation according to the received message querying the OAM parameter and/or the OAM performance.
可选地,通过HTTP协议栈的RESTful接口进行OAM配置包括:采用JSON数据格式通过HTTP协议栈的RESTful接口进行OAM配置。Optionally, performing OAM configuration through the RESTful interface of the HTTP protocol stack includes: performing OAM configuration through a RESTful interface of the HTTP protocol stack in a JSON data format.
根据本发明实施例的另一个方面,提供了一种配置装置,位于SDN应用中,包括:第一连接单元,设置为与SDN控制器建立连接;第一操作管理维护OAM单元,设置为在连接建立之后,通过与SDN控制器之间的接口进行OAM配置。According to another aspect of the present invention, a configuration apparatus is provided, which is located in an SDN application, and includes: a first connection unit configured to establish a connection with an SDN controller; and a first operation management maintenance OAM unit, configured to be connected After the establishment, OAM configuration is performed through an interface with the SDN controller.
可选地,所述第一OAM单元包括:策略模块,设置为发送第一消息,其中,所述第一消息用于指示进行以下OAM配置的至少之一:建立OAM实体及配置参数、调整OAM参数、查询OAM参数、删除OAM实体;和/或,监控模块,设置为发送第二消息,其中,所述第二消息用于指示进行以下OAM配置的至少之一:查询OAM告警、查询OAM性能。Optionally, the first OAM unit includes: a policy module, configured to send a first message, where the first message is used to indicate performing at least one of the following OAM configurations: establishing an OAM entity and configuration parameters, and adjusting OAM The parameter, the query OAM parameter, and the OAM entity are deleted; and/or the monitoring module is configured to send the second message, where the second message is used to indicate at least one of the following OAM configurations: querying the OAM alarm, querying the OAM performance .
根据本发明实施例的另一方面,提供了一种配置装置,位于SDN控制器中,包括:第二连接单元,设置为与SDN应用建立连接;第二操作管理维护OAM单元,设置为在连接建立之后,通过与SDN应用之间的接口进行OAM配置。According to another aspect of the present invention, a configuration apparatus is provided, which is located in an SDN controller, and includes: a second connection unit configured to establish a connection with an SDN application; and a second operation management maintenance OAM unit, configured to be connected After the establishment, OAM configuration is performed through an interface with the SDN application.
通过本发明实施例,采用在SDN应用与SDN控制器之间建立连接;在连接建立之后,通过所述SDN应用与所述SDN控制器之间的接口进行操作管理维护OAM配置的方式,解决了相关技术中北向用户接口尚未实现OAM功能的问题,进而提高了用户的体验效果。Through the embodiment of the present invention, a connection is established between the SDN application and the SDN controller; after the connection is established, the manner of operation management and maintenance of the OAM configuration is implemented by the interface between the SDN application and the SDN controller, and the solution is solved. In the related art, the northbound user interface has not implemented the OAM function, thereby improving the user experience.
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的配置方法的流程图;1 is a flow chart of a configuration method according to an embodiment of the present invention;
图2是根据本发明实施例的配置装置的结构框图;2 is a block diagram showing the structure of a configuration apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的配置装置的可选结构框图一;3 is a block diagram 1 of an optional structure of a configuration apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的配置装置的可选结构框图二;4 is a block diagram 2 of an optional structure of a configuration apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的配置装置的结构框图;FIG. 5 is a structural block diagram of a configuration apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的配置装置的可选结构框图三;6 is a block diagram 3 of an optional structure of a configuration apparatus according to an embodiment of the present invention;
图7是根据本发明可选实施例的SDN网络架构图结构框图; 7 is a block diagram showing the structure of an SDN network architecture according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的SDN应用结构图结构框图;8 is a block diagram showing the structure of an SDN application structure according to an alternative embodiment of the present invention;
图9是根据本发明可选实施例的SDN控制器结构图结构框图;9 is a block diagram showing the structure of an SDN controller according to an alternative embodiment of the present invention;
图10是根据本发明可选实施例的OAM配置参数示意图;10 is a schematic diagram of OAM configuration parameters according to an alternative embodiment of the present invention;
图11是根据本发明可选实施例的OAM配置的流程图;11 is a flow diagram of an OAM configuration in accordance with an alternate embodiment of the present invention;
图12是根据本发明可选实施例的故障及性能监控流程图;12 is a flow chart of fault and performance monitoring in accordance with an alternative embodiment of the present invention;
图13是根据本发明可选实施例的OAM配置的SDN网络可选结构框图。FIG. 13 is a block diagram showing an optional structure of an SDN network of an OAM configuration according to an alternative embodiment of the present invention.
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种配置的方法,图1是根据本发明实施例的配置方法的流程图,如图1所示,该流程包括如下步骤:A method for configuring a configuration is provided in this embodiment. FIG. 1 is a flowchart of a configuration method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102:在SDN应用与SDN控制器之间建立连接;Step S102: establishing a connection between the SDN application and the SDN controller;
步骤S104:在连接建立之后,通过SDN应用与SDN控制器之间的接口进行操作管理维护OAM配置。Step S104: After the connection is established, the operation management and maintenance OAM configuration is performed through an interface between the SDN application and the SDN controller.
在本实施例中,在SDN应用与SDN控制器之间建立连接之后,通过SDN应用与SDN控制器之间的接口进行操作管理维护OAM配置的方式,解决了相关技术中北向用户接口尚未实现OAM功能的问题,提高了用户的体验效果。In this embodiment, after the connection between the SDN application and the SDN controller is established, the OAM configuration is performed through the interface between the SDN application and the SDN controller, and the OAM is not implemented in the northbound user interface in the related art. Functional issues that improve the user experience.
OAM配置可以包括多种操作,例如:建立OAM实体及配置参数、调整OAM参数、查询OAM参数、删除OAM实体、查询OAM告警、查询OAM性能;这些操作中的一个或多个都可以通过北向接口进行。The OAM configuration can include multiple operations, such as setting up OAM entities and configuration parameters, adjusting OAM parameters, querying OAM parameters, deleting OAM entities, querying OAM alarms, and querying OAM performance. One or more of these operations can pass through the northbound interface. get on.
OAM配置可以通过多种方式来实现,在本实施例的一个可选实施方式中进行OAM配置采用了如下方式:通过HTTP协议栈的RESTful接口进行OAM配置。The OAM configuration can be implemented in various manners. In an optional implementation manner of the embodiment, the OAM configuration is performed in the following manner: OAM configuration is performed through a RESTful interface of the HTTP protocol stack.
下面对RESTful进行说明:表征状态转移(Representational State Transfer,简称REST)是Roy Fielding博士在2000年他的博士论文中提出来的一种软件架构风格。它是一种针对网络应用的设计和开发方式,可以降低开发的复杂性,提高系统的可伸缩性。表征状态转移,是一组架构约束条件和原则,满足这些约束条件和原则的应用程序或设计就是RESTful。REST通常基于使用HTTP、URI、XML(标准通用标记语言下的一个子集)以及HTML(标准通用标记语言下的一个应用)这些现有的广泛流 行的协议和标准。RESTful方式由于标准统一,实现简单等优势得到广大运营商及用户支持。目前ONF NBI工作组及OIF组织等只定义了SDN网络中北向接口使用RESTful实现业务请求及拓扑查询的功能及其接口方式,但是尚未意识到可以将RESTful引入到北向接口的OAM配置中,在本可选的实施方式中使用了RESTful接口进行配置,使配置更加灵活。The following is a description of RESTful: Representational State Transfer (REST) is a software architecture style proposed by Dr. Roy Fielding in his doctoral thesis in 2000. It is a way of designing and developing web applications that can reduce the complexity of development and increase the scalability of the system. Characterizing state transitions is a set of architectural constraints and principles, and applications or designs that satisfy these constraints and principles are RESTful. REST is usually based on the use of HTTP, URI, XML (a subset of the standard universal markup language), and HTML (an application under the standard universal markup language). Line of agreements and standards. The RESTful method is supported by the majority of operators and users due to the standardization of standards and simple implementation. At present, the ONF NBI working group and the OIF organization only define the functions of the northbound interface in the SDN network to implement service request and topology query and the interface mode, but have not realized that RESTful can be introduced into the OAM configuration of the northbound interface. The optional implementation uses a RESTful interface for configuration to make the configuration more flexible.
对于本实施例中上述涉及到OAM配置,上述通过HTTP协议栈的RESTful接口进行OAM配置,在本实施例的另一个可选实施方式中,可以先将数据封装为JSON数据格式,然后再封装为RESTful数据格式,通过HTTP协议栈的RESTful接口进行OAM配置。For the above-mentioned OAM configuration in the embodiment, the OAM configuration is performed through the RESTful interface of the HTTP protocol stack. In another optional implementation manner of this embodiment, the data may be encapsulated into a JSON data format and then encapsulated into RESTful data format, OAM configuration through the RESTful interface of the HTTP protocol stack.
下面结合几个例子分别对几种OAM配置进行说明。Several OAM configurations are described below in conjunction with a few examples.
例一Example 1
在本可选实施方式中,当涉及到的OAM配置为建立OAM实体及配置参数时,可以通过以下方式来实现:In this optional implementation manner, when the involved OAM is configured to establish an OAM entity and configuration parameters, the following manner can be implemented:
步骤S11:SDN应用制定OAM配置参数和/或规则;Step S11: The SDN application formulates OAM configuration parameters and/or rules.
步骤S12:SDN应用将配置参数和/或规则对应的数据通过HTTP协议栈的RESTful接口发送给SDN控制器;Step S12: The SDN application sends the data corresponding to the configuration parameter and/or the rule to the SDN controller through the RESTful interface of the HTTP protocol stack.
步骤S13:SDN控制器根据接收到的配置参数和/或规则进行操作。Step S13: The SDN controller operates according to the received configuration parameters and/or rules.
例二
在本可选实施方式中,当涉及到的OAM配置为删除OAM实体时,OAM配置可以通过如下方式实现:In this optional implementation, when the OAM is configured to delete an OAM entity, the OAM configuration can be implemented as follows:
步骤S21:SDN应用通过HTTP协议栈的RESTful接口将删除OAM实体的消息发送给SDN控制器;Step S21: The SDN application sends a message for deleting the OAM entity to the SDN controller through the RESTful interface of the HTTP protocol stack.
步骤S22:SDN控制器根据接收到的删除OAM实体的消息进行删除操作。Step S22: The SDN controller performs a deletion operation according to the received message of deleting the OAM entity.
例三Example three
在本可选实施方式中,当涉及到的OAM配置为查询OAM参数和/或OAM性能时,OAM配置可以通过如下方式实现:In this optional implementation, when the involved OAM is configured to query OAM parameters and/or OAM performance, the OAM configuration can be implemented as follows:
步骤S31:SDN应用通过HTTP协议栈的RESTful接口将查询OAM参数和/或OAM性能的消息发送给SDN控制器;Step S31: The SDN application sends a message for querying OAM parameters and/or OAM performance to the SDN controller through the RESTful interface of the HTTP protocol stack.
步骤S32:SDN控制器根据接收到的查询OAM参数和/或OAM性能的消息进行 查询操作。Step S32: The SDN controller performs the message according to the received query OAM parameter and/or OAM performance. Query operation.
在本实施例中还提供了一种配置装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a configuration device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" "unit" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的配置装置的结构框图,该装置位于SDN应用中,如图2所示,该装置包括:第一连接单元22,设置为与SDN控制器建立连接;第一操作管理维护OAM单元24与第一连接单元22耦合连接,设置为在连接建立之后,通过与SDN控制器之间的接口进行OAM配置。2 is a structural block diagram of a configuration apparatus according to an embodiment of the present invention. The apparatus is located in an SDN application, as shown in FIG. 2, the apparatus includes: a
图3是根据本发明实施例的配置装置的可选结构框图一,如图3所示,该第一OAM单元24包括:策略模块32,设置为发送第一消息,其中,第一消息用于指示进行以下OAM配置的至少之一:建立OAM实体及配置参数、调整OAM参数、查询OAM参数、删除OAM实体;和/或,监控模块34,设置为发送第二消息,其中,第二消息用于指示进行以下OAM配置的至少之一:查询OAM告警、查询OAM性能。FIG. 3 is a block diagram of an optional structure of a configuration apparatus according to an embodiment of the present invention. As shown in FIG. 3, the
图4是根据本发明实施例的配置装置的可选结构框图二,如图4所示,该第一OAM单元24包括:第一适配模块42与策略模块32耦合连接,设置为将接收到的RESTful数据格式的数据进行解封装,和/或,将发送给SDN控制器的数据封装成RESTful数据格式;第一协议栈模块44与第一适配模块42耦合连接,设置为通过HTTP协议栈的RESTful接口接收来自SDN控制器的数据,和/或,将封装为RESTful数据格式的数据发送给SDN控制器。FIG. 4 is a block diagram of an optional structure of a configuration apparatus according to an embodiment of the present invention. As shown in FIG. 4, the
在本实施例的一个可选实施方式中,该第一适配模块42,还设置为将进行OAM配置所需数据封装成JSON数据格式后再封装成RESTful数据格式。In an optional implementation manner of the embodiment, the
图5是根据本发明实施例的配置装置的结构框图,该装置位于SDN控制器中,如图5所示,该装置包括:第二连接单元52,设置为与SDN应用建立连接;第二操作管理维护OAM单元54与第二连接单元52耦合连接,设置为在连接建立之后,通过与SDN应用之间的接口进行OAM配置。5 is a structural block diagram of a configuration apparatus according to an embodiment of the present invention. The apparatus is located in an SDN controller. As shown in FIG. 5, the apparatus includes: a
图6是根据本发明实施例的配置装置的可选结构框图三,如图6所示,该第二OAM单元54包括:第二协议栈模块62,设置为通过HTTP协议栈的RESTful接口接收来自SDN应用的数据,和/或,将封装为RESTful数据格式的数据发送给SDN应用;第二适配模块64与第二协议栈模块62耦合连接,设置为将接收到的RESTful数据格式的数据进行解封装,和/或,将发送给SDN应用的数据封装成RESTful数据格式;OAM模块66与第二适配模块64耦合连接,设置为将进行以下OAM配置的至少之一;建
立OAM实体及配置参数、调整OAM参数、查询OAM参数、删除OAM实体、查询OAM告警、查询OAM性能。6 is a block diagram 3 of an optional structure of a configuration apparatus according to an embodiment of the present invention. As shown in FIG. 6, the
在本实施例的一个可选实施方式中,该第二适配模块64,还可以设置为将接收到的RESTful数据解封装为JSON数据格式的数据之后再进行解封装,和/或,将发送给SDN应用的数据封装封装成JSON数据格式后再封装成RESTful数据格式。In an optional implementation manner of this embodiment, the second adaptation module 64 may be further configured to decapsulate the received RESTful data into data in a JSON data format, and then perform decapsulation, and/or send The data package of the SDN application is encapsulated into a JSON data format and then encapsulated into a RESTful data format.
为了更好的对本发明进行说明,下面以采用RESTful为例结合本发明的可选实施进行说明。在以下可选实施例中提供了一种在SDN网络架构下RESTful北向接口实现OAM配置及性能、告警等监测的装置及方法,以下可选实施例中还定义了一套在SDN网络架构下RESTful北向接口实现OAM实体创建,参数修改,删除,性能,告警查询等一系列功能的消息规范。In order to better illustrate the present invention, an alternative embodiment of the present invention will be described below using RESTful as an example. In the following optional embodiments, a device and a method for implementing OAM configuration, performance, alarm, and the like in the RESTful northbound interface under the SDN network architecture are provided. The following optional embodiment further defines a set of RESTful under the SDN network architecture. The northbound interface implements message specifications for a series of functions such as OAM entity creation, parameter modification, deletion, performance, and alarm query.
本可选实施例提供了一种在SDN网络北向接口RESTful中扩展OAM配置以及告警和性能监测功能的方案。通过添加RESTful中OAM配置的处理流程,增加相应的扩展,在遵循现有标准规定的前提下,提出OAM配置方法及装置,并实现故障监测及性能统计等相关功能,使SDN网络具备OAM功能,监控网络质量的能力,具体包括OAM的建立及其相关功能的配置方法及装置,故障告警等的查询及上报,性能的查询及上报功能的实现方法等。下面结合附图进行说明。This alternative embodiment provides a solution for extending the OAM configuration and the alarm and performance monitoring functions in the SDN network northbound interface RESTful. By adding the processing flow of OAM configuration in RESTful, adding corresponding extensions, under the premise of complying with the existing standards, the OAM configuration method and device are proposed, and related functions such as fault monitoring and performance statistics are implemented, so that the SDN network has OAM function. The ability to monitor network quality includes OAM establishment and configuration methods and devices for related functions, query and report of fault alarms, performance query and implementation of reporting functions. Description will be made below with reference to the drawings.
图7是根据本发明可选实施例的SDN网络架构图结构框图,如图7所示,该SDN网络包括三层基本框架:物理网络、SDN应用以及SDN控制器。FIG. 7 is a structural block diagram of an SDN network architecture diagram according to an alternative embodiment of the present invention. As shown in FIG. 7, the SDN network includes a three-layer basic framework: a physical network, an SDN application, and an SDN controller.
其中,物理网络由OpenFlow交换机网络组成,通过南向接口与控制器互联,遵循OpenFlow标准原语;SDN应用与控制器之间通过北向接口互联,遵循RESTful规范,基于使用HTTP,URI,和XML以及HTML这些现有的广泛流行的协议和标准。在SDN网络中实现OAM配置的装置,其中,北向接口的功能主要涉及到SDN应用及SDN控制器。The physical network consists of an OpenFlow switch network, interconnected with the controller through the southbound interface, and follows the OpenFlow standard primitive; the SDN application and the controller are interconnected through the northbound interface, following the RESTful specification, based on using HTTP, URI, and XML. HTML is an existing wide range of popular protocols and standards. A device for implementing OAM configuration in an SDN network, wherein the function of the northbound interface mainly relates to an SDN application and an SDN controller.
图8是根据本发明可选实施例的SDN应用结构图结构框图,如图8所示,该SDN应用的模块组成包括:协议栈模块、适配模块、策略模块以及监控模块。FIG. 8 is a structural block diagram of an SDN application structure diagram according to an alternative embodiment of the present invention. As shown in FIG. 8, the module component of the SDN application includes: a protocol stack module, an adaptation module, a policy module, and a monitoring module.
其中,协议栈为实现相关RESTful功能的协议平台,发送及接收来自控制器的HTTP协议消息;适配模块为封装解析协议栈数据的功能模块;策略模块为OAM配置及相关功能制定规则的模块;监控模块为故障及性能等上报及监控的管理模块。将OAM监控的规则传递到策略模块,在传递OAM监控规则的同时,也需要传递流标识的信息,使得策略模块能够将监控报文关联到具体的OAM处理规则。The protocol stack is a protocol platform for implementing related RESTful functions, and sends and receives an HTTP protocol message from the controller; the adaptation module is a functional module that encapsulates the protocol stack data; the policy module is a module that formulates rules for the OAM configuration and related functions; The monitoring module is a management module for reporting and monitoring faults and performance. The OAM monitoring rule is passed to the policy module. When the OAM monitoring rule is delivered, the information of the flow identifier is also required to be transmitted, so that the policy module can associate the monitoring packet with the specific OAM processing rule.
图9是根据本发明可选实施例的SDN控制器结构图结构框图,如图9所示,该SDN控制器的模块组成包括:协议栈模块、适配模块以及OAM模块。 FIG. 9 is a structural block diagram of an SDN controller according to an alternative embodiment of the present invention. As shown in FIG. 9, the module of the SDN controller includes: a protocol stack module, an adaptation module, and an OAM module.
其中,协议栈为实现相关RESTful功能的协议平台,发送及接收来自控制器的HTTP协议消息;适配模块为封装解析协议栈数据的功能模块;OAM模块为接收及处理OAM相关配置及查询等的管理模块。OAM模块可以接收来自于适配模块传递过来的规则,将控制器下发的规则应用到交换机中。同时,OAM模块根据报文中的标识关联到具体的OAM规则进行处理。在查询相关数据时,经过解析报文过滤之后,符合条件的上报给SDN应用。The protocol stack is a protocol platform for implementing related RESTful functions, and sends and receives an HTTP protocol message from the controller; the adaptation module is a functional module that encapsulates the protocol stack data; and the OAM module receives and processes OAM related configurations and queries. Management module. The OAM module can receive the rules passed from the adaptation module and apply the rules delivered by the controller to the switch. At the same time, the OAM module is associated with a specific OAM rule according to the identifier in the packet. When the related data is queried, after the parsed message is filtered, the conditional report is reported to the SDN application.
OAM需要实现可配置与管理一样,用户应该可以使能/非使能OAM相关功能的能力。OAM的功能需要主动或被动地被激活并与连接功能保持一致,需要对OAM实体进行配置操作。因此,SDN应用用户必须能够根据连接的类型选择OAM的某些功能,可以OAM配置参数,并可以随时激活OAM功能。OAM needs to be configurable and managed, and users should be able to enable/disable OAM-related capabilities. The OAM function needs to be activated actively or passively and consistent with the connection function. The OAM entity needs to be configured. Therefore, the SDN application user must be able to select certain functions of the OAM according to the type of connection, configure the parameters in OAM, and activate the OAM function at any time.
OAM实体的配置是在连接建立完成后就需要完成,而与OAM相关的功能是可选的,需要进行其他的配置,如故障管理(Fault Management简称为FM)和性能管理(Performance Management简称为PM)等。因此OAM还需要支持可以选择一系列OAM功能及配置其参数的能力。The configuration of the OAM entity needs to be completed after the connection is established. The OAM-related functions are optional and require other configurations, such as fault management (Fault Management for FM) and performance management (Performance Management for PM). )Wait. Therefore, OAM also needs to support the ability to select a range of OAM functions and configure their parameters.
配置OAM的主要几个方面包括OAM实体的建立以及功能的配置,协调两端OAM参数以及删除OAM实体等。下面对这几个方面分别进行说明。The main aspects of configuring OAM include the establishment of OAM entities and the configuration of functions, coordination of OAM parameters at both ends, and deletion of OAM entities. These aspects are described separately below.
OAM实体创建及功能配置OAM entity creation and function configuration
维护节点(Maintenance Points,简称为MP)分为两种类型:维护终节点(Maintenance End Points,简称为MEP)和维护中间节点(Maintenance Intermediate Points,简称为MIP),其中,MEP处于连接的两端,可以发起和中止用于FM和PM的OAM消息;MIP处于连接的中间节点,可以接收OAM消息,但不能发起。Maintenance Points (MPs) are divided into two types: Maintenance End Points (MEPs) and Maintenance Intermediate Points (MIPs). MEPs are at both ends of the connection. OAM messages for FM and PM can be initiated and aborted; the MIP is in the intermediate node of the connection and can receive OAM messages but cannot initiate.
维护实体(Maintenance Entity,简称为ME)在MEP与MIP之间的协作,用于监测连接。一旦连接建立完成,端点及中间节点之间的转发关系已经建立,这种联系使OAM实体可以监测连接。除了MP和ME定义的相关参数外,主动OAM功能如一致性检测(Continuity Check,简称为CC)、FM以及PM都需要参数配置。The maintenance entity (Maintenance Entity, ME for short) cooperates between the MEP and the MIP to monitor the connection. Once the connection is established, the forwarding relationship between the endpoint and the intermediate node has been established so that the OAM entity can monitor the connection. In addition to the related parameters defined by MP and ME, active OAM functions such as Continuity Check (CC), FM, and PM require parameter configuration.
在RSVP-TE协议中,图10是根据本可选实施例的OAM配置参数示意图,OAM配置的格式如图10所示,OAM type表明创建节点支持的OAM实体类型。OAM创建时,节点之间需要能力协商。表明该节点是MEP还是MIP,并表明是否开启OAM告警。In the RSVP-TE protocol, FIG. 10 is a schematic diagram of OAM configuration parameters according to the optional embodiment. The format of the OAM configuration is as shown in FIG. 10, and the OAM type indicates the OAM entity type supported by the creation node. When OAM is created, capability negotiation is required between nodes. Indicates whether the node is a MEP or a MIP and indicates whether the OAM alarm is enabled.
在SDN网络中,首先是SDN应用的策略模块根据配置或者自身策略制定OAM相关的规则,如性能监控规则,将这些策略规则传递给适配模块;适配模块根据策略模块传递过来的规则,封装数据,下发给协议栈,消息中除了包含策略规则相关的信 息外,还包含要使用这条策略规则的连接及OAM的配置信息;协议栈通过RESTful接口接收到消息后,发给适配模块;适配模块解析数据后发送给OAM模块进行OAM的配置。In the SDN network, first, the policy module of the SDN application formulates OAM-related rules according to the configuration or its own policy, such as performance monitoring rules, and passes the policy rules to the adaptation module; the adaptation module encapsulates the rules according to the policy module. The data is sent to the protocol stack, and the message contains a letter related to the policy rule. In addition, the connection information and the OAM configuration information of the policy rule are used. After receiving the message through the RESTful interface, the protocol stack sends the message to the adaptation module. The adaptation module parses the data and sends it to the OAM module for OAM configuration.
图11是根据本发明可选实施例的OAM配置的流程图,如图11所示,该配置的步骤包括:FIG. 11 is a flowchart of an OAM configuration according to an alternative embodiment of the present invention. As shown in FIG. 11, the steps of the configuration include:
步骤S1102:SDN应用通过策略模块制定OAM配置及其相关功能的规则,下发相应的配置参数到适配模块;Step S1102: The SDN application formulates the rules of the OAM configuration and related functions through the policy module, and delivers the corresponding configuration parameters to the adaptation module.
步骤S1104:适配模块将相关数据封装成RESTful数据格式,发送给HTTP协议栈;Step S1104: The adaptation module encapsulates the relevant data into a RESTful data format and sends the data to the HTTP protocol stack.
步骤S1106:HTTP协议栈收到消息后通过RESTful接口发送到控制器;Step S1106: After receiving the message, the HTTP protocol stack sends the message to the controller through the RESTful interface.
步骤S1108:控制器的HTTP协议栈通过RESTful接口接收到消息发送给适配模块;Step S1108: the HTTP protocol stack of the controller receives the message sent to the adaptation module through the RESTful interface;
步骤S1110:适配模块解析相关数据,发送给OAM模块;Step S1110: The adaptation module parses the relevant data and sends the data to the OAM module.
步骤S1112:OAM根据应用下发的OAM配置信息进行OAM配置操作。Step S1112: The OAM performs an OAM configuration operation according to the OAM configuration information delivered by the application.
OAM参数调整OAM parameter adjustment
已创建和配置的OAM功能在连接的生命周期中可能需要参数调整,此时需要更新OAM参数。OAM参数关系到OAM消息的内容和时长,也关系到OAM检测,获取和产生告警的方式。因此OAM的源端和尾端需要同步更新数据。首先,OAM的告警功能被禁止,接着调整OAM参数。OAM参数更新完毕之后,再打开OAM告警功能。在RESTful接口中修改OAM参数时,需要SDN应用的策略模块进行OAM配置的策略选择,下发OAM实体参数的修改,通过RESTful协议下发到适配模块,适配成RESTful格式通过HTTP协议栈下发到SDN控制器。该OAM参数调整的流程与图6中OAM创建流程相同。The OAM function that has been created and configured may require parameter adjustment during the lifetime of the connection. In this case, the OAM parameters need to be updated. The OAM parameter is related to the content and duration of the OAM message. It is also related to the way OAM detects, acquires, and generates alarms. Therefore, the source and end of the OAM need to update the data synchronously. First, the OAM alarm function is disabled, and then the OAM parameters are adjusted. After the OAM parameters are updated, the OAM alarm function is enabled. When the OAM parameters are modified on the RESTful interface, the policy module of the SDN application is required to perform the OAM configuration policy selection, and the OAM entity parameters are modified. The RESTful protocol is delivered to the adaptation module and adapted to the RESTful format through the HTTP protocol stack. Send to the SDN controller. The process of the OAM parameter adjustment is the same as the OAM creation process in FIG. 6.
OAM实体删除OAM entity deletion
在某些情况下,需要删除部分或者所有OAM实体和功能,而不影响已建立的连接。首先,OAM的告警功能被禁止,源端和尾端需要同步删除数据。然后自动触发OAM实体的删除。在RESTful接口中删除OAM实体及配置时,需要SDN应用的策略模块进行下发消息,通过RESTful协议下发到适配模块,适配成RESTful格式通过HTTP协议栈下发到SDN控制器。该OAM实体删除的流程与图6中的OAM创建流程相同。 In some cases, some or all of the OAM entities and features need to be removed without affecting the established connections. First, the OAM alarm function is disabled, and the source and tail end need to delete data synchronously. Then the deletion of the OAM entity is automatically triggered. When the OAM entity and the configuration are deleted on the RESTful interface, the QoS policy is used to send the message to the SDN controller. The RESTful protocol is delivered to the SDN controller through the HTTP protocol stack. The process of deleting the OAM entity is the same as the OAM creation process in FIG. 6.
故障及性能监控Fault and performance monitoring
在某些情况下,用户需要对网络连接和网络质量进行监控,从而把握整个网络的运行效率,以及对网络进行统一资源调度和规划。因此在SDN网络中,SDN应用需要在北向接口下发配置消息,并实时监控网络故障与性能参数。In some cases, the user needs to monitor the network connection and network quality to grasp the operational efficiency of the entire network and to perform unified resource scheduling and planning on the network. Therefore, in the SDN network, the SDN application needs to send configuration messages on the northbound interface and monitor network faults and performance parameters in real time.
在SDN网络中,首先可以进行OAM的故障及性能监控功能的配置,如上所述。当用户需要对连接故障及网络质量进行监控时,可以通过RESTful接口实时查询故障及性能参数。In the SDN network, the configuration of the OAM fault and performance monitoring functions can be performed first, as described above. When the user needs to monitor the connection failure and network quality, the fault and performance parameters can be queried in real time through the RESTful interface.
图12是根据本发明可选实施例的故障及性能监控流程图,如图12所示,查询的步骤包括:FIG. 12 is a flowchart of fault and performance monitoring according to an alternative embodiment of the present invention. As shown in FIG. 12, the steps of the query include:
步骤S1202:SDN应用通过监控模块下发故障或性能查询命令,下发查询消息到适配模块;Step S1202: The SDN application sends a query message to the adaptation module by sending a fault or a performance query command through the monitoring module.
步骤S1204:适配模块将相关数据封装成RESTful数据格式,发送给HTTP协议栈,并通过RESTful接口发送到控制器;Step S1204: The adaptation module encapsulates the relevant data into a RESTful data format, sends the data to the HTTP protocol stack, and sends the data to the controller through the RESTful interface.
步骤S1206:控制器的HTTP协议栈通过RESTful接口接收到消息发送给适配模块解析相关数据,发送给OAM模块;Step S1206: The HTTP protocol stack of the controller receives the message through the RESTful interface, and sends the message to the adaptation module to parse the relevant data, and sends the data to the OAM module.
步骤S1208:OAM模块根据查询消息,上报相关查询结果到适配模块;Step S1208: The OAM module reports the relevant query result to the adaptation module according to the query message.
步骤S1210:适配模块将相关数据封装成RESTful数据格式,发送给HTTP协议栈,并通过RESTful接口发送到SDN应用;Step S1210: The adaptation module encapsulates the relevant data into a RESTful data format, sends the data to the HTTP protocol stack, and sends the data to the SDN application through the RESTful interface.
步骤S1212:SDN应用的HTTP协议栈通过RESTful接口接收到消息发送给适配模块解析相关数据,发送给监控模块。Step S1212: The HTTP protocol stack of the SDN application receives the message through the RESTful interface and sends the message to the adaptation module to parse the relevant data, and sends the message to the monitoring module.
RESTful消息规范RESTful message specification
Restful架构下,客户端和服务器采用HTTP协议进行通信,具有如下特点:Under the Restful architecture, the client and server communicate using the HTTP protocol, which has the following characteristics:
1)每一个URI代表一种资源。1) Each URI represents a resource.
2)客户端和服务器之间,传递这种资源的某种表现层,可以是txt/html/xml/json等格式。2) A kind of presentation layer for passing such resources between the client and the server, which may be in a format such as txt/html/xml/json.
3)客户端通过四个HTTP动词(GET/POST/PUT/DELETE),对服务器端资源进行操作,实现“表现层状态转化”。3) The client operates on the server-side resources through four HTTP verbs (GET/POST/PUT/DELETE) to implement "presentation level state conversion".
JSON(JavaScript Object Notation)是一种轻量级的数据交换格式。它基于JavaScript的一个子集。JSON已成为理想的数据交换语言。易于人阅读和编写,同时也易于机 器解析和生成。本文以JSON格式为例制定RESTful消息规范。JSON (JavaScript Object Notation) is a lightweight data exchange format. It is based on a subset of JavaScript. JSON has become the ideal data exchange language. Easy for people to read and write, but also easy to machine Parsing and generating. This article uses the JSON format as an example to develop a RESTful message specification.
基于JSON制定的北向REST API与OAM配置相关的OAM API,与各个域的控制器互通,实现端到端的OAM管理、性能及故障监测等功能。The OAM API related to OAM configuration based on JSON is interoperable with the controllers of each domain to implement end-to-end OAM management, performance, and fault monitoring.
表1a~1e为OAM JSON报文结构图集;其中,创建和调整OAM实体及配置相关参数。如表1a所示,HTTP方式为POST,请求消息中参数包括:id为OAM对应的连接ID,MEP为创建的OAM端节点地址,MIP为中间节点地址,Function为创建的OAM相关的功能,如FM,PM等。若请求成功,返回200:OK应答,应答消息中前4个参数与请求相同,AdminStatus为up或down,表明该OAM是否使能;若请求失败,按照失败的原因不同,返回400:Bad Request等消息码,无应答内容。Tables 1a to 1e are diagrams of the OAM JSON message structure; among them, the OAM entity and configuration parameters are created and adjusted. As shown in Table 1a, the HTTP mode is POST. The parameters in the request message include: the id is the connection ID corresponding to the OAM, the MEP is the created OAM end node address, the MIP is the intermediate node address, and the Function is the created OAM-related function, such as FM, PM, etc. If the request is successful, return 200: OK response, the first 4 parameters in the response message are the same as the request, AdminStatus is up or down, indicating whether the OAM is enabled; if the request fails, according to the reason of the failure, return 400: Bad Request, etc. Message code, no response content.
查询OAM参数,如表1b所示,HTTP方式为GET,id为OAM对应的连接ID,应答消息与创建的应答相同。Query the OAM parameters. As shown in Table 1b, the HTTP mode is GET, the id is the connection ID corresponding to the OAM, and the response message is the same as the created response.
删除OAM实体,如表1c所示,HTTP方式为DELETE,id为OAM对应的连接ID,无应答内容。The OAM entity is deleted. As shown in Table 1c, the HTTP mode is DELETE, the id is the connection ID corresponding to OAM, and there is no response content.
查询OAM告警,如表1d所示,HTTP方式为GET,id为OAM对应的连接ID,请求成功时返回应答消息,其中Function为要查询的功能,如FM;alarmNum为告警次数;alarmStatus为告警状态;alarmReason为告警原因;AdminStatus为up或down,表明该OAM是否使能。Query the OAM alarm. As shown in Table 1d, the HTTP mode is GET, and the id is the connection ID corresponding to the OAM. When the request is successful, the response message is returned. The Function is the function to be queried, such as FM; the alarmNum is the alarm number; the alarmStatus is the alarm status. ;alarmReason is the cause of the alarm; AdminStatus is up or down, indicating whether the OAM is enabled.
查询OAM性能,如表1e所示,HTTP方式为GET,id为OAM对应的连接ID,Function为要查询的功能,如PM;bandwidth为连接带宽;BER为业务误码率;disconnect为控制器断链次数;AdminStatus为up或down,表明该OAM是否使能。应该理解的是:可以对相关数据进行修改名称,替换和添加等,所有这些改变都属于本发明可选实施例的保护范围之内。如表1a~1e所示:Query OAM performance. As shown in Table 1e, the HTTP mode is GET, the id is the connection ID corresponding to OAM, the Function is the function to be queried, such as PM, the bandwidth is the connection bandwidth, the BER is the service error rate, and the disconnect is the controller. The number of times of the link; AdminStatus is up or down, indicating whether the OAM is enabled. It should be understood that the relevant data may be modified, renamed, added, etc., all of which are within the scope of the alternative embodiments of the present invention. As shown in Tables 1a to 1e:
表1aTable 1a
表1bTable 1b
表1cTable 1c
表1dTable 1d
表1eTable 1e
图13是根据本可选实施例的OAM配置的SDN网络可选结构框图,如图13所示,该SDN网络包括:SDN应用APP、SDN控制器,该SDN控制器的IP地址为193.90.160.5以及一个管理域,该域中节点分别为switch-1/2/3,其IP地址分别是193.90.10.5、193.90.20.5、193.90.30.5。FIG. 13 is a block diagram of an optional structure of an SDN network according to an optional embodiment of the present invention. As shown in FIG. 13, the SDN network includes an SDN application APP and an SDN controller, and the IP address of the SDN controller is 193.90.160.5. And an administrative domain, the nodes in the domain are switch-1/2/3, and their IP addresses are 193.90.10.5, 193.90.20.5, and 193.90.30.5, respectively.
APP建立了一条节点switch-1到节点switch-3之间的连接,连接ID为1,经过中间节点switch-2,业务带宽为ODU2保护类型为1+1通道保护、恢复类型为无恢复。APP通过RESTful接口与控制器互联,HTTP协议版本为1.1,REST对象采用Json格式。下面结合图13对几个可选的实施例进行说明。The APP establishes a connection between node switch-1 and node switch-3. The connection ID is 1. After the intermediate node switch-2, the service bandwidth is ODU2 protection type is 1+1 channel protection, and the recovery type is no recovery. The APP is interconnected with the controller through a RESTful interface, the HTTP protocol version is 1.1, and the REST object is in Json format. Several alternative embodiments are described below in conjunction with FIG.
可选实施例一:Alternative embodiment 1:
APP通过RESTful接口创建OAM实体,配置OAM参数,功能为性能监控。其消息流程如下:An APP creates an OAM entity through a RESTful interface and configures OAM parameters. The function is performance monitoring. The message flow is as follows:
1.APP通过策略模块制定性能监控的OAM配置参数及其规则,下发相应的配置参数到适配模块;1. The APP formulates the OAM configuration parameters and rules of the performance monitoring through the policy module, and delivers the corresponding configuration parameters to the adaptation module.
2.适配模块将相关数据封装成JSON数据格式,发送给HTTP协议栈,通过RESTful接口发送到Controller;2. The adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
3.Controller的HTTP协议栈通过RESTful接口接收到消息发送给适配模块,解析相关数据,发送给OAM模块;3. The HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
4.OAM根据下发的OAM配置信息进行OAM配置操作。The OAM performs OAM configuration operations based on the delivered OAM configuration information.
RESTful消息格式如下:The RESTful message format is as follows:
可选实施例二:Alternative embodiment 2:
APP通过RESTful接口删除OAM实体,其消息流程如下:The APP deletes the OAM entity through the RESTful interface. The message flow is as follows:
1.APP通过策略模块下发相应的OAM删除消息到适配模块;1. The APP sends a corresponding OAM deletion message to the adaptation module through the policy module.
2.适配模块将相关数据封装成JSON数据格式,发送给HTTP协议栈,通过RESTful接口发送到Controller;2. The adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
3.Controller的HTTP协议栈通过RESTful接口接收到消息发送给适配模块,解析相关数据,发送给OAM模块;3. The HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
4.OAM根据下发的OAM删除消息进行OAM删除操作。4. The OAM performs an OAM deletion operation according to the delivered OAM deletion message.
RESTful消息格式如下:The RESTful message format is as follows:
DELETE/rest/json/OAM_API/SERV-1DELETE/rest/json/OAM_API/SERV-1
{{
}}
HTTP/1.x 200OKHTTP/1.x 200OK
{{
} }
可选实施例三:Alternative embodiment three:
APP通过RESTful接口查询OAM配置参数,其消息流程如下:The APP queries the OAM configuration parameters through the RESTful interface. The message flow is as follows:
1.APP通过策略模块下发相应的OAM查询消息到适配模块;1. The APP sends a corresponding OAM query message to the adaptation module through the policy module.
2.适配模块将相关数据封装成JSON数据格式,发送给HTTP协议栈,通过RESTful接口发送到Controller;2. The adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
3.Controller的HTTP协议栈通过RESTful接口接收到消息发送给适配模块,解析相关数据,发送给OAM模块;3. The HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
4.OAM根据下发的OAM查询消息上报OAM相关配置参数到适配模块;4. The OAM reports the OAM related configuration parameters to the adaptation module according to the delivered OAM query message.
5.适配模块封装成JSON数据发送给HTTP协议栈,发送到APP;5. The adaptation module is encapsulated into JSON data and sent to the HTTP protocol stack, and sent to the APP;
6.APP的HTTP协议栈接收到RESTful消息后发送给适配模块,解析JSON数据,发送给策略模块。6. The HTTP protocol stack of the APP receives the RESTful message and sends it to the adaptation module, parses the JSON data, and sends it to the policy module.
RESTful消息格式如下:The RESTful message format is as follows:
可选实施例四:Alternative embodiment four:
APP通过RESTful接口查询性能相关参数,其消息流程如下:The APP queries performance-related parameters through the RESTful interface. The message flow is as follows:
1.APP通过策略模块下发相应的OAM查询消息到适配模块; 1. The APP sends a corresponding OAM query message to the adaptation module through the policy module.
2.适配模块将相关数据封装成JSON数据格式,发送给HTTP协议栈,通过RESTful接口发送到Controller;2. The adaptation module encapsulates the relevant data into a JSON data format, sends it to the HTTP protocol stack, and sends it to the Controller through the RESTful interface;
3.Controller的HTTP协议栈通过RESTful接口接收到消息发送给适配模块,解析相关数据,发送给OAM模块;3. The HTTP protocol stack of the Controller receives the message through the RESTful interface and sends it to the adaptation module, parses the relevant data, and sends it to the OAM module.
4.OAM根据下发的OAM查询消息上报OAM相关配置参数到适配模块;4. The OAM reports the OAM related configuration parameters to the adaptation module according to the delivered OAM query message.
5.适配模块封装成JSON数据发送给HTTP协议栈,发送到APP;5. The adaptation module is encapsulated into JSON data and sent to the HTTP protocol stack, and sent to the APP;
6.APP的HTTP协议栈接收到RESTful消息后发送给适配模块,解析JSON数据,发送给策略模块。6. The HTTP protocol stack of the APP receives the RESTful message and sends it to the adaptation module, parses the JSON data, and sends it to the policy module.
RESTful查询故障告警的结果如下:The results of the RESTful query failure alarm are as follows:
RESTful查询性能统计的结果如下:The results of RESTful query performance statistics are as follows:
通过上述可选实施例,定义了相关的功能及参数,在RESTful接口中也没有相关消息及参数扩展,更未定义用户监控网络故障及性能的方式。因此,在RESTful接口形式下实现OAM配置、网络质量的监测和故障及告警上报等功能,保证了网络正常稳定运行和故障后的快速恢复,为用户提供了优质服务。Through the above optional embodiments, related functions and parameters are defined, and there is no related message and parameter expansion in the RESTful interface, and the manner in which the user monitors network faults and performance is not defined. Therefore, the OAM configuration, network quality monitoring, and fault and alarm reporting functions are implemented in the RESTful interface mode to ensure the normal and stable operation of the network and the rapid recovery after the fault, providing users with high-quality services.
以上仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
通过本发明,采用在SDN应用与SDN控制器之间建立连接;在连接建立之后,通过所述SDN应用与所述SDN控制器之间的接口进行操作管理维护OAM配置的方式,解决了相关技术中北向用户接口尚未实现OAM功能的问题,进而提高了用户的体验效果。 With the present invention, a connection is established between the SDN application and the SDN controller; after the connection is established, the OAM configuration is operated and maintained through the interface between the SDN application and the SDN controller, and the related technology is solved. The North-to-North user interface has not implemented the OAM function, which improves the user experience.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410686149.X | 2014-11-25 | ||
| CN201410686149.XA CN105703924A (en) | 2014-11-25 | 2014-11-25 | Configuration method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016082592A1 true WO2016082592A1 (en) | 2016-06-02 |
Family
ID=56073549
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/087834 Ceased WO2016082592A1 (en) | 2014-11-25 | 2015-08-21 | Configuration method and apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105703924A (en) |
| WO (1) | WO2016082592A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106375112A (en) * | 2016-08-25 | 2017-02-01 | 浪潮(北京)电子信息产业有限公司 | Dedicated software defined network system |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140280834A1 (en) * | 2013-03-15 | 2014-09-18 | Cisco Technology, Inc. | Programmable management engine for networks |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102752780A (en) * | 2012-06-11 | 2012-10-24 | 中兴通讯股份有限公司 | Method and device for managing system user |
| CN103685580B (en) * | 2013-12-18 | 2016-09-07 | 武汉邮电科学研究院 | Northbound interface access system based on software defined network and method |
-
2014
- 2014-11-25 CN CN201410686149.XA patent/CN105703924A/en active Pending
-
2015
- 2015-08-21 WO PCT/CN2015/087834 patent/WO2016082592A1/en not_active Ceased
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140280834A1 (en) * | 2013-03-15 | 2014-09-18 | Cisco Technology, Inc. | Programmable management engine for networks |
Non-Patent Citations (3)
| Title |
|---|
| ALISA DEVLIC ET AL.: "Carrier-grade Network Management Extensions to the SDN Framework", 8TH SWEDISH NATIONAL COMPUTER NETWORKING WORKSHOP, 21 May 2013 (2013-05-21) * |
| E. HALEPLIDIS ET AL.: "SDN Layers and Architecture Terminology", DRAFT-IRTF-SDNRG-LAYER-TERMINOLOGY-04, 22 October 2014 (2014-10-22) * |
| OPEN NETWORKING FOUNDATION.: "SDN architecture", ONF TR -502, 30 June 2014 (2014-06-30) * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105703924A (en) | 2016-06-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN115037624B (en) | Global network state management | |
| EP2985952B1 (en) | Method and device for protecting service reliability, and network virtualization system | |
| CN110324165A (en) | Network equipment management method, device and system | |
| EP3257199B1 (en) | Service performance monitoring in a virtualized communication network | |
| CN104426756B (en) | A kind of acquisition method and control platform of service node capability information | |
| CN104639362A (en) | OAM (operation administration and maintenance) performance monitoring method and OAM performance monitoring device | |
| TWI740210B (en) | Method for terminal device management and server | |
| US10805169B2 (en) | Topology determining method, message response method, controller, and switch | |
| WO2014139094A1 (en) | Communication method, device and system | |
| WO2015035616A1 (en) | Method and device for cross-network communications | |
| JP6480452B2 (en) | Packet processing method and apparatus | |
| CN104734876A (en) | Ethernet OAM configuration achieving method and device | |
| WO2019042213A1 (en) | Method and apparatus for managing network access device in sdn | |
| CN102742221A (en) | Multicast realization method and network device | |
| CN104734949A (en) | Flow gauge configuration achieving method and device | |
| CN107645394B (en) | Switch configuration method in SDN network | |
| CN101145950B (en) | A topology management method based on multi-service transmission nodes | |
| US20080082649A1 (en) | Methods and systems for extensible markup language control of network equipment | |
| Peterson et al. | Computer Networks: A Systems Approach, ser | |
| CN108352997B (en) | Extending cloud aggregation points in a hierarchical distributed manner | |
| CN110324241A (en) | A kind of method of adjustment, message forwarding method and the device of flow forward-path | |
| CN101009588B (en) | Method and system for configuring distributed proxy server information | |
| CN114531392B (en) | Multicast service design method, server and storage medium | |
| WO2016082592A1 (en) | Configuration method and apparatus | |
| CN112751701B (en) | System, method and computer readable medium for managing network devices |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15862321 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15862321 Country of ref document: EP Kind code of ref document: A1 |