Skip to content

Validate documented behavior of "max routes" blueprint resource attributes #1199

@chrismarget-j

Description

@chrismarget-j

Attribute max_evpn_routes_count and similar (four of 'em) are documented as "When null, Apstra is rendering no maximum"

Can these values truly be null?

parseRouteLimit() seems to be rendering types.Int64Value(-1) instead of types.Int64Null()

The data source seems to think this was important:

	// -1 is a special case in the resource, not relevant
	// to the data source. Set these to null instead.

edit: This may be because we need a way for practitioners to explicitly nullify the value. Setting the configuration to null won't necessarily generate a plan, but setting -1 will.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions