Sha256: 066f4026cd64cbc69fdccd403116920cf2930697d8d61ca1334a4856a845a475
Contents?: true
Size: 965 Bytes
Versions: 1
Compression:
Stored size: 965 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'dcmgr/rubygems' require 'dcmgr' require 'isono' include Isono::Runner::RpcServer manifest = DEFAULT_MANIFEST.dup manifest.instance_eval do node_name 'hva' node_instance_id "#{Isono::Util.default_gw_ipaddr}" load_module Isono::NodeModules::NodeHeartbeat load_module Dcmgr::NodeModules::ServiceNetfilter load_module Dcmgr::NodeModules::InstanceMonitor config do |c| c.vm_data_dir = '/var/lib/vm' c.enable_ebtables = true c.enable_iptables = true c.hv_ifindex = 2 # ex. /sys/class/net/eth0/ifindex => 2 c.bridge_prefix = 'br' c.bridge_novlan = 'br0' c.verbose_netfilter = false c.packet_drop_log = false c.debug_iptables = false end load_config File.expand_path('config/hva.conf', app_root) end start(manifest) do endpoint "kvm-handle.#{@node.node_id}", Dcmgr::Rpc::HvaHandler end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wakame-vdc-agents-11.06.0 | bin/hva |