ovn 的有点难以理解的东西

67 阅读1分钟
  1. 命令行接口的粒度和 libovsdb 粒度对不上
# ovn-nbctl --help

... 


Database commands:
  list TBL [REC]              list RECord (or all records) in TBL
  find TBL CONDITION...       list records satisfying CONDITION in TBL
  get TBL REC COL[:KEY]       print values of COLumns in RECord in TBL
  set TBL REC COL[:KEY]=VALUE set COLumn values in RECord in TBL
  add TBL REC COL [KEY=]VALUE add (KEY=)VALUE to COLumn in RECord in TBL
  remove TBL REC COL [KEY=]VALUE  remove (KEY=)VALUE from COLumn
  clear TBL REC COL           clear values from COLumn in RECord in TBL
  create TBL COL[:KEY]=VALUE  create and initialize new record
  destroy TBL REC             delete RECord from TBL
  wait-until TBL REC [COL[:KEY]=VALUE]  wait until condition is true
  
  
  
  
  
  


image.png

image.png

  1. 有些非 root 资源的创建,必须依附于主资源 非 root 资源的创建,和其依附的主资源的更新,必须在一个客户端发起的请求中。 在服务端处理过程中会判断非root资源是否有标记其依附的主资源,如果没有,则无法存在。