Unable to create service chain instance with GBP client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy Client |
Triaged
|
Undecided
|
Unassigned |
Bug Description
When attempting to create a service chain instance using the GBP client, I get the following error message:
ubuntu@foo$ gbp servicechain-
Unrecognized attribute(s) 'provider_ptg, servicechain_spec, consumer_ptg'
To reproduce, install devstack kilo release (using these instructions https:/
These seem to be the correct translations of these flags:
"--provider-ptg" (incorrect) -> "--provider_ptg_id" (correct)
"--consumer-ptg" (incorrect) -> "--consumer_ptg_id" (correct)
"--service-
These corrections seem to work, but I can't seem to get the "--servicechain
ubuntu@foo:~$ gbp servicechain-
Surrounding the service chain spec UUID with quotes and / or brackets does not help.
description: | updated |
description: | updated |
Changed in group-based-policy-client: | |
status: | New → Triaged |
Thanks for trying this out. However, we do not currently support creating a service chain instance explicitly. The service chain instance is created implicitly when a consumer/provider relationship is created between two PTGs via a Policy-Rule-Set that has a redirect action with value pointing to a service chain spec.
As such, we should have not have exposed the create service chain instance opertaion via the CLI.