Skip to content

Commit

Permalink
Merge pull request #254 from Juniper/feat/253-add-dp-node-type
Browse files Browse the repository at this point in the history
Add `NodeTypeDeviceProfile` to existing node type set
  • Loading branch information
chrismarget-j committed Apr 3, 2024
2 parents 9ba1bd6 + 179c48f commit 3db854b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apstra/query_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const (
NodeTypeNone = NodeType(iota)
NodeTypeAntiAffinityPolicy
NodeTypeEpApplicationInstance
NodeTypeDeviceProfile
NodeTypeDomain
NodeTypeEpEndpointPolicy
NodeTypeEpGroup
Expand Down Expand Up @@ -34,6 +35,7 @@ const (
nodeTypeNone = nodeType("")
nodeTypeAntiAffinityPolicy = nodeType("anti_affinity_policy")
nodeTypeEpApplicationInstance = nodeType("ep_application_instance")
nodeTypeDeviceProfile = nodeType("device_profile")
nodeTypeDomain = nodeType("domain")
nodeTypeEpEndpointPolicy = nodeType("ep_endpoint_policy")
nodeTypeEpGroup = nodeType("ep_group")
Expand Down Expand Up @@ -73,6 +75,8 @@ func (o NodeType) String() string {
return string(nodeTypeAntiAffinityPolicy)
case NodeTypeEpApplicationInstance:
return string(nodeTypeEpApplicationInstance)
case NodeTypeDeviceProfile:
return string(nodeTypeDeviceProfile)
case NodeTypeDomain:
return string(nodeTypeDomain)
case NodeTypeEpEndpointPolicy:
Expand Down

0 comments on commit 3db854b

Please sign in to comment.