Skip to content

Commit

Permalink
feat: add network & flavor opts
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed May 22, 2024
1 parent 7cdf7c2 commit 950d863
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,45 +61,66 @@ def pytest_addoption(parser: Parser):
"It is expected that the existing app is already integrated with other apps "
"like grafana-agent, etc. ",
)
# Openstack testing opts
parser.addoption(
"--openstack-network-name",
action="store",
help="The Openstack network to create testing instances under.",
default=None,
)
parser.addoption(
"--openstack-flavor-name",
action="store",
help="The Openstack flavor to create testing instances with.",
default=None,
)
# microstack local testing option
parser.addoption(
"--openstack-clouds-yaml",
action="store",
help="The OpenStack clouds yaml file for the charm to use.",
default=None,
)
# Private endpoint options
parser.addoption(
"--openstack-auth-url",
action="store",
help="The URL to Openstack authentication service, i.e. keystone.",
default=None,
)
parser.addoption(
"--openstack-password",
action="store",
help="The password to authenticate to Openstack service.",
default=None,
)
parser.addoption(
"--openstack-project-domain-name",
action="store",
help="The Openstack project domain name to use.",
default=None,
)
parser.addoption(
"--openstack-project-name",
action="store",
help="The Openstack project name to use.",
default=None,
)
parser.addoption(
"--openstack-user-domain-name",
action="store",
help="The Openstack user domain name to use.",
default=None,
)
parser.addoption(
"--openstack-user-name",
action="store",
help="The Openstack user to authenticate as.",
default=None,
)
parser.addoption(
"--openstack-region-name",
action="store",
help="The Openstack region to authenticate to.",
default=None,
)

0 comments on commit 950d863

Please sign in to comment.