mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
L #-: Avouid linting vendorized rbvmomi
This commit is contained in:
parent
e80bab6c88
commit
8e673bfd72
@ -168,44 +168,7 @@ AllCops:
|
|||||||
- share/hooks/ft/host_error.rb
|
- share/hooks/ft/host_error.rb
|
||||||
- share/instance_types/ec2-instance-types.rb
|
- share/instance_types/ec2-instance-types.rb
|
||||||
- share/instance_types/az-instance-types.rb
|
- share/instance_types/az-instance-types.rb
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi.rb
|
- share/vendor/ruby/gems/rbvmomi/**/*
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Datastore.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/HostSystem.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ManagedObject.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/DynamicTypeMgrManagedTypeInfo.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ServiceInstance.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/PropertyCollector.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/DynamicTypeMgrAllTypeInfo.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ObjectUpdate.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ManagedEntity.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Folder.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ReflectManagedMethodExecuter.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ResourcePool.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/OvfManager.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Datacenter.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ObjectContent.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/VirtualMachine.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ComputeResource.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/PerfCounterInfo.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/PerformanceManager.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Task.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/sms.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/fault.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/trivial_soap.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/sms/SmsStorageManager.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/deserialization.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/connection.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/basic_types.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/perfdump.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/admission_control.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/deploy.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/leases.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/trollop.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/version.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/pbm.rb
|
|
||||||
- share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/type_loader.rb
|
|
||||||
- share/vendor/ruby/gems/packethost/spec/spec_helper.rb
|
- share/vendor/ruby/gems/packethost/spec/spec_helper.rb
|
||||||
- share/vendor/ruby/gems/packethost/spec/support/webmock.rb
|
- share/vendor/ruby/gems/packethost/spec/support/webmock.rb
|
||||||
- share/vendor/ruby/gems/packethost/spec/support/fake_packet.rb
|
- share/vendor/ruby/gems/packethost/spec/support/fake_packet.rb
|
||||||
|
@ -115,10 +115,10 @@ class AliasSDNATDriver < VNMMAD::VNMDriver
|
|||||||
|
|
||||||
if activate
|
if activate
|
||||||
# create mapping rules
|
# create mapping rules
|
||||||
# rubocop:disable Metrics/LineLength
|
# rubocop:disable Layout/LineLength
|
||||||
# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to-source 10.0.0.41
|
# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to-source 10.0.0.41
|
||||||
# iptables -t nat -A PREROUTING -d 10.0.0.41 -j DNAT --to-destination 192.168.0.250
|
# iptables -t nat -A PREROUTING -d 10.0.0.41 -j DNAT --to-destination 192.168.0.250
|
||||||
# rubocop:enable Metrics/LineLength
|
# rubocop:enable Layout/LineLength
|
||||||
nic_aliases.each do |alias_ip, parent_id|
|
nic_aliases.each do |alias_ip, parent_id|
|
||||||
parent_ip = nic_parents[parent_id]
|
parent_ip = nic_parents[parent_id]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user