The Infrastructure Administrator can delete information as required.
Note
If the following information is associated with multiple template information files, delete all the associated template information files before deleting the other information files.
Image information files
Segment information
Before deleting a software information file, delete all of the associated image information files.
Do not delete template information that are being used in a deployed L-Platform.
Point
Do the following to check whether the commands have correctly deleted the information.
Check the return value.
A return value of 0 indicates normal termination.
A return value of anything other than 0 indicates an error and an error message will be output. Or,
Use the following commands to display the corresponding information.
Delete command | Display Command |
---|---|
Template information deletion (cfmg_deletetemplate) | Display a list of template information (cfmg_listtemplate) |
Segment deletion (cfmg_deletenetinfo) | Segment list display (cfmg_listnetinfo) |
Image information deletion (cfmg_deleteimageinfo) | Display a list of image information (cfmg_listimageinfo) |
Software information deletion (cfmg_deletesoft) | Software information list display (cfmg_listsoft) |
Template Information
Use the following procedure to delete template information.
Check the L-Platform template name displayed at [L-Platform Management] - [L-Platform List] in the [L-Platforms] tab screen of the ROR console, and check that the template information to be deleted is not being used by a deployed L-Platform.
Use the Template information list display (cfmg_listtemplate) command, and take a note of the name of the L-Platform template ID that corresponds to the L-Platform template name in step 1.
If the publication settings are "Published", the template information cannot be deleted.
Use the L-Platform template publication settings (cfmg_showtemplate) command to change the publication settings to "Hidden".
Refer to "9.15 cfmg_showtemplate (Changing L-Platform Access Setting)" in the "Reference Guide (Command/XML) CE" for information on this command.
Use the Template information deletion (cfmg_deletetemplate) command to delete the template information specified with the L-Platform template ID noted in step 1.
Segment Information
Use the following procedure to delete segment information.
Use the Template information list display (cfmg_listtemplate -v) command to output a list of template information, and use this to see if the segment configuration information to be deleted is associated with template information in the <template> -> <vnets> -> < vnet> -> <id> tag.
Use the Segment deletion (cfmg_deletenetinfo) command to delete the segment information.
Image Information
Use the following procedure to delete image information.
Use the Template information list display (cfmg_listtemplate -v) command to output a list of template information, and use this to see if the image information to be deleted is associated with template information in the <template> -> <servers> -> <server> -> <imageId> tag.
Use the Delete image information command (cfmg_deleteimageinfo) to delete the image information.
Software Information
Use the following procedure to delete software information.
Use the Image information list display (cfmg_listimageinfo -v) command to output a list of image information, and use this to see if the software information to be deleted is associated with image information in the <image> -> <softwares> -> <software> -> <id> tag.
Use the Software information deletion (cfmg_deletesoft) command to delete the software information.