Merge "api-ref: some fixes on metering labels and rules"

This commit is contained in:
Zuul
2018-04-20 17:25:57 +00:00
committed by Gerrit Code Review
2 changed files with 19 additions and 12 deletions

View File

@@ -70,10 +70,10 @@ Request
- metering_label: metering_label - metering_label: metering_label
- shared: metering_label-shared-request - shared: metering_label-shared-request
- description: description - description: description-request
- name: name - name: name-request
- tenant_id: project_id - tenant_id: project_id-request
- project_id: project_id - project_id: project_id-request
Request Example Request Example
--------------- ---------------
@@ -207,7 +207,7 @@ Response Parameters
- direction: direction - direction: direction
- remote_ip_prefix: remote_ip_prefix - remote_ip_prefix: remote_ip_prefix
- excluded : excluded - excluded : excluded
- metering_label_id: metering_label-id-response-body - metering_label_id: metering_label-id-body
- id: metering_label_rule-id - id: metering_label_rule-id
Response Example Response Example
@@ -235,8 +235,8 @@ Request
- metering_label_rule: metering_label_rule - metering_label_rule: metering_label_rule
- remote_ip_prefix: remote_ip_prefix - remote_ip_prefix: remote_ip_prefix
- direction: direction - direction: direction
- metering_label_id: metering_label-id-response-body - metering_label_id: metering_label-id-body
- excluded: excluded - excluded: excluded-request
Request Example Request Example
--------------- ---------------
@@ -253,7 +253,7 @@ Response Parameters
- direction: direction - direction: direction
- remote_ip_prefix: remote_ip_prefix - remote_ip_prefix: remote_ip_prefix
- excluded : excluded - excluded : excluded
- metering_label_id: metering_label-id-response-body - metering_label_id: metering_label-id-body
- id: metering_label_rule-id - id: metering_label_rule-id
Response Example Response Example
@@ -308,7 +308,7 @@ Response Paramters
- direction: direction - direction: direction
- remote_ip_prefix: remote_ip_prefix - remote_ip_prefix: remote_ip_prefix
- excluded : excluded - excluded : excluded
- metering_label_id: metering_label-id-response-body - metering_label_id: metering_label-id-body
- id: metering_label_rule-id - id: metering_label_rule-id
Response Example Response Example

View File

@@ -1765,6 +1765,13 @@ ethertype:
required: false required: false
type: string type: string
excluded: excluded:
description: |
Indicates whether to count the traffic of a
specific IP address with the ``remote_ip_prefix`` value.
in: body
required: true
type: boolean
excluded-request:
description: | description: |
Indicates whether to count the traffic of a Indicates whether to count the traffic of a
specific IP address with the ``remote_ip_prefix`` value. Default specific IP address with the ``remote_ip_prefix`` value. Default
@@ -3155,9 +3162,9 @@ metering_label-id:
in: body in: body
required: true required: true
type: string type: string
metering_label-id-response-body: metering_label-id-body:
description: | description: |
The metering label ID to associate with this The metering label ID associated with this
metering rule. metering rule.
in: body in: body
required: true required: true
@@ -3174,7 +3181,7 @@ metering_label-shared-request:
Indicates whether this metering label is shared Indicates whether this metering label is shared
across all projects. across all projects.
in: body in: body
required: true required: false
type: boolean type: boolean
metering_label_rule: metering_label_rule:
description: | description: |