Application configuration device, application configuration method, and application configuration program

The application setting device addresses inconsistencies in application settings for service chaining by validating command code templates before configuration, ensuring reliable and flexible communication services in SDN networks transitioning from NFV to CNF.

WO2024176283A1PCT designated stage expired Publication Date: 2024-08-29NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/005905
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In service chaining for SDN, inconsistencies in application settings can affect the cooperative operation of multiple applications on a network OS, making it challenging to ensure reliable and flexible configuration of communication services, especially with the transition from NFV to CNF in 5G networks.

Method used

An application setting device that includes a setting information storage unit, a template creation unit, a common validation rule storage unit, and a common validation check unit to create and validate command code templates for multiple applications before configuring them on a network OS, ensuring consistency and avoiding conflicts.

Benefits of technology

This solution allows for the detection and resolution of inconsistencies in application settings, enhancing the reliability and flexibility of communication services by ensuring that multiple applications can be set on a network OS without affecting their cooperative operation, thereby improving user convenience and system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023005905_29082024_PF_FP_ABST
    Figure JP2023005905_29082024_PF_FP_ABST
Patent Text Reader

Abstract

A CLI function unit (44) includes a storage unit (444), a configuration inputting unit (441), and a validation function unit (442). The storage unit (444) stores configuration information CFG for a plurality of applications. On the basis of the configuration information CFG, the configuration inputting unit (441) creates a template for command code for configuring the plurality of applications all at once. The storage unit (444) stores common validation rules CVR to be applied when the plurality of applications are configured all at once. The validation function unit (442) checks whether the template has command code that includes content defined by the common validation rules CVR.
Need to check novelty before this filing date? Find Prior Art

Description

Application setting device, application setting method and application setting program

[0001] The present invention relates to an application setting device, an application setting method, and an application setting program.

[0002] In Software Defined Networks (SDNs), which control networks using software, service chaining is used as a technology for orchestrating network functions. The network functions targeted by service chaining are primarily Network Function Virtualization (NFVs), which virtualize network functions. Service chaining provides users with desired communication services by linking and operating NFVs on a network. Specifically, service chaining links and operates network functions such as routers, firewalls, and load balancers, automatically exchanging packets between these functions in the appropriate order. The 5G standard is transitioning from NFVs to Cloud-Native Network Functions (CNFs). CNFs run as network functions on Kubernetes (k8s), an open-source container orchestration system.

[0003] The software used by telecommunications carriers (fixed-line carriers, mobile carriers, Internet service providers, data center operators, etc.) is tightly coupled with hardware, making it difficult for telecommunications carriers to flexibly control its specifications. To address this issue, a network operating system (OS) that runs from the white-box switch's open network install environment (ONIE) is being considered. The network OS provides the network functions required by the system and controls the white-box switch's hardware. Applications for communication services are configured and run as containers within the network OS. By creating templates for multiple common applications, such as management interfaces, and configuring them in the network OS, telecommunications carriers can flexibly add and remove communication services (see Non-Patent Document 1 and Patent Document 1).

[0004] “Service Template Automation Overview,” Juniper Networks, [online], [Retrieved February 10, 2023], Internet <URL: https: / / www.juniper.net / documentation / jp / ja / software / junos / automation-scripting / topics / concept / junos-script-automation-service-template-automation-overview.html>

[0005] JP 2020-113170 Public Relations

[0006] When applications, each with a single function, are to be run in cooperation with each other through service chaining, the command codes for setting up those applications must be created as templates and then submitted to the network OS all at once. However, if there is an inconsistency between the settings of multiple applications, this may affect the cooperative operation of the multiple applications on the network OS.

[0007] In an application setting device, it is required to check whether there is any inconsistency among the settings of a plurality of applications before setting and inputting the applications into a network OS all at once.

[0008] The application setting device of the present invention configures multiple applications executed in a container or virtual machine in a batch for the operating system of a network device, and includes: a setting information storage unit that stores setting information for the multiple applications; a template creation unit that creates a command code template for configuring the multiple applications in a batch based on the setting information; a common validation rule storage unit that stores common validation rules that are applied when configuring the multiple applications in a batch; and a common validation check unit that checks whether the template contains a command code that includes content specified in the common validation rule.

[0009] According to the present invention, it is possible to check whether there is any inconsistency between the settings of a plurality of applications before setting and introducing the applications into the network OS.

[0010] 1 is a diagram illustrating a configuration of a communication system. FIG. 2 is a diagram illustrating an example of the configuration of a network device. FIG. 3 is a diagram illustrating a setting mode of an application by a CLI function unit. FIG. 4 is a diagram illustrating a configuration of a CLI function unit as an application setting device according to the present embodiment. FIG. 5 is a diagram illustrating an example of setting information for each application. FIG. 6 is a diagram illustrating an example of a validation rule for application A. FIG. 7 is a diagram illustrating an example of a validation rule for application B. FIG. 8 is a diagram illustrating an example of a common validation rule. FIG. 9 is a flowchart illustrating the processing flow of the CLI function unit. FIG. 10 is a hardware configuration diagram illustrating an example of a computer that realizes the functions of the application setting device. FIG. 11 is a diagram illustrating an example of the configuration of an orchestrator equipped with an application setting device according to Modification 1. FIG. 12 is a flowchart illustrating the processing flow of the application setting unit. FIG. 13 is a sequence diagram illustrating the processing flow of the application setting unit.

[0011] Next, an embodiment of the present invention (hereinafter referred to as "the present embodiment") will be described with reference to the drawings. FIG. 1 is a diagram showing the configuration of a communication system. As shown in FIG. 1, the communication system 1 includes a plurality of network devices 2 and an orchestrator 5. The orchestrator 5 is a controller that comprehensively manages the plurality of network devices 2. The network devices 2 and the orchestrator 5 are connected via a network NW including, for example, the Internet.

[0012] The orchestrator 5 has a control management unit 51 and a status management unit 52 (see FIG. 2 ) as functional components for comprehensively managing the network devices 2. The control management unit 51 inputs control information to each network device 2. The status management unit 52 manages status notifications input from each network device 2.

[0013] The network devices 2 can be configured from general-purpose information processing devices such as server devices and white box switches. Each network device 2 can be configured from a single information processing device, or from multiple information processing devices that can communicate with each other. Each network device 2 is configured with NFV or CNF, which virtualizes network functions. Network functions include, for example, routers, firewalls, and load balancers. The orchestrator 5 can also be configured as one of the network functions of the network device 2.

[0014] FIG. 2 illustrates an example of the configuration of a network device 2. In FIG. 2, a white-box switch is shown as an example of the network device 2. As shown in FIG. 2, the network device 2 includes hardware 3 and a network OS 4 for operating the hardware 3. Although not shown, the white-box switch may include, for example, a switch ASIC (Application Specific Integrated Circuit) equipped with a CPU (Central Processing Unit) and memory, an optical transmission chip, a programmable chip, or the like, as the hardware 3. In the white-box switch, open source software (OSS) or a commercially available network OS can be installed via an ONIE (Open Network Install Environment) stored in the memory. In other words, unlike conventional network devices, a white-box switch is not limited to a dedicated network OS; users can freely combine hardware and a general-purpose network OS. Furthermore, the white-box switch may include one or more network OSs.

[0015] The network OS 4 includes a hardware API (Application Programming Interface) 41 and a management database (hereinafter referred to as a "management DB") 42. The management DB 42 stores various data necessary for the processes performed by the network OS 4.

[0016] The network OS 4 includes a plurality of applications. The applications are configured as containers or virtual machines in the network OS 4. The management DB 42 stores command codes for setting up each application. Each container or virtual machine operates as an application by referencing and executing the command codes stored in the management DB 42. The user can freely combine and install any applications into the network OS 4.

[0017] 2, the network OS 4 may include, as multiple applications, a platform management unit 43, a CLI function unit 44, an external control management unit 45, and a status notification unit 46. The platform management unit 43 performs platform management for the network OS 4. The external control management unit 45 processes control information input from the orchestrator 5. The status notification unit 46 notifies the orchestrator 5 of the status of the network OS 4. Although not shown in the figure, the network OS 4 may also include, in addition to the applications shown in the figure, an interface setting unit that sets up a VLAN (Virtual LAN) constructed in the communication system 1, a routing function unit, and the like.

[0018] In this embodiment, the CLI function unit 44 functions as an application setting device. The CLI function unit 44 sets applications in the network OS 4 via a CLI (Command Line Interface). When an application is developed and added to the network OS 4, command codes are generated via the CLI for each application or container in the network OS 4, and the settings are added to the management DB 42 of the network OS 4. In order to operate applications, each of which has a single function, in cooperation with each other through service chaining, it is necessary to create templates for multiple settings and input the settings into the management DB 42 all at once. That is, in this embodiment, the CLI function unit 44 generates command codes for setting multiple applications, creates templates for the command codes, and inputs the settings into the management DB 42 of the network OS 4 all at once.

[0019] FIG. 3 is a diagram illustrating how applications are configured by the CLI function unit 44. FIG. 3 illustrates an example in which two applications A and B are configured and input into the network OS 4 at the same time. As shown in FIG. 3, the CLI function unit 44 generates CLI commands for each of applications A and B, creates templates, and configures the applications at the same time in the management DB 42. The containers for applications A and B configure applications A and B by referencing the command codes configured in the management DB 42. Note that, although an example of configuring applications via CLI is described in this embodiment, application configuration can also be configured via a REST (Representational State Transfer) API or NETCONF (Network Configuration Protocol).

[0020] If there is an inconsistency in the settings of applications A and B entered into the management DB 42 from the CLI function unit 44, this may affect the cooperative operation by service chaining of applications A and B. Therefore, the CLI function unit 44 checks for inconsistencies before entering the command code templates of the applications into the management DB 42.

[0021] 4 is a diagram showing the configuration of the CLI function unit 44 as an application setting device according to this embodiment. As shown in FIG. 4, the CLI function unit 44 includes a setting input unit 441 (template creation unit), a validation function unit 442 (common validation check unit, common validation rule setting unit), a consistency check unit 443, and a storage unit 444 (setting information storage unit, common validation rule storage unit). The storage unit 444 stores data necessary for processing each functional component of the CLI function unit 44. In this embodiment, the storage unit 444 stores the following data, as an example: Setting information CFG for each application Validation rules VR for each application Common validation rules CVR for multiple applications

[0022] 5 to 8 are diagrams showing examples of data stored in the storage unit 444. FIG. 5 is a diagram showing an example of setting information CFG for each application. FIG. 6 is a diagram showing an example of validation rules VR for application A. FIG. 7 is a diagram showing an example of validation rules VR for application B. FIG. 8 is a diagram showing an example of common validation rules CVR. FIGS. 5 to 8 show applications A and B as examples of multiple applications. Application A can be, for example, one that performs interface settings for VLAN 1001 in the communication system 1. Application B can be, for example, one that performs routing settings for VLAN 1001.

[0023] As shown in Fig. 5, the setting information CFG for each application includes the name of the interface to be set, the setting contents, the setting order, the setting grace period, the priority, etc. For application A, VLAN 1001 is entered as the target interface name, and the setting contents include interface setting (No. 1) and IP address setting (No. 2). For application B, VLAN 1001 is entered as the target interface name, and the setting contents include routing setting (No. 3). Furthermore, the setting order indicates that application A should be set before application B, and that application B should be set after application A.

[0024] As shown in FIGS. 6 and 7 , the validation rule VR is a rule defined for each of applications A and B. The validation rule VR can define, for example, the target interface name, the rule content, and the priority. As shown in FIG. 6 , the validation rule VR for application A defines, as an example, prohibiting changes to the settings of application A's VLAN 1003 as the highest priority. As shown in FIG. 7 , the validation rule VR for application B defines, as an example, prohibiting changes to the settings of application B's VLAN 1004 as the highest priority. The validation rule VR is defined to solve problems that may arise when applications are operated on the network OS 4. The validation rule VR is set in advance by the administrator of the network OS 4. For example, if the service provider of application A does not currently have a contract for a line for VLAN 1003, it is undesirable to allow application A to change the settings of VLAN 1003. In such a case, the validation rule VR of the application A can be set to prohibit any changes to the settings of the VLAN 1003 .

[0025] As shown in FIG. 8 , the common validation rule CVR specifies, for example, the application name, the target interface name, the rule content, and the priority. The validation rule VR is a rule that is applied individually to each application. On the other hand, the common validation rule CVR is a rule that is applied commonly to multiple applications when multiple applications are configured at once. The common validation rule CVR is specified to avoid inconsistencies between application settings that may affect the cooperative operation of multiple applications. For example, if the configuration information CFGs of two applications contain conflicting settings for the same interface, the common validation rule CVR specifies a rule that prohibits setting changes for either application. For example, if application A provides a service to shut down VLAN 1002 and application B provides a service to unblock VLAN 1002, if these command codes are converted into templates and submitted simultaneously, conflicting operations will be requested simultaneously for the same VLAN 1002. 8, in order to avoid such a problem, a common validation rule CVR is defined that prohibits changes to the settings of the VLAN 1002 for application B, which has a lower priority than application A. In this embodiment, the validation function unit 442, which will be described later, sets the common validation rule CVR based on the setting information CFG for each application stored in the storage unit 444.

[0026] The setting input unit 441 references the setting information CFG for each application stored in the storage unit 444 and generates CLI command codes for inputting the settings of each application to the management DB 42. The setting input unit 441 also creates a template for batch input of command codes for multiple applications. The CLI command codes can be generated, for example, by using an existing automatic generation tool on a YANG data model that abstracts network setting items. The setting input unit 441 generates command codes for setting each application based on the setting order specified in the setting information CFG. In the example of FIG. 5 , application A is processed first, followed by application B. The setting input unit 441 further references the priority and setting grace period specified in the setting information CFG to process each application at the appropriate time. In the example of Figure 5, the setting input unit 441 can perform processing related to the interface setting (No. 1) and IP address setting (No. 2) of application A, and then after the setting grace period (30 minutes) has elapsed, perform processing related to the routing setting (No. 3) of application B.

[0027] The setting input unit 441 further checks whether there are any inconsistencies in the created command code template while exchanging data with other functional configurations of the CLI function unit 44. In this embodiment, the following checks are performed, as an example: Validation check Common validation check Consistency check The setting input unit 441 finally inputs the command code templates that pass these checks into the management DB 42 all at once.

[0028] The validation function unit 442 acquires command code templates for multiple applications created by the setting input unit 441 and performs a validation check on the command codes of each application. As a validation check, the validation function unit 442 checks whether any of the command codes for each application conflict with the validation rules VR. Furthermore, the validation function unit 442 of this embodiment sets common validation rules CVR for use when setting up multiple applications at once, based on the setting information CFG of each application, and stores the common validation rules CVR in the storage unit 444. The validation function unit 442 also performs a common validation check on the command code templates for multiple applications. As a common validation check, the validation function unit 442 checks whether any of the templates contain command codes that conflict with the common validation rules CVR.

[0029] The consistency check unit 443 performs a consistency check on the command code templates of multiple applications created by the setting input unit 441. As an example of a consistency check, the consistency check unit 443 checks for inconsistencies in the setting order of the command codes included in the templates and conflicts in the setting contents. Furthermore, if an inconsistency is found in the command code template, the consistency check unit 443 performs processing to resolve the inconsistency.

[0030] 9 is a flowchart showing the processing flow of the CLI function unit 44. The setting input unit 441 acquires setting information CFG for multiple applications A, B, ... N from the storage unit 444 (step S101). The setting input unit 441 generates command codes for configuring each application based on the setting information CFG for each application, and creates a template for batch setting input of the command codes for multiple applications (step S102: template creation process). Specifically, the setting input unit 441 sequentially generates command codes for each application according to the setting order, setting grace period, and priority described in the setting information CFG, and creates templates for the generated command codes. The setting input unit 441 outputs the created command code template to the validation function unit 442.

[0031] The validation function unit 442 performs a validation check on the command code template input from the setting input unit 441 (step S103: validation check process) and inputs the check result to the setting input unit 441. Specifically, the validation function unit 442 refers to the validation rules VR of applications A, B, ... N stored in the memory unit 444, and checks whether there are any command codes in the template that conflict with the validation rules VR. A command code that conflicts with the validation rules VR means a command code that includes content defined in the validation rules VR.

[0032] As a validation check, for example, a detection string for a command code can be defined in advance in a matching script. The matching script defines, for example, a string that extracts a command related to interface setting, such as "interface VLAN<integer value>." The validation function unit 442 uses the detection string described above to extract a command code related to interface setting from the command code input from the setting input unit 441. The validation function unit 442 checks whether any of the extracted command codes includes a target interface defined in the validation rule VR. For example, in the example of FIG. 6, the validation function unit 442 checks whether there is a command code related to interface setting of VLAN 1003 for application A. For example, in the example of FIG. 7, the validation function unit 442 checks whether there is a command code related to interface setting of VLAN 1004 for application B. When the validation function unit 442 detects a command code that violates the validation rules VR through a validation check, the validation function unit 442 includes information that identifies the detected command in the check result.

[0033] If the validation check detects a command code that violates the validation rules VR (step S104 → Yes), the setting input unit 441 outputs an error notification or the like to the administrator of the network OS 4. The administrator of the network OS 4 can manually reconfigure the application (step S112).

[0034] If the validation check does not detect any command code that violates the validation rule VR (step S104 → No), the validation function unit 442 sets a common validation rule CVR for multiple applications A, B...N (step S105: common validation rule CVR setting process).

[0035] The validation function unit 442, for example, references the setting information CFG of multiple applications A, B...N to extract conflicting setting contents between applications A, B...N. If there are conflicting setting contents between applications A, B...N, the validation function unit 442 specifies in the common validation rules CVR that setting changes are prohibited for applications with low priorities listed in the setting information CFG. The validation function unit 442 stores the set common validation rules CVR in the memory unit 444.

[0036] The validation function unit 442 further performs a common validation check on the command code templates of multiple applications A, B...N (step S106: common validation check process) and inputs the check results to the setting input unit 441. Specifically, the validation function unit 442 refers to the common validation rules CVR stored in the memory unit 444 and checks whether the templates contain command codes that conflict with the common validation rules CVR. A command code that conflicts with the common validation rules CVR means a command code that includes content specified in the common validation rules CVR.

[0037] As an example of a common validation check, the validation function unit 442 predefines, in a matching script, a detection string for a command code included in a template, similar to a validation check. The detection string is defined as, for example, "interface VLAN<integer value>" to extract a command related to interface setting. The validation function unit 442 uses the detection string to extract a command code related to interface setting from the template. The validation function unit 442 checks whether any of the extracted command codes includes a target interface defined in the common validation rule CVR. For example, in the example of FIG. 8 , the validation function unit 442 checks whether any of the command codes of application B includes a command code related to the interface setting of VLAN 1002. If the validation function unit 442 detects a command code that violates the common validation rule CVR through the common validation check, the validation function unit 442 includes information identifying the detected command code in the check result.

[0038] If the common validation check detects a command code that violates the common validation rules CVR (step S107 → Yes), the setting input unit 441 outputs an error notification or the like to the administrator of the network OS 4. The administrator of the network OS 4 can manually reconfigure the application (step S112).

[0039] If the common validation check does not detect any command codes that conflict with the common validation rules CVR (step S107 → No), the consistency check unit 443 performs a consistency check of the command code template (step S108: consistency check process) and inputs the check result to the setting input unit 441. As a consistency check, the consistency check unit 443 checks whether the order of the command codes of multiple applications A, B...N included in the template is consistent with the setting order defined in the setting information CFG (setting order check process). The consistency check unit 443 also checks whether there are any conflicts between the command codes of multiple applications A, B...N included in the template (conflict check process).

[0040] An example of a mismatch in the setting order will be explained below. In the example of Fig. 5, the setting order for applications A and B is described as follows: Application A should be set before application B. In this case, the template contains the following command codes: Command code for application A # interface vlan1001 # ip address 192.168.10.1 / 24 Command code for application B # interface vlan1001 # ip route 192.168.10.1 255.255.255.0 192.168.2.254

[0041] That is, the command code for application A sets the IP address of VLAN 1001, and the command code for application B sets the routing of VLAN 1001. In this case, if the order of the command codes in the template is application A first and application B second, it is consistent with the setting order. On the other hand, if the order of the command codes in the template is application B first and application A second, it is inconsistent with the setting order. If the template is set in the management DB 42 in an inconsistent state, it may affect the linked operation of applications A and B.

[0042] An example of a conflict in settings is explained below. For example, suppose the template contains the following command codes for FastEthernet 0. - Command code for application A # interface FastEthernet 0 # shutdown - Command code for application B # interface FastEthernet 0 # no shutdown

[0043] That is, the command code of application A blocks FastEthernet 0, and the command code of application B unblocks FastEthernet 0. Because these command codes have contradictory contents, if they are set simultaneously in the management DB 42, there is a possibility that they will affect the normal operation of applications A and B. In such a case, the consistency check unit 443 determines that there is a conflict in the command codes included in the template. If the consistency check unit 443 determines that there is a command code that is determined to be inconsistent (a mismatch in the setting order or a conflict in the setting contents), it includes information identifying the determined command code in the check result.

[0044] If there are command codes determined to be inconsistent in the consistency check (step S109 → Yes), the consistency check unit 443 further performs processing to resolve the inconsistency (step S110). For example, if there is an inconsistency in the order of command codes in the template during the setting order check process, the consistency check unit 443 corrects the order in accordance with the setting order specified in the setting information CFG. For example, if there is a conflict in the command codes in the template during the conflict check process, the consistency check unit 443 prohibits setting changes for command codes of low-priority applications according to the priority specified in the setting information CFG. This resolves the conflict. Note that if there are no command codes determined to be inconsistent during the consistency check (setting order check process, conflict check process) (step S109 → No), processing to resolve the inconsistency is not performed, and the process proceeds to step S111.

[0045] In step S111, the setting input unit 441 inputs command code templates for multiple applications A, B...N that have passed all checks into the management DB 42 (setting input process). This causes the settings of applications A, B...N to be input collectively into the management DB 42. The flowchart in FIG. 9 explains the process performed when the storage unit 444 stores setting information CFG for multiple applications A, B...N. When only one application (e.g., application A) is stored in the storage unit 444, the setting input unit 441 generates a CLI command code for application A. The validation function unit 442 performs only a validation check based on the validation rules VR for application A. The setting input unit 441 inputs the command code for application A that has passed the validation check into the management DB 42.

[0046] Fig. 10 is a sequence diagram showing the flow of processing by the CLI function unit 44. The processing shown in Fig. 10 is similar to the processing shown in the flowchart of Fig. 9, but Fig. 10 focuses on the interactions between the functional components of the CLI function unit 44.

[0047] The setting input unit 441 outputs a request to acquire setting information CFG for each application to the storage unit 444 (step S1). In response to the acquisition request, the storage unit 444 inputs setting information CFG for multiple applications A, B, ... N to the setting input unit 441 (step S2). The setting input unit 441 generates CLI command codes for the multiple applications A, B, ... N and creates a template (step S3). The setting input unit 441 outputs the template along with a validation check request to the validation function unit 442 (step S4). The validation function unit 442 performs a validation check in response to the request from the setting input unit 441 (step S5) and inputs the check result to the setting input unit 441 as a response (step S6). Although not shown in FIG. 10 , if the check result of step S6 includes information identifying a command code that violates the validation rule VR, the setting input unit 441 outputs an error notification and the network administrator resets the settings.

[0048] The setting input unit 441 outputs a setting request for the common validation rules CVR to the validation function unit 442 (step S7). The validation function unit 442 sets the common validation rules CVR in response to the request from the setting input unit 441 (step S8) and inputs a completion notification as a response to the setting input unit 441 (step S9). The setting input unit 441 outputs a common validation check request to the validation function unit 442 (step S10). The validation function unit 442 performs a common validation check in response to the request from the setting input unit 441 (step S11) and inputs the check result as a response to the setting input unit 441 (step S12). Although not shown in FIG. 10, if the check result includes information identifying a command code that violates the common validation rules CVR, the setting input unit 441 outputs an error notification and has the network administrator reset the settings.

[0049] The setting input unit 441 outputs a consistency check request to the consistency check unit 443 (step S13). The consistency check unit 443 performs a consistency check in response to the request from the setting input unit 441 (step S14) and inputs the check result to the setting input unit 441 as a response (step S15). If the consistency check result includes information identifying a command code determined to be inconsistent, the setting input unit 441 outputs a request to resolve the inconsistency of the command code to the consistency check unit 443 (step S16). The consistency check unit 443 performs processing to resolve the inconsistency in response to the request from the setting input unit 441 (step S17) and inputs the processing result to the setting input unit 441 as a response (step S18). Note that if the consistency check result does not include information identifying a command code determined to be inconsistent, steps S16 to S18 can be omitted. The setting input unit 441 inputs the command code templates of the multiple applications A, B...N that have all passed the checks into the management DB 42 all at once (step S19). The management DB 42 sets the multiple applications A, B...N (step S20) and inputs a completion notice as a response to the setting input unit 441 (step S21). When the completion notice is input, the CLI function unit 44 ends the processing.

[0050] <Hardware Configuration> The application setting device (CLI function unit 44) of this embodiment can be configured as a virtual machine or a container in the network device 2. The virtual machine or container operating as the application setting device is realized, for example, by a computer 900 (information processing device) as shown in FIG. 11 . FIG. 11 is a hardware configuration diagram showing an example of the computer 900 that realizes the functions of the application setting device. As shown in FIG. 11 , the computer 900 includes a CPU (Central Processing Unit) 901, a ROM (Read Only Memory) 902, a RAM 903, an HDD (Hard Disk Drive) 904, an input / output I / F (Interface) 905, a communication I / F 906, and a media I / F 907.

[0051] The CPU 901 operates based on a program (application setting program) stored in the ROM 902 or the HDD 904, and controls the CLI function unit 44 (application setting device) shown in Fig. 4. The ROM 902 stores a boot program executed by the CPU 901 when the computer 900 is started, programs related to the hardware of the computer 900, and the like.

[0052] The CPU 901 controls an input device 910 such as a mouse, keyboard, or touch panel, and an output device 911 such as a display, via an input / output I / F 905. The CPU 901 acquires data from the input device 910 via the input / output I / F 905, and outputs generated data to the output device 911. Note that a GPU (Graphics Processing Unit) or the like may be used as a processor together with the CPU 901.

[0053] The HDD 904 stores programs executed by the CPU 901 and data used by the programs. The communication I / F 906 receives data from other devices via a communication network (e.g., NW (Network) 920) and outputs the data to the CPU 901, and also transmits data generated by the CPU 901 to other devices via the communication network.

[0054] The media I / F 907 reads a program or data stored in the recording medium 912 and outputs it to the CPU 901 via the RAM 903. The CPU 901 loads a program related to a target process from the recording medium 912 onto the RAM 903 via the media I / F 907, and executes the loaded program. The recording medium 912 is an optical recording medium such as a DVD (Digital Versatile Disc) or a PD (Phase Change Rewritable Disc), a magneto-optical recording medium such as an MO (Magneto Optical Disc), a magnetic recording medium, a conductive memory tape medium, a semiconductor memory, or the like.

[0055] For example, when the computer 900 functions as the application setting device according to this embodiment, the CPU 901 of the computer 900 executes a program loaded onto the RAM 903 to realize the function of the application setting device. Furthermore, the HDD 904 stores data in the RAM 903. The CPU 901 reads and executes a program related to a target process from the recording medium 912. Alternatively, the CPU 901 may read a program related to a target process from another device via a communication network (NW 920).

[0056] <Configuration of the above embodiment and its effects> (1) In the present embodiment, the CLI function unit 44 functioning as an application setting device collectively sets multiple applications executed in a container or a virtual machine for the network OS 4 (operating system) of the network device 2. The CLI function unit 44 has a storage unit 444 (setting information storage unit, common validation rule storage unit), a setting input unit 441 (template creation unit), and a validation function unit 442 (common validation check unit).

[0057] The storage unit 444 stores the configuration information CFG of multiple applications. The configuration input unit 441 creates a command code template for configuring multiple applications at once based on the configuration information CFG. As an example, the configuration input unit 441 creates a CLI command code template. The storage unit 444 stores a common validation rule CVR applied when configuring multiple applications at once. The common validation rule CVR is a rule for avoiding inconsistencies between application settings, which may affect the cooperative operation of multiple applications on the network OS 4. For example, if the configuration information CFG of two applications contains conflicting settings for the same interface, the common validation rule CVR specifies a rule prohibiting setting changes for either application. The validation function unit 442 checks whether the template contains command codes that include content specified in the common validation rule CVR. That is, the validation function unit 442 checks whether the template contains command codes that violate the common validation rule CVR.

[0058] According to this embodiment, it is possible to check for inconsistencies in the settings between multiple applications before configuring and introducing the applications into the network OS 4. A white-box switch, for example, can be used as the network device 2 constituting the communication system 1. A white-box switch is a combination of hardware 3 and a general-purpose network OS 4. A user can freely combine and configure any applications into the network OS 4, providing a high degree of freedom. When configuring multiple applications that operate in cooperation with each other through service chaining into the network OS 4, these settings must be created as templates and introduced all at once. However, inconsistencies in the settings between multiple applications may affect the operation of these applications.

[0059] The CLI function unit 44, which is an application setting device according to this embodiment, stores common validation rules CVR in the storage unit 444. The validation function unit 442 performs a common validation check on the template to check whether there are any command codes that conflict with the common validation rules CVR. This allows multiple applications to be set in the network OS 4 at once while eliminating inconsistencies between the settings of the multiple applications, thereby improving the reliability of the communication system 1 and enhancing user convenience.

[0060] (2) The storage unit 444 stores the setting order of the multiple applications as the setting information CFG of the multiple applications. The CLI function unit 44 includes a consistency check unit 443 that determines whether the order of the command codes of the multiple applications included in the template is consistent with the setting order defined in the setting information CFG.

[0061] If the command code order of the template is set in the management DB 42 in a state where it does not match the setting order, this may affect the cooperative operation of multiple applications. In this embodiment, the consistency check unit 443 checks the consistency of the setting order, so that multiple applications can be set in the network OS 4 at once with the inconsistency in the setting order resolved.

[0062] (3) The consistency check unit 443 checks for conflicts between command codes of multiple applications included in the template.

[0063] For example, if there are conflicting settings for the same interface among command codes of multiple applications, setting these command codes simultaneously in management DB 42 may affect the normal operation of applications A and B. In this embodiment, the consistency check unit 443 checks for conflicts among the command codes of multiple applications included in a template, thereby making it possible to prevent conflicting settings from being set simultaneously in management DB 42.

[0064] (4) In this embodiment, the CLI function unit 44, which is an application setting device, is provided in the network OS 4 of the network device 2. The CLI function unit 44 can be configured as, for example, a container of the network OS 4 or an application that runs on a virtual machine.

[0065] As described above, a white-box switch can freely combine hardware 3 such as multiple ASICs, optical transmission chips, programmable chips, etc. with a general-purpose network OS 4. By providing the network OS 4 with an application setting device, it is possible to set flexible and detailed common validation rules CVR according to the specifications of each white-box switch and to perform common validation checks.

[0066] (5) The storage unit 444 stores the priority of each application as the setting information CFG of the multiple applications. The CLI function unit 44 includes a validation function unit 442 (common validation rule setting unit). When there are conflicting settings between multiple applications, the validation function unit 442 sets common validation rules CVR that regulate the operation of one of the applications according to the priority.

[0067] This allows the validation function unit 442 to set flexible and detailed common validation rules CVR according to the specifications of each white-box switch. This eliminates the need for the administrator of the network OS 4 to manually set the common validation rules CVR, making it more convenient for users.

[0068] The above-described effects can also be applied to the application setting method implemented by the CLI function unit 44, which is an application setting device, and to the application setting program for causing the computer 900 (see FIG. 11) to function as an application setting device.

[0069] <Modification 1> FIG. 12 is a diagram illustrating a configuration example of an orchestrator 5 including an application setting device according to Modification 1. As illustrated in FIG. 12 , in Modification 1, the orchestrator 5 that comprehensively manages multiple network devices 2 includes an application setting unit 53 as an application running on a container or a virtual machine. The application setting unit 53 functions as an application setting device in Modification 1. Similar to the CLI function unit 44 of the above-described embodiment, the application setting unit 53 in Modification 1 creates command code templates for setting multiple applications and outputs them to the network OS 4 of each network device 2. Each network OS 4 sets and inputs the input templates into the management DB 42. That is, in Modification 1, the orchestrator 5 including the application setting unit 53 can comprehensively set applications for multiple network devices 2.

[0070] 12 , the orchestrator 5 includes a control management unit 51 and a state management unit 52, as in the embodiment. In the first modification, the control information input from the control management unit 51 to the external control management unit 45 of the network device 2 includes command code templates for multiple applications created by the application setting unit 53. The external control management unit 45 of the network OS 4 sets the input templates in the management DB 42, thereby setting and inputting multiple applications in a batch.

[0071] The application setting unit 53 has the same functional configuration as the CLI function unit 44 of the embodiment. The application setting unit 53 has a setting input unit 531 (template creation unit), a validation function unit 532 (common validation check unit), a consistency check unit 533, and a storage unit 534 (setting information storage unit, common validation rule storage unit). Note that detailed description of the processing contents of each functional configuration of the application setting unit 53 that are the same as those of the embodiment will be omitted.

[0072] The storage unit 534 stores the following data as an example of data necessary for processing each functional configuration of the application setting device. The content of each data is the same as in the embodiment. - Configuration information CFG for each application - Validation rules VR for each application - Common validation rules CVR for multiple applications Note that in the embodiment, an example has been described in which the validation function unit 442 configures the common validation rules CVR based on the configuration information CFG for multiple applications. In Modification 1, it is assumed that the orchestrator 5 configures applications comprehensively for multiple network devices 2. Therefore, in Modification 1, the configuration of the common validation rules by the validation function unit 532 can be omitted, and a pre-configured common validation rule CVR can be stored in the storage unit 534.

[0073] The setting input unit 531 references the setting information CFG for each application stored in the memory unit 534 and generates command codes for the CLI used to input the settings of each application into the management DB 42 of the network OS 4. The setting input unit 531 also creates a template for inputting the settings of command codes for multiple applications at once. The setting input unit 531 also performs the following checks on the created command code template while exchanging data with other functional configurations of the application setting device: Validation check Common validation check Consistency check The setting input unit 531 outputs command code templates that pass these checks to the network OS 4 via the control management unit 51.

[0074] The validation function unit 532 acquires command code templates for multiple applications created by the setting input unit 531 and performs a validation check on the command code of each application. The validation function unit 532 further performs a common validation check on the command code templates for multiple applications. As described above, if a preset common validation rule CVR is stored in the storage unit 534, the validation function unit 532 does not set the common validation rule CVR.

[0075] The consistency check unit 533 performs a consistency check on the command code templates of multiple applications created by the setting input unit 531. As an example of a consistency check, the consistency check unit 533 checks for inconsistencies in the setting order of the command codes included in the template and conflicts in the setting contents. Furthermore, if an inconsistency is found in the template, the consistency check unit 533 performs processing to resolve the inconsistency.

[0076] 13 is a flowchart showing the processing flow of the application setting unit 53. The setting input unit 531 acquires setting information CFG for multiple applications A, B, ... N from the storage unit 534 (step S201). The setting input unit 531 generates command codes for setting each application based on the setting information CFG for each application, and creates a template for batch setting input of the command codes for multiple applications (step S202: template creation process). The setting input unit 531 outputs the created command code template to the validation function unit 532.

[0077] The validation function unit 532 performs a validation check on the command code template input from the setting input unit 531 (step S203: validation check process) and inputs the check result to the setting input unit 531. If the validation check detects a command code that violates the validation rule VR (step S204 → Yes), the setting input unit 531 outputs an error notification or the like to the administrator of the communication system 1. The administrator of the communication system 1 can manually reconfigure the application (step S211).

[0078] If the validation check does not detect any command code that violates the validation rules VR (step S204 → No), the validation function unit 532 performs a common validation check on the command code templates of multiple applications A, B, ... N (step S205: common validation check process).The validation function unit 532 inputs the check result to the setting input unit 531.

[0079] If a command code that violates the common validation rules CVR is detected in the common validation check (step S206 → Yes), the setting input unit 531 outputs an error notification or the like to the administrator of the communication system 1. The administrator of the communication system 1 can manually reconfigure the application (step S211).

[0080] If the common validation check does not detect any command codes that conflict with the common validation rules CVR (step S206 → No), the consistency check unit 533 performs a consistency check of the command code template (step S207: consistency check process) and inputs the check result to the setting input unit 531. If the consistency check determines that there are command codes that are inconsistent (step S208 → Yes), the consistency check unit 533 further performs a process to resolve the inconsistency (step S209). If there are no command codes that are determined to be inconsistent in the consistency check (setting order check process, conflict check process) (step S208 → No), the process to resolve the inconsistency is not performed, and the process proceeds to step S210.

[0081] In step S210, the setting input unit 531 inputs the command code templates of the multiple applications A, B...N that have passed all checks to the external control management unit 45 of each network OS 4 via the control management unit 51 (setting input process). The external control management unit 45 of the network OS 4 sets the settings of the input applications A, B...N in the management DB 42 all at once.

[0082] 14 is a sequence chart showing the processing flow of the application setting unit 53. The setting input unit 531 outputs a request to acquire setting information CFG for each application to the storage unit 534 (step S51). The storage unit 534 inputs setting information CFG for multiple applications A, B, ..., N to the setting input unit 531 in response to the acquisition request (step S52). The setting input unit 531 generates CLI command codes for the multiple applications A, B, ..., N and creates templates (step S53). The setting input unit 531 outputs the templates together with a validation check request to the validation function unit 532 (step S54). The validation function unit 532 performs a validation check in response to the request from the setting input unit 531 (step S55) and inputs the check result to the setting input unit 531 as a response (step S56).

[0083] The setting input unit 531 outputs a common validation check request to the validation function unit 532 (step S57). The validation function unit 532 performs a common validation check in response to the request from the setting input unit 531 (step S58), and inputs the check result as a response to the setting input unit 531 (step S59).

[0084] The setting input unit 531 outputs a consistency check request to the consistency check unit 533 (step S60). The consistency check unit 533 performs a consistency check in response to the request from the setting input unit 531 (step S61) and inputs the check result to the setting input unit 531 as a response (step S62). If the consistency check result includes information identifying a command code determined to be inconsistent, the setting input unit 531 outputs a request to resolve the inconsistency in the command code to the consistency check unit 533 (step S63). In response to the request from the setting input unit 531, the consistency check unit 533 performs processing to resolve the inconsistency (step S64) and inputs the processing result to the setting input unit 531 as a response (step S65). Note that if the consistency check result does not include information identifying a command code determined to be inconsistent, steps S63 to S65 can be omitted.

[0085] The setting input unit 531 inputs the command code templates of the multiple applications A, B, ... N that have all passed the checks into the management DB 42 of the external control management unit 45 of the network OS 4 in a batch via the control management unit 51 (step S66). The external control management unit 45 sets the templates in the management DB 42 (step S67). The management DB 42 inputs a completion notice to the setting input unit 531 via the external control management unit 45 and the control management unit 51 (step S68). When the completion notice is input, the setting input unit 531 ends the processing.

[0086] As in the above-described embodiment, the virtual machine or container that operates as the application setting device (application setting unit 53) described in Modification 1 is realized by, for example, a computer 900 (information processing device) as shown in FIG. 11 .

[0087] <Configuration of Modification 1 and Its Effects> (1) In Modification 1, the application setting unit 53 functioning as an application setting device is provided in the orchestrator 5 that manages the network OS 4 (operating system) of a plurality of network devices 2 .

[0088] In the first modification, similar to the above-described embodiment, it is possible to check for inconsistencies in the settings between multiple applications before configuring and introducing the multiple applications into the network OS 4. This increases the reliability of the communication system 1 and improves user convenience. Furthermore, in the first modification, the orchestrator 5 that comprehensively manages the multiple network devices 2 is provided with an application setting unit 53, so that it is possible to comprehensively configure applications for the multiple network devices 2. This reduces the processing load for configuring applications in each network device 2.

[0089] Although the first modification shows an example in which the validation function unit 532 does not set the common validation rules CVR, the present invention is not necessarily limited to this example, and the validation function unit 532 of the application setting unit 53 may set the common validation rules CVR. Furthermore, the above-described effects can also be applied to the application setting method performed by the application setting unit 53 functioning as an application setting device, and to the application setting program for causing the computer 900 (see FIG. 11) to function as an application setting device.

[0090] The present invention is not limited to the above-described embodiments, and many modifications can be made by a person having ordinary skill in the art within the technical concept of the present invention.

[0091] REFERENCE SIGNS LIST 1 Communication system 2 Network device 4 Network OS 42 Management DB 44 CLI function unit (application setting device) 441 Setting input unit (template creation unit) 442 Validation function unit (common validation check unit, common validation rule setting unit) 443 Consistency check unit 444 Memory unit (setting information memory unit, common validation rule memory unit) 5 Orchestrator 531 Setting input unit (template creation unit) 532 Validation function unit (common validation check unit) 533 Consistency check unit 534 Memory unit (setting information memory unit, common validation rule memory unit) CFG Setting information VR Validation rule CVR Common validation rule

Claims

1. An application setting device that collectively configures multiple applications executed in a container or virtual machine for an operating system of a network device, comprising: a setting information memory unit that stores setting information for the multiple applications; a template creation unit that creates a template of a command code for collectively configuring the multiple applications based on the setting information; a common validation rule memory unit that stores a common validation rule that is applied when collectively configuring the multiple applications; and a common validation check unit that checks whether the template contains a command code that includes content specified in the common validation rule.

2. The application setting device of claim 1, characterized in that the setting information storage unit stores a setting order of the multiple applications as setting information for the multiple applications, and the application setting device is further provided with a consistency check unit that determines whether the order of command codes of the multiple applications included in the template is consistent with the setting order.

3. The application setting device according to claim 2, wherein the consistency check section checks for conflicts in command codes of the plurality of applications included in the template.

4. The application setting device according to any one of claims 1 to 3, characterized in that the application setting device is provided in an operating system of the network device.

5. The application setting device of claim 4, characterized in that the setting information storage unit stores a priority of each application as setting information for the multiple applications, and is provided with a common validation rule setting unit that sets a common validation rule that regulates the operation of any one of the applications in accordance with the priority when there are conflicting settings between the multiple applications.

6. The application setting device according to any one of claims 1 to 3, characterized in that it is provided in an orchestrator that manages the operating systems of a plurality of network devices.

7. An application setting method of an application setting device for collectively setting a plurality of applications executed in a container or virtual machine for an operating system of a network device, the application setting device having a setting information storage unit for storing setting information of the plurality of applications, and a common validation rule storage unit for storing common validation rules applied when collectively setting the plurality of applications, and the application setting method is characterized in that it performs a template creation process for creating a template of a command code for collectively setting the plurality of applications based on the setting information, and a common validation check process for checking whether the template contains a command code including content specified in the common validation rule.

8. An application setting program for causing a computer to function as the application setting device according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Extracting program, extracting device, and extracting method

    JP2017162414A

  • Catalog verification, catalog verification method and program

    JP2020134957A

  • Methods and apparatus for template driven infrastructure in virtualized server systems

    US20190327144A1