CNAI is a file interface to the CNA application, accessed from the command line. 2. What does CNAI do?
CNAI imports and exports cell data to and from CNA. 3. How do you you export using CNAI? CNAI?
By entering a CNAI export command on the command line. The command syntax for exporting using CNAI is given below: cnai export valid [options] [where = ]
The entries enclosed by square brackets are optional. Examples of export commands are given below. This is as comprehensive as possible and should give you an idea of what to use in different situations. cnai export valid –i
Example 1
Export all MOs in all domains along with all parameters
Example 9 Export parameters P1 and P2 for MOs in domains MSC and BSC and parameters P3 and P4 for MOs in domains SITE and TG cnai export valid –i bsc ALPHA,CAP where PLMNNAME=”NISSE”,DTXFUL=5
Example 10 DTXFUL=5
Expor t parameters ALPHA and CAP where PLMNNAME=”NISSE”,
4. How do you export to a file using CNAI?
By re-directing the output to a file using the output re-direction character (>). An example is given below: cnai export valid –i internal_cell > /home/amanyaa/icell.txt
If you want to export to a file, add the part highlighted in yellow to the end of your CNAI export command. The filepath /home/amanyaa/icell.txt can be changed to a path of your choice for example /home/tumusip/123.txt . 5. How do you import using CNAI?
By entering a CNAI import command on the command line. The command syntax for importing using CNAI is given below: cnai import [user:]area [options] [where = ]
The entries enclosed by square brackets are optional. Examples of export commands are given below. This is as comprehensive as possible and should give you an idea of what to use in different situations. cnai import amanyaa:test –i < /home/amanyaa/icell.txt
The command above imports the contents of the transport file icell.txt into the planned area test created by the user amanyaa. cnai import tumusip:cutover –i < /home/tumusip/123.txt
The command above imports the contents of the transport file 123.txt into the planned area cutover created by the user tumusip.
6. What is a CNAI transport file?
It is a file used both at export and import. The transport file contains operations on objects and all or a subset of their parameters. At export the transport file consists of the result of the export. At import the transport file consists of the objects that should be created or deleted and the object data that should be changed in CNA. 7. What is the format of a CNAI transport file?
The transport file is stored as a simple text file with the following principal layout: