Class: Google::Cloud::BareMetalSolution::V2::NetworkConfig
- Inherits:
-
Object
- Object
- Google::Cloud::BareMetalSolution::V2::NetworkConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb
Overview
Configuration parameters for a new network.
Defined Under Namespace
Modules: Bandwidth, ServiceCidr, Type Classes: IntakeVlanAttachment
Instance Attribute Summary collapse
-
#bandwidth ⇒ ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Bandwidth
Interconnect bandwidth.
-
#cidr ⇒ ::String
CIDR range of the network.
-
#gcp_service ⇒ ::String
The GCP service of the network.
-
#id ⇒ ::String
A transient unique identifier to identify a volume within an ProvisioningConfig request.
-
#jumbo_frames_enabled ⇒ ::Boolean
The JumboFramesEnabled option for customer to set.
-
#name ⇒ ::String
readonly
Output only.
-
#service_cidr ⇒ ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::ServiceCidr
Service CIDR, if any.
-
#type ⇒ ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Type
The type of this network, either Client or Private.
-
#user_note ⇒ ::String
User note field, it can be used by customers to add additional information for the BMS Ops team .
-
#vlan_attachments ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkConfig::IntakeVlanAttachment>
List of VLAN attachments.
-
#vlan_same_project ⇒ ::Boolean
Whether the VLAN attachment pair is located in the same project.
Instance Attribute Details
#bandwidth ⇒ ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Bandwidth
Returns Interconnect bandwidth. Set only when type is CLIENT.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#cidr ⇒ ::String
Returns CIDR range of the network.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#gcp_service ⇒ ::String
Returns The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#id ⇒ ::String
Returns A transient unique identifier to identify a volume within an ProvisioningConfig request.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#jumbo_frames_enabled ⇒ ::Boolean
Returns The JumboFramesEnabled option for customer to set.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the network config.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#service_cidr ⇒ ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::ServiceCidr
Returns Service CIDR, if any.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#type ⇒ ::Google::Cloud::BareMetalSolution::V2::NetworkConfig::Type
Returns The type of this network, either Client or Private.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#user_note ⇒ ::String
Returns User note field, it can be used by customers to add additional information for the BMS Ops team .
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#vlan_attachments ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkConfig::IntakeVlanAttachment>
Returns List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |
#vlan_same_project ⇒ ::Boolean
Returns Whether the VLAN attachment pair is located in the same project.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 460 class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GCP vlan attachment. # @!attribute [rw] id # @return [::String] # Identifier of the VLAN attachment. # @!attribute [rw] pairing_key # @return [::String] # Attachment pairing key. class IntakeVlanAttachment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, that is a network peered to a GCP VPC. CLIENT = 1 # Private network, that is a network local to the BMS POD. PRIVATE = 2 end # Interconnect bandwidth. module Bandwidth # Unspecified value. BANDWIDTH_UNSPECIFIED = 0 # 1 Gbps. BW_1_GBPS = 1 # 2 Gbps. BW_2_GBPS = 2 # 5 Gbps. BW_5_GBPS = 3 # 10 Gbps. BW_10_GBPS = 4 end # Service network block. module ServiceCidr # Unspecified value. SERVICE_CIDR_UNSPECIFIED = 0 # Services are disabled for the given network. DISABLED = 1 # Use the highest /26 block of the network to host services. HIGH_26 = 2 # Use the highest /27 block of the network to host services. HIGH_27 = 3 # Use the highest /28 block of the network to host services. HIGH_28 = 4 end end |