diff --git a/artifacts/l1s_pb.proto b/artifacts/l1s_pb.proto index bdbe8f8..35e92e0 100644 --- a/artifacts/l1s_pb.proto +++ b/artifacts/l1s_pb.proto @@ -16,6 +16,17 @@ message Config { // Connection between ports within a switch. repeated Link links = 1; + + message Operation { + enum Enum { + unspecified = 0; + CREATE = 1; + DELETE = 2; + } + } + // Operation to Create or Delete Links + // default = Operation.Enum.create + optional Operation.Enum operation = 2; } // Link between the Ports. diff --git a/artifacts/openapi.html b/artifacts/openapi.html index 0565158..0e501cb 100644 --- a/artifacts/openapi.html +++ b/artifacts/openapi.html @@ -154,6 +154,15 @@ .ejwrda{height:20px;width:20px;vertical-align:middle;float:right;-webkit-transition:-webkit-transform 0.2s ease-out;-webkit-transition:transform 0.2s ease-out;transition:transform 0.2s ease-out;-webkit-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);}/*!sc*/ .ejwrda polygon{fill:white;}/*!sc*/ data-styled.g15[id="sc-fznKkj"]{content:"cgKiHf,czpFYH,fscamO,cLpHgS,ejwrda,"}/*!sc*/ +.daSLCE{border-left:1px solid #7c7cbb;box-sizing:border-box;position:relative;padding:10px 10px 10px 0;vertical-align:top;line-height:20px;white-space:nowrap;font-size:13px;font-family:Courier,monospace;}/*!sc*/ +@media screen and (max-width:50rem){.daSLCE{display:block;overflow:hidden;}}/*!sc*/ +tr:first-of-type > .daSLCE,tr.last > .daSLCE{border-left-width:0;background-position:top left;background-repeat:no-repeat;background-size:1px 100%;}/*!sc*/ +tr:first-of-type > .daSLCE{background-image:linear-gradient( to bottom, transparent 0%, transparent 22px, #7c7cbb 22px, #7c7cbb 100% );}/*!sc*/ +tr.last > .daSLCE{background-image:linear-gradient( to bottom, #7c7cbb 0%, #7c7cbb 22px, transparent 22px, transparent 100% );}/*!sc*/ +tr.last + tr > .daSLCE{border-left-color:transparent;}/*!sc*/ +tr.last:first-child > .daSLCE{background:none;border-left-color:transparent;}/*!sc*/ +.daSLCE.deprecated{-webkit-text-decoration:line-through;text-decoration:line-through;color:#707070;}/*!sc*/ +data-styled.g20[id="sc-fzoyAV"]{content:"daSLCE,"}/*!sc*/ .cdMYwp{border-bottom:1px solid #9fb4be;padding:10px 0;width:75%;box-sizing:border-box;}/*!sc*/ tr.expanded .cdMYwp{border-bottom:none;}/*!sc*/ @media screen and (max-width:50rem){.cdMYwp{padding:0 20px;border-bottom:none;border-left:1px solid #7c7cbb;}tr.last > .cdMYwp{border-left:none;}}/*!sc*/ @@ -366,12 +375,17 @@ .dUqafC .sc-fznKkj{height:1.1em;width:1.1em;}/*!sc*/ .dUqafC .sc-fznKkj polygon{fill:#666;}/*!sc*/ data-styled.g67[id="sc-fzokvW"]{content:"dUqafC,"}/*!sc*/ +.PRWqF{vertical-align:middle;font-size:13px;line-height:20px;}/*!sc*/ +data-styled.g68[id="sc-fzqzlV"]{content:"PRWqF,"}/*!sc*/ .jbhQmP{vertical-align:middle;font-size:13px;line-height:20px;color:rgba(102,102,102,0.9);}/*!sc*/ data-styled.g69[id="sc-fzqLLg"]{content:"jbhQmP,"}/*!sc*/ .dUEjwH{vertical-align:middle;font-size:13px;line-height:20px;color:#666;}/*!sc*/ data-styled.g70[id="sc-fzoxnE"]{content:"dUEjwH,"}/*!sc*/ .kUcHWW{vertical-align:middle;font-size:13px;line-height:20px;color:#666;word-break:break-word;}/*!sc*/ data-styled.g71[id="sc-fzoMdx"]{content:"kUcHWW,"}/*!sc*/ +.hbCucb{vertical-align:middle;font-size:13px;line-height:20px;border-radius:2px;background-color:rgba(51,51,51,0.05);color:rgba(51,51,51,0.9);padding:0 5px;border:1px solid rgba(51,51,51,0.1);font-family:Courier,monospace;}/*!sc*/ +.hbCucb + .sc-fzonjX{margin-left:0;}/*!sc*/ +data-styled.g77[id="sc-fzonjX"]{content:"hbCucb,"}/*!sc*/ .CvVzT{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;line-height:1.6em;color:#32329f;margin-top:0;margin-bottom:0.5em;}/*!sc*/ data-styled.g87[id="sc-fzooss"]{content:"CvVzT,"}/*!sc*/ .hTmvgG{border:1px solid #32329f;color:#32329f;font-weight:normal;margin-left:0.5em;padding:4px 8px 4px;display:inline-block;-webkit-text-decoration:none;text-decoration:none;cursor:pointer;}/*!sc*/ @@ -515,14 +529,15 @@ -104.0616 -231.873,-231.248 z " fill="currentColor">
Download OpenAPI specification:Download
OTG L1S(Layer1Switch) Model
Create configuration for L1S
-Array of objects (Link) Connection between ports within a switch. +Request Body schema: application/json
ResponsesRequest samples
Content type application/json { Response samples
Content type application/json "string" |