コード例 #1
0
ファイル: oci.py プロジェクト: Zerivael/oktawave-cli
def OCI_Templates(ctx, category_id):
    """List templates in a category"""
    show_template_category(ctx, category_id)
コード例 #2
0
ファイル: ordb.py プロジェクト: Zerivael/oktawave-cli
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')