rename easy to direct in the scripts
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
"""Starter script for Nova Easy API."""
|
"""Starter script for Nova Direct API."""
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
import os
|
import os
|
||||||
|
|||||||
10
bin/stack
10
bin/stack
@@ -17,7 +17,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
"""CLI for the Easy API."""
|
"""CLI for the Direct API."""
|
||||||
|
|
||||||
import eventlet
|
import eventlet
|
||||||
eventlet.monkey_patch()
|
eventlet.monkey_patch()
|
||||||
@@ -42,10 +42,10 @@ from nova import utils
|
|||||||
|
|
||||||
|
|
||||||
FLAGS = gflags.FLAGS
|
FLAGS = gflags.FLAGS
|
||||||
gflags.DEFINE_string('host', '127.0.0.1', 'Easy API host')
|
gflags.DEFINE_string('host', '127.0.0.1', 'Direct API host')
|
||||||
gflags.DEFINE_integer('port', 8001, 'Easy API host')
|
gflags.DEFINE_integer('port', 8001, 'Direct API host')
|
||||||
gflags.DEFINE_string('user', 'user1', 'Easy API username')
|
gflags.DEFINE_string('user', 'user1', 'Direct API username')
|
||||||
gflags.DEFINE_string('project', 'proj1', 'Easy API project')
|
gflags.DEFINE_string('project', 'proj1', 'Direct API project')
|
||||||
|
|
||||||
|
|
||||||
USAGE = """usage: stack [options] <controller> <method> [arg1=value arg2=value]
|
USAGE = """usage: stack [options] <controller> <method> [arg1=value arg2=value]
|
||||||
|
|||||||
Reference in New Issue
Block a user