PDA

View Full Version : make iur name file with perl and moshel



jugodemanzana
2011-05-02, 11:14 AM
Dear mates,

In my last network, the iur name aren't standard.

For example:
RNC1 to RNC2:
The name of te iur could be:
-Iur_RNC1_RNC2
-RNC2
-iur_RNC2
-etc..

When i try to built some rehoming utran relation script, was necesary know all the iur names,

To do that, i write this script:

-Inputs: File name: lista_rnc.txt
This file contains all rnc names.
Example:
RNC1
RNC2
RNC3


-script:_make_iur.pl
You must edit the file, and change the moshell path.
this line: $moshell="/home/jugodemanzana/moshell";


-Final output:

It's the real name of the iur. (lista_iur.txt)
RNC1_RNC2 Iur_RNC2
RNC1_RNC3 Iur_RNC1_RNC3
RNC2_RNC3 IUR_RNC2_RNC3

-Requirement:
-oss
-moshel
-perl


could be useful,

BR,
AppleJuice,