Beispiel #1
0
def OCI_Templates(ctx, category_id):
    """List templates in a category"""
    show_template_category(ctx, category_id)
Beispiel #2
0
def ORDB_Templates(ctx):
    """List database VM templates"""
    print "\nCategory: MySQL"
    show_template_category(ctx, OktawaveConstants['MYSQL_TEMPLATE_CATEGORY'], 'ORDB')
    print "Category: PostgreSQL"
    show_template_category(ctx, OktawaveConstants['POSTGRESQL_TEMPLATE_CATEGORY'], 'ORDB')