Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow-up to #306, which added deprecation warnings to three methods, but we've been calling those allegedly deprecated methods internally. I failed to check for those usages, so I'm going around looking for where we've been using them.
Interface.get_os_interface()
, which has a simple replacement inget_device_name()
, so I replaced all calls accordingly. Haven't actually tested this from a notebook, because I'm unsure what the replacements for the other two should be.Node.set_ip_os_interface()
is called byInterface.set_ip()
, which itself should be deprecated. I did not catch it in the previous pass because of the typo in comment ("Depricated" instead of "deprecated"), and I'm not sure what should replace either of these methods.Node.add_vlan_os_interface()
is called byInterface.config_vlan_interface()
(which is not intended for API use), which is called bySlice.post_boot_config()
. Again, I'm not sure what should replaceNode.add_vlan_os_interface()
.Help, @kthare10 and @paul-ruth? :-)