...
2. RAN-Sim: Netconf-server(s) (agents) - Extended Honeycomb
This has the following steps:
A. Cloning and building Honeycomb (base) repository
B. Cloning and building enodebsim repository
A. HoneyComb Repository
Clone using following URL:
...
git checkout e9d3785d0603bf6e024affafc735641ee312b675
Note: Other versions has installation issues related to dependencies download.
Then do,
mvn clean install
B. enodebsim Repository
This repository has the code we developed.
1. Clone and checkout the latest:
...
cd honeycombsim/
2. Copy the enodebsim folder to honeycomb folder mentioned in the previous step.
cp –r enodebsim/ <Your_Folder>/honeycomb/
3. Copy & paste below entry in honeycomb/pom.xml, under <modules>
<module>enodebsim</module> And then,
4. Do the foll. next:
cd <Your_Folder>/honeycomb/
mvn clean install
Build should be successful for the following artifacts
...
enodebsim-aggregator
5. Copy the below folder to a new location:
<Your_Folder>/honeycomb/enodebsim/enodebsim-distribution/target/enodebsim-distribution-1.18.10-hc/enodebsim-distribution-1.18.10
And rename 6. Rename it to hc_50001(any appropriate name)
cp –R <Your_Folder>/honeycomb/enodebsim/enodebsim-distribution/target/enodebsim-distribution-1.18.10-hc/enodebsim-distribution-1.18.10 <NewLocation>/hc_50001/
git clone and checking out hc_50000,
Example repository after executing steps (A) and (B):
1. Single Single instance of HoneyComb Simulator(configured with port 50000) created for our reference and committed in the below repository path.
...
cd Netconf-Agents/hc_50000
it it has few configuration files intended to be modified with current environment configuration settings (details given below).
2. Copy below folders from hc_50000, to this new simulator instance(50001):
...
cp <Your_Folder>/hc_50000/ransom.properties <Your_Folder>/hc_50001/
3. Modify below property file,
<Your_Folder>/hc_50001/ransim.properties,
based based on the environment setup and port could be 50001 in this case(Run any number of simulators with different ports).
...
Port number in which ran-sim controller is started. eg.,8081
4. Similarly, edit the port number(netconf-ssh-binding-port) in the following configuration file to be in sync with ransim properties file.
<Your <Your_Folder>/hc_50001/config/ netconf.json
Start HoneyComb Simulator:
cd <Your_Folder>/hc_50001/
...
This line of log will print the configuration topology of RAN network pulled from Ransim Controller.
Connecting to device from console:
...
Netconf commands validation:
get:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="102">
...
</edit-config>
</rpc>
]]>]]>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
...
Edit or delete operation on different cells in the topology of the agent will notify the Ransim Controller which will update GUI & DB to be in Sync.
Additional information:
To run each instance of HoneyComb it requires 353 ~353 MB of memory. Still we are working on optimizing the simulator configuration to run only required processes for ONAP setup.
...