Skip to main content

Attach

Attach a Security Group to a Port with provided port_id, security_group_id, x-tenant-id of an specific project type

Usage:

Usage:
./mgc network ports attach [port-id] [security-group-id] [flags]

Product catalog:

  • Flags:
  • --cli.list-links enum[=table] List all available links for this command (one of "json", "table" or "yaml")
  • -h, --help help for attach
  • --port-id string port_id: ID of the Port to attach security group (required)
  • --security-group-id string security_group_id: ID of the Security Group to attach (required)
  • -v, --version version for attach

Other commands:

  • Global Flags:
  • --cli.show-cli-globals Show all CLI global flags on usage text
  • --env enum Environment to use (one of "pre-prod" or "prod") (default "prod")
  • --region enum Region to reach the service (one of "br-mgl1", "br-ne1" or "br-se1") (default "br-se1")
  • --server-url uri Manually specify the server to use

Flags: