Class: Google::Cloud::BareMetalSolution::V2::VRF

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/baremetalsolution/v2/network.rb

Overview

A network VRF.

Defined Under Namespace

Modules: State Classes: QosPolicy, VlanAttachment

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns The name of the VRF.

Returns:

  • (::String)

    The name of the VRF.



158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 158

class VRF
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # QOS policy parameters.
  # @!attribute [rw] bandwidth_gbps
  #   @return [::Float]
  #     The bandwidth permitted by the QOS policy, in gbps.
  class QosPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # VLAN attachment details.
  # @!attribute [rw] peer_vlan_id
  #   @return [::Integer]
  #     The peer vlan ID of the attachment.
  # @!attribute [rw] peer_ip
  #   @return [::String]
  #     The peer IP of the attachment.
  # @!attribute [rw] router_ip
  #   @return [::String]
  #     The router IP of the attachment.
  # @!attribute [rw] pairing_key
  #   @return [::String]
  #     Input only. Pairing key.
  # @!attribute [rw] qos_policy
  #   @return [::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy]
  #     The QOS policy applied to this VLAN attachment.
  #     This value should be preferred to using qos at vrf level.
  # @!attribute [rw] id
  #   @return [::String]
  #     Immutable. The identifier of the attachment within vrf.
  # @!attribute [rw] interconnect_attachment
  #   @return [::String]
  #     Optional. The name of the vlan attachment within vrf. This is of the form
  #     projects/\\{project_number}/regions/\\{region}/interconnectAttachments/\\{interconnect_attachment}
  class VlanAttachment
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this VRF.
  module State
    # The unspecified state.
    STATE_UNSPECIFIED = 0

    # The vrf is provisioning.
    PROVISIONING = 1

    # The vrf is provisioned.
    PROVISIONED = 2
  end
end

#qos_policy::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy

Returns The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.

Returns:

  • (::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy)

    The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.



158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 158

class VRF
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # QOS policy parameters.
  # @!attribute [rw] bandwidth_gbps
  #   @return [::Float]
  #     The bandwidth permitted by the QOS policy, in gbps.
  class QosPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # VLAN attachment details.
  # @!attribute [rw] peer_vlan_id
  #   @return [::Integer]
  #     The peer vlan ID of the attachment.
  # @!attribute [rw] peer_ip
  #   @return [::String]
  #     The peer IP of the attachment.
  # @!attribute [rw] router_ip
  #   @return [::String]
  #     The router IP of the attachment.
  # @!attribute [rw] pairing_key
  #   @return [::String]
  #     Input only. Pairing key.
  # @!attribute [rw] qos_policy
  #   @return [::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy]
  #     The QOS policy applied to this VLAN attachment.
  #     This value should be preferred to using qos at vrf level.
  # @!attribute [rw] id
  #   @return [::String]
  #     Immutable. The identifier of the attachment within vrf.
  # @!attribute [rw] interconnect_attachment
  #   @return [::String]
  #     Optional. The name of the vlan attachment within vrf. This is of the form
  #     projects/\\{project_number}/regions/\\{region}/interconnectAttachments/\\{interconnect_attachment}
  class VlanAttachment
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this VRF.
  module State
    # The unspecified state.
    STATE_UNSPECIFIED = 0

    # The vrf is provisioning.
    PROVISIONING = 1

    # The vrf is provisioned.
    PROVISIONED = 2
  end
end

#state::Google::Cloud::BareMetalSolution::V2::VRF::State

Returns The possible state of VRF.

Returns:



158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 158

class VRF
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # QOS policy parameters.
  # @!attribute [rw] bandwidth_gbps
  #   @return [::Float]
  #     The bandwidth permitted by the QOS policy, in gbps.
  class QosPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # VLAN attachment details.
  # @!attribute [rw] peer_vlan_id
  #   @return [::Integer]
  #     The peer vlan ID of the attachment.
  # @!attribute [rw] peer_ip
  #   @return [::String]
  #     The peer IP of the attachment.
  # @!attribute [rw] router_ip
  #   @return [::String]
  #     The router IP of the attachment.
  # @!attribute [rw] pairing_key
  #   @return [::String]
  #     Input only. Pairing key.
  # @!attribute [rw] qos_policy
  #   @return [::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy]
  #     The QOS policy applied to this VLAN attachment.
  #     This value should be preferred to using qos at vrf level.
  # @!attribute [rw] id
  #   @return [::String]
  #     Immutable. The identifier of the attachment within vrf.
  # @!attribute [rw] interconnect_attachment
  #   @return [::String]
  #     Optional. The name of the vlan attachment within vrf. This is of the form
  #     projects/\\{project_number}/regions/\\{region}/interconnectAttachments/\\{interconnect_attachment}
  class VlanAttachment
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this VRF.
  module State
    # The unspecified state.
    STATE_UNSPECIFIED = 0

    # The vrf is provisioning.
    PROVISIONING = 1

    # The vrf is provisioned.
    PROVISIONED = 2
  end
end

#vlan_attachments::Array<::Google::Cloud::BareMetalSolution::V2::VRF::VlanAttachment>

Returns The list of VLAN attachments for the VRF.

Returns:



158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 158

class VRF
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # QOS policy parameters.
  # @!attribute [rw] bandwidth_gbps
  #   @return [::Float]
  #     The bandwidth permitted by the QOS policy, in gbps.
  class QosPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # VLAN attachment details.
  # @!attribute [rw] peer_vlan_id
  #   @return [::Integer]
  #     The peer vlan ID of the attachment.
  # @!attribute [rw] peer_ip
  #   @return [::String]
  #     The peer IP of the attachment.
  # @!attribute [rw] router_ip
  #   @return [::String]
  #     The router IP of the attachment.
  # @!attribute [rw] pairing_key
  #   @return [::String]
  #     Input only. Pairing key.
  # @!attribute [rw] qos_policy
  #   @return [::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy]
  #     The QOS policy applied to this VLAN attachment.
  #     This value should be preferred to using qos at vrf level.
  # @!attribute [rw] id
  #   @return [::String]
  #     Immutable. The identifier of the attachment within vrf.
  # @!attribute [rw] interconnect_attachment
  #   @return [::String]
  #     Optional. The name of the vlan attachment within vrf. This is of the form
  #     projects/\\{project_number}/regions/\\{region}/interconnectAttachments/\\{interconnect_attachment}
  class VlanAttachment
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this VRF.
  module State
    # The unspecified state.
    STATE_UNSPECIFIED = 0

    # The vrf is provisioning.
    PROVISIONING = 1

    # The vrf is provisioned.
    PROVISIONED = 2
  end
end