Skip to content
Snippets Groups Projects

Feature/vrf

Merged Neda Moeini requested to merge feature/vrf into develop
All threads resolved!
3 files
+ 4
24
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -321,16 +321,3 @@ def is_virtual_circuit_id_available(virtual_circuit_id: str) -> bool:
:rtype: bool
"""
return is_resource_type_value_unique("virtual_circuit_id", virtual_circuit_id)
def is_vrf_name_unique(vrf_name: str) -> bool:
"""Check if the given VRF name is unique in the database.
This function verifies if the specified VRF name is not already present in the core database.
:param vrf_name: The VRF name to check.
:type vrf_name: str
:return: True if the VRF name is unique (not found), False if it exists.
:rtype: bool
"""
return is_resource_type_value_unique("vrf_name", vrf_name)
Loading