📝 Section Review: Automation & Artificial Intelligence
اہم نکاتKey TakeawaysKey Takeaways
- ڈیٹا فارمیٹس: APIs اور scripts کے لیے JSON اور YAML؛ NETCONF کے ساتھ XML اب بھی عام ہے۔ تینوں کو پڑھنا اور لکھنا آنا چاہیے۔Data formats: APIs aur scripts ke liye JSON aur YAML; NETCONF ke saath XML ab bhi common hai. Teenon ko parhna aur likhna aana chahiye.Data formats: JSON and YAML for APIs and scripts; XML is still common with NETCONF. Read and write all three comfortably.
- YANG ماڈلز ڈیوائس کی configuration اور state کو معیاری طریقے سے بیان کرتے ہیں۔ NETCONF، RESTCONF اور gNMI سب YANG ماڈلز استعمال کرتے ہیں۔YANG models device ki configuration aur state ko standard tareeqe se bayan karte hain. NETCONF, RESTCONF aur gNMI sab YANG models use karte hain.YANG models describe a device's configuration and state in a standard way. NETCONF, RESTCONF, and gNMI all consume YANG models.
- RESTCONF YANG-modeled ڈیوائسز کے لیے standardized REST API ہے (HTTPS + JSON/XML)۔ vendor کی plain REST APIs proprietary ہوتی ہیں — RESTCONF IETF standard فالو کرتا ہے۔RESTCONF YANG-modeled devices ke liye standardized REST API hai (HTTPS + JSON/XML). Vendor ki plain REST APIs proprietary hoti hain — RESTCONF IETF standard follow karta hai.RESTCONF is a standardized REST API for YANG-modeled devices (HTTPS + JSON/XML). Plain vendor REST APIs are proprietary — RESTCONF follows an IETF standard.
- EEM applets events پر react کرتے ہیں — syslog messages، timers، CLI patterns — اور actions خود چلاتے ہیں۔ پہلے سادہ alert-and-log applets بنائیں، پھر config بدلنے والے۔EEM applets events par react karte hain — syslog messages, timers, CLI patterns — aur actions khud chalate hain. Pehle simple alert-and-log applets banayein, phir config badalne wale.EEM applets react to events — syslog messages, timers, CLI patterns — and run actions automatically. Start with simple alert-and-log applets before anything that changes config.
- Catalyst Center اور SD-WAN Manager پروویژننگ اور مانیٹرنگ کے لیے REST APIs دیتے ہیں۔ API responses پڑھنا اور انہیں CLI show output سے ملانا practice کریں۔Catalyst Center aur SD-WAN Manager provisioning aur monitoring ke liye REST APIs dete hain. API responses parhna aur unhein CLI show output se milana practice karein.Catalyst Center and SD-WAN Manager expose REST APIs for provisioning and monitoring. Practice reading API responses and mapping them to CLI show output.
- AI assistants: drafts، log parsing اور config review کے لیے طاقتور۔ درست prompt کریں (device، OS، goal)، اور production سے پہلے ہر output لیب میں verify کریں۔AI assistants: drafts, log parsing aur config review ke liye powerful. Precisely prompt karein (device, OS, goal), aur production se pehle har output lab mein verify karein.AI assistants: powerful for drafts, log parsing, and config review. Prompt precisely (device, OS, goal), and verify every output in the lab before production.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ آٹومیشن YANG ماڈلز کیوں استعمال کرتی ہے؟Automation YANG models kyun use karti hai?Why does automation use YANG models?
کیونکہ YANG configuration اور operational state کا standardized، machine-readable ماڈل ہے — ایک ماڈل، کئی tools۔Kyunke YANG configuration aur operational state ka standardized, machine-readable model hai — ek model, kayi tools.Because YANG is a standardized, machine-readable model of configuration and operational state — one model, many tools.
❓ NETCONF اور RESTCONF میں فرق؟NETCONF aur RESTCONF mein farq?NETCONF vs RESTCONF?
NETCONF SSH پر XML استعمال کرتا ہے؛ RESTCONF REST/HTTPS ہے اور JSON یا XML دونوں لیتا ہے۔NETCONF SSH par XML use karta hai; RESTCONF REST/HTTPS hai aur JSON ya XML dono leta hai.NETCONF uses XML over SSH; RESTCONF is REST/HTTPS and accepts JSON or XML.
❓ EEM کا ایک use case بتائیں۔EEM ka ek use case batayen.Give one EEM use case.
Event-driven automation: مثلاً flapping interface کو log کر کے bounce کرنا، یا CPU threshold کراس ہونے پر notify کرنا۔Event-driven automation: masalan flapping interface ko log kar ke bounce karna, ya CPU threshold cross hone par notify karna.Event-driven automation: for example, log a message and bounce a flapping interface, or notify when CPU crosses a threshold.
❓ AI-generated configs کا golden rule کیا ہے؟AI-generated configs ka golden rule kya hai?What is the golden rule for AI-generated configs?
production سے پہلے review اور لیب میں test کریں۔ AI syntax hallucinate کر سکتا ہے — آخری فیصلہ ڈیوائس کا ہے۔Production se pehle review aur lab mein test karein. AI syntax hallucinate kar sakta hai — aakhri faisla device ka hai.Review and lab-test it before production. AI can hallucinate syntax — the device is the final judge.