outsmain / db-main

Dashboard Main Page
1 stars 0 forks source link

Add new 7 command logs for ALU #20

Open outsmain opened 10 years ago

outsmain commented 10 years ago

Update parser to support new 7 log types for a device is

Brand: ALU Model: ALL Version: ALL

tanikul commented 10 years ago

ผมมีข้อสงสัยดังนี้ครับ ดูจาก show service fdb-mac.pdf

  1. No. of Entries: 12 มี entry id อะไรครับ
  2. PARENT_GROUP_ID จะนับยังไงเหรอครับ (ผมคิดว่า ATTRIB_LIST.ID ของ Service Forwarding Database (สีเขียว) ซึ่งมี ATTRIB_TYPE_ID เป็น group อันเดียวของหน้านี้)
  3. GROUP_ID ก็คือ ATTRIB_LIST.ID ของ Service Forwarding Database (สีเขียว) หรือเปล่าครับ หรือคิดยังไง
  4. ตอน insert ATTRIB_LIST ยกตัวอย่าง MAC (สีม่วง) (หรือ IP ADDRESS) ยังคงต้องเอาไปเช็คกับ ATTRIB_TYPE.NAME = 'MAC_ADDRESS' อยู่ใช่มั้ยครับ

ขอบคุณครับ

outsmain commented 10 years ago
  1. key/value ทุกอันที่อยู่นอก entry_id ที่วงไว้ตามตัวอย่าง เป็น NULL
  2. ถ้ามี GROUP แต่ไม่มี PARENT GROUP (มีแต่ hightlight สีเขียว ไม่มีสีฟ้า) ให้ PARENT_GROUP_ID เป็น NULL
  3. ใช่ครับ

4.1 รบกวนช่วย checkout ข้อมูลของ ATTRIB_LIST จาก git ล่าสุดก่อนนะครับ (ถ้าอันไหนเป็น name อันใหม่ ให้บวก id เป็นค่าถัดไปที่ไม่ซ้ำกับ id ที่มีอยู่ในเครื่อง) 4.2 ก่อนจะ insert record ลง ATTRIB_LIST จะต้อง check ก่อนครับ

tanikul commented 10 years ago

ดูจาก show lag description.pdf ผมขอถามว่า

แถว Lag-id, Port-id, Act/Stdby พวกที่เป็นช่องว่าง ๆ มีโอกาสจะมีค่าอะไรขึ้นมามั้ยครับตรงนั้น

แล้วช่องว่าง ๆ นี่ต้อง insert ลงหรือเปล่าครับ

outsmain commented 10 years ago
tanikul commented 10 years ago

แล้วช่องว่าง ๆ นี่ไม่ต้อง insert ใช่มั้ยครับ

outsmain commented 10 years ago

ไม่ต้องครับ