Merge "Automation scripts"
authorHarshita Lal <harshita.lal@radisys.com>
Mon, 7 Jun 2021 12:20:28 +0000 (12:20 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Mon, 7 Jun 2021 12:20:28 +0000 (12:20 +0000)
1  2 
docs/README
docs/installation-guide.rst

diff --combined docs/README
@@@ -47,8 -47,8 +47,8 @@@ C. Pre-requisite for O1 Interface (Requ
          cat /home/netconf/.ssh/id_dsa.pub > /home/netconf/.ssh/authorized_keys
        Install netconf packages. 
        $cd l2/build/scripts
-       $chmod +x install_lib.sh
-       $ ./install_lib.sh -c
+       $chmod +x install_lib_O1.sh
+       $ ./install_lib_O1.sh -c
  
  2. Start Netopeer2-server:
     $cd l2/build/scripts
@@@ -58,7 -58,6 +58,7 @@@
     $cd l2/build/yang
     $sysrepoctl -i o-ran-sc-odu-alarm-v1.yang
     $sysrepoctl -i o-ran-sc-odu-interface-v1.yang
 +   $sysrepoctl -i o-ran-sc-du-hello-world.yang
  
  4. Configure the startup IP and Port configurations for DU, CU and RIC
  
  
     $cd l2/build/config
  
 -   Open the netconfConfig.xml and edit the desired MAC address, IP, Port, Username and Password for VES PNF Registration.
 +   Open the netconfConfig.json and edit the desired MAC address, IP, Port, Username and Password for VES PNF Registration.
  
  6. Configure the VES server details to send VES Events
  
     $cd l2/build/config
  
 -   Open the vesConfig.xml and edit the desired IP, Port, Username and Password to send VES Event.
 +   Open the vesConfig.json and edit the desired IP, Port, Username and Password to send VES Event.
 +
 +7. Configure the nacm module to provide access to new user
 +
 +   $cd l2/build/config
 +
 +   Open the nacm_config.xml and edit the desired user-name to provide the access to that user.
 +
 +   $sysrepocfg --import=nacm_config.xml --datastore running --module  ietf-netconf-acm
 +
  
  
  D. How to Clean and Build:
@@@ -123,7 -123,7 +123,7 @@@ Setting up Netconf serve
     - Ubuntu :  
     
         | cd <O-DU High Directory>/l2/build/scripts
-        | sudo ./install_lib.sh -c
+        | sudo ./install_lib_O1.sh -c
  
  - Start Netopeer2-server:
         
  
  - Install the YANG modules
  
 -   - Ubuntu : 
 -    
 +   - Ubuntu :
 +
        | cd <O-DU High Directory>/l2/build/yang
        | sysrepoctl -i ./yang/o-ran-sc-odu-alarm-v1.yang
        | sysrepoctl -i ./yang/o-ran-sc-odu-interface-v1.yang
 +      | sysrepoctl -i ./yang/o-ran-sc-du-hello-world.yang
  
  - Configure the startup IP and Port configurations for DU, CU and RIC
  
 -   - Ubuntu : 
 -    
 +   - Ubuntu :
 +
        | cd <O-DU High Directory>/l2/build/config
        |
        | Open the startup_config.xml and edit the desired IP and Port for CU, DU and RIC.
        | Then load the configuration in the sysrepo running datastore using the command below
        |
 -      | sysrepocfg --import=startup_config.xml --datastore running --module  o-ran-sc-odu-interface-v1 
 +      | sysrepocfg --import=startup_config.xml --datastore running --module  o-ran-sc-odu-interface-v1
 +
 +- Configure the netconf server details for VES PNF Event
 +
 +   - Ubuntu :
 +
 +      | cd <O-DU High Directory>/l2/build/config
 +      |
 +      | Open the netconfConfig.json and edit the desired MAC address, IP, Port, Username and Password for VES PNF Registration.
 +
 +-  Configure the VES server details to send VES Events
 +
 +   - Ubuntu :
 +
 +      | cd <O-DU High Directory>/l2/build/config
 +      |
 +      |  Open the vesConfig.json and edit the desired IP, Port, Username and Password to send VES Event.
 +
 +- Configure the nacm module to provide access to new user
 +
 +   - Ubuntu :
 +
 +      | cd <O-DU High Directory>/l2/build/config
 +      |
 +      | Open the nacm_config.xml and edit the desired user-name to provide the access to that user.
 +      |
 +      | $sysrepocfg --import=nacm_config.xml --datastore running --module  ietf-netconf-acm
 +
  
  Compilation
  ------------