{"payload":{"allShortcutsEnabled":false,"fileTree":{"shared/lesson01":{"items":[{"name":"CREDITS","path":"shared/lesson01/CREDITS","contentType":"file"},{"name":"_red2_.txt","path":"shared/lesson01/_red2_.txt","contentType":"file"},{"name":"commands.txt","path":"shared/lesson01/commands.txt","contentType":"file"},{"name":"common.py","path":"shared/lesson01/common.py","contentType":"file"},{"name":"server1_flows.txt","path":"shared/lesson01/server1_flows.txt","contentType":"file"},{"name":"server1_topology.py","path":"shared/lesson01/server1_topology.py","contentType":"file"},{"name":"server2_flows.txt","path":"shared/lesson01/server2_flows.txt","contentType":"file"},{"name":"server2_topology.py","path":"shared/lesson01/server2_topology.py","contentType":"file"}],"totalCount":8},"shared":{"items":[{"name":"lesson01","path":"shared/lesson01","contentType":"directory"},{"name":"lesson02","path":"shared/lesson02","contentType":"directory"},{"name":"lesson03","path":"shared/lesson03","contentType":"directory"},{"name":"lesson04","path":"shared/lesson04","contentType":"directory"},{"name":".gitkeep","path":"shared/.gitkeep","contentType":"file"}],"totalCount":5},"":{"items":[{"name":"puppet","path":"puppet","contentType":"directory"},{"name":"shared","path":"shared","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.txt","path":"README.txt","contentType":"file"},{"name":"Vagrantfile","path":"Vagrantfile","contentType":"file"}],"totalCount":6}},"fileTreeProcessingTime":17.495998,"foldersToFetch":[],"repo":{"id":23610564,"defaultBranch":"master","name":"ovs-lab","ownerLogin":"relaxdiego","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-09-03T07:18:48.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/110545?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1409728741.0","canEdit":false,"refType":"branch","currentOid":"4cac9368ecba4d99783fda5fcee051868df1e761"},"path":"shared/lesson01/commands.txt","currentUser":null,"blob":{"rawLines":["RUN IN SERVER 1","===============","","sudo su -","","cd /vagrant/shared/lesson01","","./server1_topology.py","","sh ovs-vsctl add-port s1 vtep -- set interface vtep type=vxlan option:remote_ip=192.168.2.20 option:key=flow ofport_request=10","","sh ovs-vsctl show","","sh ovs-ofctl show s1","","sh ovs-ofctl add-flows s1 server1_flows.txt","","","","RUN IN SERVER 2","===============","","sudo su -","","cd /vagrant/shared/lesson01","","./server2_topology.py","","sh ovs-vsctl add-port s2 vtep -- set interface vtep type=vxlan option:remote_ip=192.168.1.10 option:key=flow ofport_request=10","","sh ovs-vsctl show","","sh ovs-ofctl show s2","","sh ovs-ofctl add-flows s2 server2_flows.txt","","","","RUN IN SERVER 1","===============","","red1 ping 10.0.0.2","","","","RUN IN SERVER 2","===============","","red2 ifconfig red2-eth0 down","","(red1 should stop receiving ping replies at this point)","","red2 ifconfig red2-eth0 up","","(red1 should resume receiving ping replies)"],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/relaxdiego/ovs-lab/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"commands.txt","displayUrl":"https://github.com/relaxdiego/ovs-lab/blob/master/shared/lesson01/commands.txt?raw=true","headerInfo":{"blobSize":"871 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"6827ad7","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Frelaxdiego%2Fovs-lab%2Fblob%2Fmaster%2Fshared%2Flesson01%2Fcommands.txt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"55","truncatedSloc":"27"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Text","languageID":372,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/relaxdiego/ovs-lab/blob/master/shared/lesson01/commands.txt","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/relaxdiego/ovs-lab/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/relaxdiego/ovs-lab/raw/master/shared/lesson01/commands.txt","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/relaxdiego/ovs-lab/branches":{"post":"sAgu52OL8bgH78a5EXG2ACOC1oWjmuOQQjpK62zSEdPbCot26WcoRxfU5aNPIDKOJnM6U0gWzDZ08cfhguz3BQ"},"/repos/preferences":{"post":"D2inBHFczio_KFuCB8A1ZagNuwKlOstmAG76tXtfn-8RUYnOIFgkrq0Q10bGC8fpKLBYIyOp4xQ_SqEnTaMrrA"}}},"title":"ovs-lab/shared/lesson01/commands.txt at master ยท relaxdiego/ovs-lab"}