Steps to reserve/allocate a range of instance numbers of virtual bus nodes (ext_bus class) (October 2009)
mpt node has instance number 1 and fcd_vbus nodes have instance numbers from 2 to 6
respectively.
ext_bus:0:1.0.4.0.1:c8xx:258
ext_bus:1:1.0.6.0.0:mpt:258
ext_bus:2:1.0.12.1.0:fcd_vbus:515
ext_bus:3:1.0.12.1.1:fcd_vbus:515
ext_bus:4:1.0.12.1.2:fcd_vbus:515
ext_bus:5:1.0.12.1.3:fcd_vbus:515
ext_bus:6:1.0.12.1.4:fcd_vbus:515
Step 2: Identify the fcd_vbus nodes whose instance numbers need to be moved above 255.
For example, consider a case where ext_bus with instance numbers 2,3,4 need to be moved to
above 255 range (say 256, 257, 258)
Now, edit the “foo” file and change the corresponding ext_bus entries whose instance
number needs to be moved above 255.
ext_bus:0:1.0.4.0.1:c8xx:258
ext_bus:1:1.0.6.0.0:mpt:258
ext_bus:256:1.0.12.1.0:fcd_vbus:515
ext_bus:257:1.0.12.1.1:fcd_vbus:515
ext_bus:258:1.0.12.1.2:fcd_vbus:515
ext_bus:5:1.0.12.1.3:fcd_vbus:515
ext_bus:6:1.0.12.1.4:fcd_vbus:515
Step 3: In the above listing, instance numbers 0,1,5,6 in the 0-255 range are the ones used.
These entries are kept unchanged. For all other remaining instance numbers that are unused
between the 0 -255 range , a dummy entry needs to be created.
Edit the file “foo” by adding dummy ext_bus nodes with dummy instance numbers in 0-255
range. These dummy entries must contain non-existent hardware paths. The dummy paths must
be added to the file “foo” in the following format. In the below example, random hardware
paths “19.0.0.0.0” to “19.4.4.4.255” is used for illustration purposes.
ext_bus:0:1.0.4.0.1:c8xx:258
ext_bus:1:1.0.6.0.0:mpt:258
ext_bus:256:1.0.12.1.0:fcd_vbus:515
ext_bus:257:1.0.12.1.1:fcd_vbus:515
ext_bus:258:1.0.12.1.2:fcd_vbus:515
ext_bus:5:1.0.12.1.3:fcd_vbus:515
ext_bus:6:1.0.12.1.4:fcd_vbus:515
ext_bus:2:19.0.0.0.0:fcd_vbus:515
ext_bus:3:19.1.1.1.3:fcd_vbus:515
ext_bus:4:19.2.2.2.4:fcd_vbus:515
ext_bus:7:19.3.3.3.7:fcd_vbus:515
ext_bus:8:19.3.3.3.8:fcd_vbus:515
..........................................
……………………………………………………..
ext_bus:255:19.4.4.4.255:fcd_vbus:515
The above entries will result in assigning instance numbers 256,257 and 258 for fcd_vbus
nodes at hardware paths 1/0/12/1/0, 1/0/12/1/1, 1/0/12/1/2 respectively and all other
unsued instance number in the 0-255 range will contain dummy entries thereby reserving them
for future use.