</rpc-reply> VII. <lock> This operation is used to lock the configuration source. The lock will not be granted if a lock is already held by another session on the source or the previous modification has not been committed. <!-- Example Request <rpc message-id="226" xmlns="http://ietf.org/ xmlconf/1./base"> <lock> <target> <running/> </target> </ lock> </rpc> <!-- Example Response <rpc-reply - message-id ="226" xmlns="http://ietf.org/ netconf/1./base"> <ok/> </rpc-reply> VIII. <commit> This operation is used to publish a completed configuration on the network element. Application Layer <!-- Example Request <rpc message-id="228" xmlns="http://ietf.org/ xmlconf/1.0/base"> <commit> <confirmed/> <confirm-timeout>15</confirmed-timeout> </commit> </rpc> <!-- Example Response --> <rpc-reply - message-id ="228" xmlns="http://ietf.org/ netconf/1./base"> <ok/> </rpc-reply> IX. <unlock> This operation is used to release an existing configuration lock applied using <lock> operation. <!-- Example Request <rpc message-id="232" xmlns="http://ietf.org/ xmlconf/1./base"> <unlock> <target> <running/> </target> </unlock> </rpc> <!-- Example Response --> <rpc-reply message-id ="232" xmlns="http://ietf.org/ netconf/1./base"> <ok/> </rpc-reply> X. <discard-changes> This operation will revert the configuration to the last committed configuration. <!-- Example Request - --> <rpc message-id ="234" xmlns="http://ietf.org/ netconf/1.0/base"> <discard-changes/> </rpc : > Fundamentals of EMS, NMS and OSS/BSS <!-- - Example Response <rpc-reply message-id ="234" xmlns="http://ietf.org/ netconf/1./base"> <ok/> </rpc-reply> 32.5 MIB Event to XML a. Write the program (mibtrap2xml.c) to convert a MIB file to XML using lib- smi library. In this example C programming language has been used. Step 1: First include the required header files. #include <stdio.h> #include <smi.h> #include <unistd.h> Step 2: In the main() function: Define the SMI MIB access objects Initialize SMI Identify number of modules Call the function to create XML with file details /