Skip to content

Commit c79793e

Browse files
Initial lint changes
1 parent 8d4af84 commit c79793e

12 files changed

+35
-24
lines changed

plugins/modules/dcnm_fabric.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_image_policy.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -149,105 +149,105 @@
149149
#
150150
# Delete two image policies from the controller.
151151
152-
- name: Delete Image policies
152+
- name: Delete Image policies
153153
cisco.dcnm.dcnm_image_policy:
154154
state: deleted
155155
config:
156-
- name: KR5M
157-
- name: NR3F
156+
- name: KR5M
157+
- name: NR3F
158158
register: result
159-
- name: print result
159+
- name: print result
160160
ansible.builtin.debug:
161161
var: result
162162
163163
# Merge two image policies into the controller.
164164
165-
- name: Merge Image policies
165+
- name: Merge Image policies
166166
cisco.dcnm.dcnm_image_policy:
167167
state: merged
168168
config:
169-
- name: KR5M
169+
- name: KR5M
170170
agnostic: false
171171
description: KR5M
172172
epld_image: n9000-epld.10.2.5.M.img
173173
packages:
174-
install:
175-
- mtx-openconfig-all-2.0.0.0-10.4.1.src.rpm
174+
install:
175+
- mtx-openconfig-all-2.0.0.0-10.4.1.src.rpm
176176
uninstall:
177-
- mtx-grpctunnel-2.1.0.0-10.4.1.lib32_64_n9000
177+
- mtx-grpctunnel-2.1.0.0-10.4.1.lib32_64_n9000
178178
platform: N9K
179179
release: 10.2.5_nxos64-cs_64bit
180180
type: PLATFORM
181-
- name: NR3F
181+
- name: NR3F
182182
description: NR3F
183183
platform: N9K
184184
epld_image: n9000-epld.10.3.1.F.img
185185
release: 10.3.1_nxos64-cs_64bit
186186
register: result
187-
- name: print result
187+
- name: print result
188188
ansible.builtin.debug:
189189
var: result
190190
191191
# Override all policies on the controller and replace them with
192192
# the policies in the playbook task. Any policies other than
193193
# KR5M and NR3F are deleted from the controller.
194194
195-
- name: Override Image policies
195+
- name: Override Image policies
196196
cisco.dcnm.dcnm_image_policy:
197197
state: overridden
198198
config:
199-
- name: KR5M
199+
- name: KR5M
200200
agnostic: false
201201
description: KR5M
202202
epld_image: n9000-epld.10.2.5.M.img
203203
platform: N9K
204204
release: 10.2.5_nxos64-cs_64bit
205205
type: PLATFORM
206-
- name: NR3F
206+
- name: NR3F
207207
description: NR3F
208208
platform: N9K
209209
epld_image: n9000-epld.10.2.5.M.img
210210
release: 10.3.1_nxos64-cs_64bit
211211
register: result
212-
- name: print result
212+
- name: print result
213213
ansible.builtin.debug:
214214
var: result
215215
216216
# Query the controller for the policies in the playbook task.
217217
218-
- name: Query Image policies
218+
- name: Query Image policies
219219
cisco.dcnm.dcnm_image_policy:
220220
state: query
221221
config:
222-
- name: NR3F
223-
- name: KR5M
222+
- name: NR3F
223+
- name: KR5M
224224
register: result
225-
- name: print result
225+
- name: print result
226226
ansible.builtin.debug:
227227
var: result
228228
229229
# Replace any policies on the controller that are in the playbook task with
230230
# the configuration given in the playbook task. Policies not listed in the
231231
# playbook task are not modified and are not deleted.
232232
233-
- name: Replace Image policies
233+
- name: Replace Image policies
234234
cisco.dcnm.dcnm_image_policy:
235235
state: replaced
236236
config:
237-
- name: KR5M
237+
- name: KR5M
238238
agnostic: false
239239
description: KR5M
240240
epld_image: n9000-epld.10.2.5.M.img
241241
platform: N9K
242242
release: 10.2.5_nxos64-cs_64bit
243243
type: PLATFORM
244-
- name: NR3F
244+
- name: NR3F
245245
description: Replaced NR3F
246246
platform: N9K
247247
epld_image: n9000-epld.10.3.1.F.img
248248
release: 10.3.1_nxos64-cs_64bit
249249
register: result
250-
- name: print result
250+
- name: print result
251251
ansible.builtin.debug:
252252
var: result
253253
"""

plugins/modules/dcnm_interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_inventory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_log.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_maintenance_mode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_network.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_service_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_service_policy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

plugins/modules/dcnm_service_route_peering.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
from __future__ import absolute_import, division, print_function
1718

1819
__metaclass__ = type

0 commit comments

Comments
 (0)