Skip to content

Commit

Permalink
Revert "Merge pull request #4 from ppajersk/feature-adding-node-linking"
Browse files Browse the repository at this point in the history
This reverts commit d9b1123, reversing
changes made to 7533c0a.
  • Loading branch information
tvarohohlavy committed Dec 11, 2024
1 parent d9b1123 commit 083743d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 226 deletions.
7 changes: 0 additions & 7 deletions plugins/module_utils/cml_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ def get_node_by_name(self, lab, name):
return node
return None

def get_link_by_nodes(self, lab, node1, node2):
for link in lab.links():
if ((link.node_a.label == node1.label and link.node_b.label == node2.label)
or (link.node_b.label == node1.label and link.node_a.label == node2.label)):
return link
return None

def exit_json(self, **kwargs):

self.result.update(**kwargs)
Expand Down
219 changes: 0 additions & 219 deletions plugins/modules/cml_link_node.py

This file was deleted.

0 comments on commit 083743d

Please sign in to comment.