You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by "wqxiaoaojianghu@gmail.com" <wq...@gmail.com> on 2014/06/05 03:30:34 UTC
如何查找cloudstack的数据库查询语句
源码中有list<ip addressvo> addres = _ipaddressdao.lockrows(sc,filter,true);
现在想要知道具体的sql查询语句是怎样的,该如何在源码中寻找?
发自我的小米手机
Re: 回复:如何查找cloudstack的数据库查询语句
Posted by ma y <br...@gmail.com>.
1,否。对于vmware
xenserver这些来说,底层都是通过vcenter或者xencenter的api来操作。对于kvm来说,通过libvirt的api操作。
2,不太清楚。
3,不同的网络模型依赖的流程可能略有不同。
我们假设虚机通过VR访问,那么VR会通过cs的网络配置脚本配合管理机发出的指令进行系统层面操作,其实基本就是操控iptables。
在 2014年6月5日 上午10:07,Adagio <68...@qq.com>写道:
> 看看都包含了哪些包,循着包去找。
>
>
> 另外,也问几个问题,请各位指教:
> 1,底层对系统的操作是否都是通过python来实现的?
> 2,java调用Python的主要实现类有哪几个?
> 3,比如,用户创建虚拟机后,要创建特定的防火墙规则,具体实现流程如何?
>
>
> 谢谢大家~~~
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "wqxiaoaojianghu@gmail.com";<wq...@gmail.com>;
> 发送时间: 2014年6月5日(星期四) 上午9:30
> 收件人: "users-cn"<us...@cloudstack.apache.org>;
>
> 主题: 如何查找cloudstack的数据库查询语句
>
>
>
> 源码中有list<ip addressvo> addres = _ipaddressdao.lockrows(sc,filter,true);
> 现在想要知道具体的sql查询语句是怎样的,该如何在源码中寻找?
>
>
>
> 发自我的小米手机
>
回复:如何查找cloudstack的数据库查询语句
Posted by Adagio <68...@qq.com>.
看看都包含了哪些包,循着包去找。
另外,也问几个问题,请各位指教:
1,底层对系统的操作是否都是通过python来实现的?
2,java调用Python的主要实现类有哪几个?
3,比如,用户创建虚拟机后,要创建特定的防火墙规则,具体实现流程如何?
谢谢大家~~~
------------------ 原始邮件 ------------------
发件人: "wqxiaoaojianghu@gmail.com";<wq...@gmail.com>;
发送时间: 2014年6月5日(星期四) 上午9:30
收件人: "users-cn"<us...@cloudstack.apache.org>;
主题: 如何查找cloudstack的数据库查询语句
源码中有list<ip addressvo> addres = _ipaddressdao.lockrows(sc,filter,true);
现在想要知道具体的sql查询语句是怎样的,该如何在源码中寻找?
发自我的小米手机
RE: 如何查找cloudstack的数据库查询语句
Posted by "YUAN, GUI -HBIS" <yu...@hbis.com.cn>.
SQL文的编辑,在【com.cloud.utils.db.SqlGenerator】。
如果想让执行时,SQL文出到LOG文件里,
可以配置log4j的LOG级别:【com.cloud.utils.db】下面的LOG为【trace】
其他:
等待CloudStack4.4中。
AWS SDK(1.3.22)的 DateTime型数据接收时,使用ISO8601,在JDK1.7中存在问题。
-----Original Message-----
From: wqxiaoaojianghu@gmail.com [mailto:wqxiaoaojianghu@gmail.com]
Sent: Thursday, June 05, 2014 10:31 AM
To: users-cn@cloudstack.apache.org
Subject: 如何查找cloudstack的数据库查询语句
源码中有list<ip addressvo> addres = _ipaddressdao.lockrows(sc,filter,true);
现在想要知道具体的sql查询语句是怎样的,该如何在源码中寻找?
发自我的小米手机
Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and may be protected
by law against any unauthorized use. If you have received this e-mail by mistake or have
reason to believe that you are not the intended recipient, please notify the sender by reply
e-mail as soon as possible and delete it from your computer system immediately thereafter.
If you are not the intended recipient, you must not copy this e-mail or attachment or disclose
the contents to any other person. While we have made every effort to keep our network virus free,
we take no responsibility for any computer virus which might be transferred by way of this e-mail