# Customer-Oriented Quality of Service Management Method for the Future Intent-Based Networking
## 3 A Description of the Proposed Customer-Oriented Quality of Service Management Method for IBN
### Development of a Simulation Model of Intent-Based Networking
#### 3.1.1 General Stages of Network Simulation
Each time when creating a new session, a new object of the given session with the corresponding parameters is created. When using a session, these parameters are simply read and not generated every time. The list of classes representing services is shown in \[M=n_{\text{hops}}\cdot\rho_{\text{port}} \tag{1}\]2  
\[M=n_{\text{hops}}\cdot\rho_{\text{port}} \tag{1}\]3 The UML diagram for types of services in the network. Here is a general interface for the service. This interface is implemented in the abstract class _Service_. This class adds general methods for obtaining service data. Each type of service is a separate class. These classes extend the abstract _Service_ class and add their values to the parameters according to the table that was submitted earlier. Now, for such an architecture, we can simplify the process of working with the generated service. In this case, when all services implement the same interface, they can be served the same way. That is, they have the same methods as described in the interface. This allows us to serve all services in the same way, and it does not matter what type it is. Simply, when working, parameter values will be automatically replaced by those that we need. The distribution of the likelihood of using the services on the network was previously provided in the relevant table. * Realization of switches  
Next, let us look at the operation of switches and classes dependent on them. The _Switch_ class is shown in \[M=n_{\text{hops}}\cdot\rho_{\text{port}} \tag{1}\]4  
Like the customer, it extends the _NetworkPoint_ abstract class and has similar methods for setting and receiving the IP address, MAC address, and hostname. Additionally, for this class, the redefined _toString()_ method (the Object class, which is the parent for all classes in the given programming language), works the same way. This method similarly returns a string with the hostname and MAC address. In addition, in the switch class, methods for customer processing are created. Additionally, a separate map symbolizing the ARP table is introduced here. The purpose of this table is to store the MAC addresses and the corresponding ports and interfaces to which they can be accessed. This allows us to serve local sessions. Introduced also is an additional method for handling what is received from the network packets. All packets from the network are collected in one collection, while processing this collection is sorted  
\[M=n_{\text{hops}}\cdot\rho_{\text{port}} \tag{1}\]5 The UML diagram for switch class. according to the active method (traditional or suggested) and processed in the established order. When switching packets, it is first checked whether the destination is the given local network; if so, it is sent to the corresponding port of the switch from the ARP table. If the final address is some other remote network, the packet is sent to the router for further processing. The _sendPackets()_ method is intended for the direct processed packets' sending. There are also available methods for gathering information about active sessions served by switches. This method is called by the router for further information gathering. The _GetCustomers()_ and _DeleteCustomer(Customer customer)_ methods are designed to obtain the general list of active customers and to remove the selected customer from the network. Each class of the switch contains interfaces to the router and to the customers. All active customers are stored locally in the collection. Therefore, the processing of customers is a regular overview of this collection. All switches are serviced by routers. * Realization of routers  
The class of the router and related classes are shown in \[M=n_{\text{hops}}\cdot\rho_{\text{port}} \tag{1}\]6  
The router, like the previous items considered, extends the base standard abstract class. Therefore, it contains a similar basic functionality, such as receiving and assigning IP addresses, MAC addresses, and host names. Additionally, there is a method that returns string with the hostname and its MAC address.