Difference between revisions of "Manila/docs/API-roadmap"
Vponomaryov (talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
'''1. Manage shares (implemented)''' | '''1. Manage shares (implemented)''' | ||
− | + | <pre> | |
manila create [--snapshot-id <snapshot-id>] [--name <name>] | manila create [--snapshot-id <snapshot-id>] [--name <name>] | ||
− | + | [--description <description>] | |
− | + | <share_protocol> <size> | |
+ | |||
manila list | manila list | ||
manila show <share-id> | manila show <share-id> | ||
manila delete <share-id> | manila delete <share-id> | ||
+ | </pre> | ||
'''2. Manage share’s network info (in progress)''' | '''2. Manage share’s network info (in progress)''' | ||
+ | <pre> | ||
+ | manila network-info-create [--policy <policy description>] | ||
+ | --network <network description> | ||
+ | </pre> | ||
− | + | <--network> is a description of the network in which created shares will be exported, specified in <param1=value1,param2=value2> format. This description will be specific to the manila network plug-in in use. | |
− | manila network- | + | For manila neutron network plug-in user should specify: net_id=<neutron-network-id>,subnet_id=<neutron-subnet-id> |
− | |||
− | |||
− | + | <--policy> is a description of the policy (security) configurations used inside tenant’s network in which manila shares will be exported. Should be specified in form <protocol=”network fs protocol in use (nfs or cifs)”,param1=value1,param2=value2>. | |
− | |||
− | + | For NFS user should specify: dns_ip, kerberos_server, kerberos_domain, kerberos_account, kerberos_password, ldap_server, ldap_domain | |
− | |||
− | |||
+ | For CIFS user should specify: dns_ip, ad_server, ad_domain, admin_account, admin_pw | ||
+ | <pre> | ||
manila network-info-list | manila network-info-list | ||
manila network-info-show <nw-info-id> | manila network-info-show <nw-info-id> | ||
manila network-info-remove <nw-info-id> | manila network-info-remove <nw-info-id> | ||
+ | </pre> | ||
− | + | Change: | |
+ | <pre> | ||
manila create [--snapshot-id <snapshot-id>] [--name <name>] | manila create [--snapshot-id <snapshot-id>] [--name <name>] | ||
− | + | [--description <description>] | |
− | + | --network-info <nw-info-id> | |
− | + | <share_protocol> <size> | |
+ | </pre> |
Latest revision as of 14:51, 6 December 2013
1. Manage shares (implemented)
manila create [--snapshot-id <snapshot-id>] [--name <name>] [--description <description>] <share_protocol> <size> manila list manila show <share-id> manila delete <share-id>
2. Manage share’s network info (in progress)
manila network-info-create [--policy <policy description>] --network <network description>
<--network> is a description of the network in which created shares will be exported, specified in <param1=value1,param2=value2> format. This description will be specific to the manila network plug-in in use. For manila neutron network plug-in user should specify: net_id=<neutron-network-id>,subnet_id=<neutron-subnet-id>
<--policy> is a description of the policy (security) configurations used inside tenant’s network in which manila shares will be exported. Should be specified in form <protocol=”network fs protocol in use (nfs or cifs)”,param1=value1,param2=value2>.
For NFS user should specify: dns_ip, kerberos_server, kerberos_domain, kerberos_account, kerberos_password, ldap_server, ldap_domain
For CIFS user should specify: dns_ip, ad_server, ad_domain, admin_account, admin_pw
manila network-info-list manila network-info-show <nw-info-id> manila network-info-remove <nw-info-id>
Change:
manila create [--snapshot-id <snapshot-id>] [--name <name>] [--description <description>] --network-info <nw-info-id> <share_protocol> <size>