From 3de52ec9507f2028a4a61a343f22aa03080bb9a8 Mon Sep 17 00:00:00 2001 From: zhangdebo Date: Mon, 12 Feb 2018 10:41:23 +0800 Subject: [PATCH] Replace Chinese quotes to English quotes Change-Id: Ib76be11ae6208898140c1c64953356ce296ac67d --- doc/source/devref/abstraction.rst | 10 +++++----- doc/source/devref/service-chain-driver.rst | 4 ++-- doc/source/usage.rst | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/devref/abstraction.rst b/doc/source/devref/abstraction.rst index 0c47f44da..c965d7f54 100644 --- a/doc/source/devref/abstraction.rst +++ b/doc/source/devref/abstraction.rst @@ -424,17 +424,17 @@ creating L3Policy a default ip_pool and default_subnet_prefix_length are created. If a user creates a PTG, a subnet will be pulled from ip_pool using default_subnet_prefix_length. -The protocol in PolicyClassifier supports names “tcp”, “icmp”, “udp” and +The protocol in PolicyClassifier supports names "tcp", "icmp", "udp" and protocol numbers 0 to 255 are supported. The port range in PolicyClassifier port range can be a single port number or a range (separated by a colon). -The direction in PolicyClassifier direction can be “in”, “out”, or “bi”. +The direction in PolicyClassifier direction can be "in", "out", or "bi". -The type in PolicyAction type can be “allow” or “redirect”. +The type in PolicyAction type can be "allow" or "redirect". -The value in PolicyAction is used only in the case of “redirect” and +The value in PolicyAction is used only in the case of "redirect" and corresponds to a service_chain_spec. The default route injection in VMs can be controlled by using the @@ -445,7 +445,7 @@ when a VM is associated with more than one PTG, and we want it to get a specific default route and suppress others. NetworkServiceParams - * type - Is one of “ip_single”, “ip_pool”, “string” + * type - Is one of "ip_single", "ip_pool", "string" * name - A user-defined string, e.g. vip * value - String, e.g. self_subnet or external_subnet when the type is ip_single or ip_pool; a string value when the type is string diff --git a/doc/source/devref/service-chain-driver.rst b/doc/source/devref/service-chain-driver.rst index 8d7f94e8b..f57bef937 100644 --- a/doc/source/devref/service-chain-driver.rst +++ b/doc/source/devref/service-chain-driver.rst @@ -111,7 +111,7 @@ This provides a reusable implementation for managing existing Neutron services. Node Driver -This configures the service based on the “config” provided in the Service +This configures the service based on the "config" provided in the Service Node definition. Node Plumber @@ -235,4 +235,4 @@ The following is added to service chain isntance:: 'validate': {'type:uuid_or_none': None}, 'is_visible': True, 'default': None, 'required': True} - } \ No newline at end of file + } diff --git a/doc/source/usage.rst b/doc/source/usage.rst index 23381e191..d01816750 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -166,7 +166,7 @@ Step 1 creates a rule set describing a policy for a set of web servers. The rule gbp group-update client-2 --consumed-policy-rule-sets "web-ruleset=scope" gbp group-update web --provided-policy-rule-sets "web-ruleset=scope" -Step 2 creates the groups and attached the appropriate rule sets. Rule sets describe a bidirectional set of rules. However, the API is designed to allow a group to “provide” a rule set describing its behavior, and other groups to “consume” that rule set to connect to it. The model intends for groups to provide rule sets that describe their behavior, which other groups can then choose to access. +Step 2 creates the groups and attached the appropriate rule sets. Rule sets describe a bidirectional set of rules. However, the API is designed to allow a group to "provide" a rule set describing its behavior, and other groups to "consume" that rule set to connect to it. The model intends for groups to provide rule sets that describe their behavior, which other groups can then choose to access. 3. Create Group Members