Delete MO.
An MOcanonly be deleted when its reservedBy list is empty and when it does not have any children.
If the MO does have children and/or a non-empty reservedBy attribute, it is possible to use the
rdel/lrdel command instead.
The command first prints the MO(s) to be deleted, then asks for confirmation.
Once the MO(s) are deleted, they are also removed from the proxy list.
To delete all MOs that have just been created by a script, just check the range of proxies that were
created and delete them in the reverse order.
This can be done easily by using the reverse proxy order.
Example: proxies 22 to 46 were created by a CREATE script (in run or trun). To undo it: del 46-22
To delete an MO and all its children, just use the % sign in front of the ldn/rdn filter.
Example: ldel %ms,slot=20,plug will delete the programs first then the piu To delete an MO group in
the reverse order of the proxies, put the % sign in front of the MO group name.
Example: del %mymogroup- will delete all MOs of the MO group "mymogroup" in the reverse order
of their proxies
Note:
The following MOs can only be deleted while in state LOCKED: PlugInUnit, EUtranCell,
TermPointToENB, GpsReceiver, IpAccessHostEt, IpAccessHostGpb, IpAccessHostSpb, IpSyncRef .
By default, the "del" command will automatically perform the locking prior to deleting, unless the
"b" option has been used (delb).
exemple:
GULTH2312> lpr vlan
15924 Transport=1,VlanPort=Abis
15925 Transport=1,VlanPort=Iub
15926 Transport=1,VlanPort=LTE
15927 Transport=1,VlanPort=OAM
15928 Transport=1,VlanPort=OAM_ESC
15929 Transport=1,VlanPort=TN_OAM1
15930 Transport=1,VlanPort=TN_OAM2
15931 Transport=1,VlanPort=TN_RAN1
15932 Transport=1,VlanPort=TN_RAN2
==================================================================================
=
Total: 40 MOs
GULTH2312> del 15932-15929
250912-09:23:51 10.7.3.89 22.0n MSRBS_NODE_MODEL_22.Q2_566.28125.116_3317
stopfile=/tmp/31633
Delete following MOs ?
==================================================================================
=
15932 Transport=1,VlanPort=TN_RAN2
15931 Transport=1,VlanPort=TN_RAN1
15930 Transport=1,VlanPort=TN_OAM2
15929 Transport=1,VlanPort=TN_OAM1
==================================================================================
=
!! Warning: Undo Mode is currently inactive !!
Delete 4 MOs. Are you Sure [y/n] ? y
Deleting ...
==================================================================================
=
$netconf_pid = 32547
15932 Transport=1,VlanPort=TN_RAN2
>>> Mo deleted
15931 Transport=1,VlanPort=TN_RAN1
>>> Mo deleted
15930 Transport=1,VlanPort=TN_OAM2
>>> Mo deleted
15929 Transport=1,VlanPort=TN_OAM1
>>> Mo deleted
==================================================================================
=
Total: 4 MOs attempted, 4 MOs deleted