diff --git a/subt_ign/launch/cloudsim_sim.ign b/subt_ign/launch/cloudsim_sim.ign index cde273fc..cc749f29 100644 --- a/subt_ign/launch/cloudsim_sim.ign +++ b/subt_ign/launch/cloudsim_sim.ign @@ -216,6 +216,26 @@ if defined?(levels) && levels != nil && !levels.empty? $levels = levels.downcase == "true" end + + $websocketAuthKey = "" + if defined?(websocketAuthKey) && websocketAuthKey != nil && !websocketAuthKey.empty? + $websocketAuthKey = websocketAuthKey + end + + $websocketAdminAuthKey = "" + if defined?(websocketAdminAuthKey) && websocketAdminAuthKey != nil && !websocketAdminAuthKey.empty? + $websocketAdminAuthKey = websocketAdminAuthKey + end + + $websocketSSLCertFile = "" + if defined?(websocketSSLCertFile) && websocketSSLCertFile != nil && !websocketSSLCertFile.empty? + $websocketSSLCertFile = websocketSSLCertFile + end + + $websocketSSLKeyFile = "" + if defined?(websocketSSLKeyFile) && websocketSSLKeyFile != nil && !websocketSSLKeyFile.empty? + $websocketSSLKeyFile = websocketSSLKeyFile + end %> @@ -224,6 +244,19 @@ $LD_LIBRARY_PATH + + + 30 + 9002 + <%= $websocketAuthKey %> + <%= $websocketAdminAuthKey %> + + <%= $websocketSSLCertFile %> + <%= $websocketSSLKeyFile %> + + + <% if $worldName.include?('tunnel_circuit_') &&