Extend the existing NetworkPeeringStatus type with State field to represent if peering state is applied or not. Newly added State field will be either Initial or Applied.
Implement network peering controller to update NetworkPeeringStatus.State with the peering Name and State fields. Also add PeeringClaimRefs respectively, if network is claimed by another network. Add corresponding tests.
Summary
NetworkPeeringStatus
type withState
field to represent if peering state is applied or not. Newly addedState
field will be eitherInitial
orApplied
.NetworkPeeringStatus.State
with the peeringName
andState
fields. Also addPeeringClaimRefs
respectively, if network is claimed by another network. Add corresponding tests.