Skip to content

AS Index#

A ASIndex serves as a container for ASNs, defining a specific scope for their management. Each ASIndex can be associated with an environment, providing clarity on its intended scope. Within a ASIndex, a designated minimum and maximum ASN ID are defined. Each ASN within an index must possess a unique ID and name, facilitating clear identification and organization.

Example#

A AS Index is managed through the ASIndex Custom Resource Definition (CRD). Below is an example YAML manifest demonstrating the configuration of a AS Index named "index1":

apiVersion: as.be.kuid.dev/v1alpha1
kind: ASIndex
metadata:
  name: index1
spec:
  labels:
    inv.kuid.dev/topology: topo1

Status#

he status of the ASIndex is indicated using the READY condition. A True Ready condition indicates the ASIndex was successful. When the Ready condition status is False, the reason and message information in the status provide additional details.

kubectl get asindices.as.be.kuid.dev

status

NAME     READY
index1   True

Upon successful creation of the AS Index "index1," the status should indicate a True Ready condition, confirming that the AS Index has been successfully provisioned.

Expected behavior#

Upon successful creation of the ASIndex "index1," the status should indicate a True Ready condition, confirming that the AS Index has been successfully provisioned.