From d9f2f4f894948bfa5ead2e8b4ce2fa5244477ee5 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Thu, 14 Mar 2019 15:18:18 +0100 Subject: [PATCH] Removing two deprecated values from json responses This patch removes two reserved fields, ``switch_port_descr`` and ``switch_chassis_descr``, from the json request and response examples in api-ref, that were still present despite having been removed from the ironic-python-agent code base during ocata cycle[0]. [0]https://github.com/openstack/ironic-python-agent/commit/73f316d804abff4cfbe45bf01aa4c81c2450ff2f#diff-664ce09492251bb45bf8a2fb7c1a5f18 Change-Id: I6446e167b957b94bc9bb7f6737bcf57e94a4433a --- api-ref/source/samples/api-v1-continue-request.json | 4 ---- .../source/samples/api-v1-data-introspection-response.json | 4 ---- 2 files changed, 8 deletions(-) diff --git a/api-ref/source/samples/api-v1-continue-request.json b/api-ref/source/samples/api-v1-continue-request.json index 4969f1f9d..41fdeaba8 100644 --- a/api-ref/source/samples/api-v1-continue-request.json +++ b/api-ref/source/samples/api-v1-continue-request.json @@ -21,8 +21,6 @@ "vendor": "0x1af4", "name": "eth1", "has_carrier": true, - "switch_port_descr": null, - "switch_chassis_descr": null, "ipv4_address": "172.24.42.101", "client_id": null, "mac_address": "52:54:00:47:20:4d" @@ -33,8 +31,6 @@ "vendor": "0x1af4", "name": "eth0", "has_carrier": true, - "switch_port_descr": null, - "switch_chassis_descr": null, "ipv4_address": "172.24.42.100", "client_id": null, "mac_address": "52:54:00:4e:3d:30" diff --git a/api-ref/source/samples/api-v1-data-introspection-response.json b/api-ref/source/samples/api-v1-data-introspection-response.json index 4af709f4a..a9334fb4c 100644 --- a/api-ref/source/samples/api-v1-data-introspection-response.json +++ b/api-ref/source/samples/api-v1-data-introspection-response.json @@ -36,8 +36,6 @@ "vendor":"0x1af4", "name":"eth1", "has_carrier":true, - "switch_port_descr":null, - "switch_chassis_descr":null, "ipv4_address":"172.24.42.101", "client_id":null, "mac_address":"52:54:00:47:20:4d" @@ -48,8 +46,6 @@ "vendor":"0x1af4", "name":"eth0", "has_carrier":true, - "switch_port_descr":null, - "switch_chassis_descr":null, "ipv4_address":"172.24.42.100", "client_id":null, "mac_address":"52:54:00:4e:3d:30"