Jump to: navigation, search

Neutron/LBaaS/CLI

< Neutron‎ | LBaaS
Revision as of 15:21, 9 November 2012 by Ilya (talk)

Scope

This document describes LBaaS commands that need to be added into python-quantumclient in order to support LBaaS extension. The implementation is proposed to be extensible and support extensions.

Implementation Details

In Grizzly Quantum will be extended with advanced services framework, every service introduces an extension for Quantum's REST API. The same extended operations should be supported by CLI client.

It is proposed to introduce extension framework into Client. The framework will enumerate and load extensions, every extension announces itself with the command prefix and expands command set with new features. For example, LBaaS extension introduces command [lbaas] vip-list , prefix lbaas may be optional until commands from different extension interferes. For interactive mode the user should be able to specify what extension subset to use (in order to minimize the number of accessible commands). Note that it is not proposed to use sub-shell, since it would be harder to use and implement.

LBaaS Command List

    healthmonitor-create        Create a healthmonitor
    healthmonitor-delete        Delete a given healthmonitor
    healthmonitor-list          List healthmonitors that belong to a given tenant
    healthmonitor-show          Show information of a given healthmonitor
    healthmonitor-update        Update healthmonitor's information

    healthmonitor-associate     Associate a healthmonitor with a pool
    healthmonitor-disassociate  Disassociate a healthmonitor with a pool

    member-create               Create a member
    member-delete               Delete a given member
    member-list                 List members that belong to a given tenant
    member-show                 Show information of a given member
    member-update               Update member's information

    pool-create                 Create a pool
    pool-delete                 Delete a given pool
    pool-list                   List pools that belong to a given tenant
    pool-show                   Show information of a given pool
    pool-update                 Update pool's information

    vip-create                  Create a vip
    vip-delete                  Delete a given vip
    vip-list                    List vips that belong to a given tenant
    vip-show                    Show information of a given vip
    vip-update                  Update vip's information