Skip to content

Conversation

amrkk123
Copy link
Contributor

No description provided.

@amrkk123 amrkk123 requested review from ayushmjain, erlanderlo, q2w and a team as code owners August 12, 2025 11:42
network:
name: network
title: Network
regexValidation: ^(?:projects\/[a-z0-9-]+\/)?global\/networks\/[a-z0-9-]{1,63}$
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think just network name is also allowed here.

subnetwork:
name: subnetwork
title: Subnetwork
regexValidation: ^(?:projects\/[a-z0-9-]+\/)?(?:regions\/[a-z0-9-]+\/)?subnetworks\/[a-z0-9-]{1,63}$
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

name: network
title: Network
level: 1
regexValidation: ^(?:projects\/[a-z0-9-]+\/)?global\/networks\/[a-z0-9-]{1,63}$
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Network name is not getting passed here.

name: subnetwork
title: Subnetwork
level: 1
regexValidation: ^(?:projects\/[a-z0-9-]+\/)?(?:regions\/[a-z0-9-]+\/)?subnetworks\/[a-z0-9-]{1,63}$
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just name is not getting passed here.

# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you revert this.

network:
name: network
title: Network
regexValidation: "^(?:[a-z0-9-]{1,63}|projects\\/[a-z0-9-]+\\/global\\/networks\\/[a-z0-9-]{1,63})$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to add any escape characters.

subnetwork:
name: subnetwork
title: Subnetwork
regexValidation: "^(?:[a-z0-9-]{1,63}|(?:projects\\/[a-z0-9-]+\\/)?(?:regions\\/[a-z0-9-]+\\/)?subnetworks\\/[a-z0-9-]{1,63})$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here.

network_ip:
name: network_ip
title: Network Ip
regexValidation: ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants