Commit 49253ba7 authored by canterburym's avatar canterburym
Browse files

First draft

parent 3657cb3f
Pipeline #12388 passed with stage
in 18 seconds
<?xml version="1.0" encoding="utf-8"?>
<HI1Message xmlns="http://uri.etsi.org/03120/common/2019/10/Core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:policy="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" xmlns:etsi="http://uri.etsi.org/03280/common/2017/07">
<Header>
<SenderIdentifier>
<CountryCode>XX</CountryCode>
<UniqueIdentifier>ACTOR01</UniqueIdentifier>
</SenderIdentifier>
<ReceiverIdentifier>
<CountryCode>XX</CountryCode>
<UniqueIdentifier>ACTOR02</UniqueIdentifier>
</ReceiverIdentifier>
<TransactionIdentifier>c02358b2-76cf-4ba4-a8eb-f6436ccaa8eb</TransactionIdentifier>
<Timestamp>2022-07-01T12:00:00.000000Z</Timestamp>
<Version>
<ETSIVersion>V1.11.1</ETSIVersion>
<NationalProfileOwner>XX</NationalProfileOwner>
<NationalProfileVersion>v1.0</NationalProfileVersion>
</Version>
</Header>
<Payload>
<RequestPayload>
<ActionRequests>
<ActionRequest>
<ActionIdentifier>0</ActionIdentifier>
<CREATE>
<HI1Object xsi:type="policy:TrafficPolicyObject">
<ObjectIdentifier>7dbbc880-8750-4d3c-abe7-ea4a17646045</ObjectIdentifier>
<CountryCode>XX</CountryCode>
<OwnerIdentifier>ACTOR01</OwnerIdentifier>
<policy:Rules>
<policy:Rule>
<policy:Order>1</policy:Order>
<policy:Criteria>
<policy:Criteria>
<policy:IPPolicyCriteria>
<policy:IPRange>
<etsi:IPv4CIDR>203.0.113.0/24</etsi:IPv4CIDR>
</policy:IPRange>
</policy:IPPolicyCriteria>
</policy:Criteria>
</policy:Criteria>
<policy:Action>
<common:Owner>ETSI</common:Owner>
<common:Name>PolicyAction</common:Name>
<common:Value>PDSR</common:Value>
</policy:Action>
</policy:Rule>
</policy:Rules>
</HI1Object>
</CREATE>
</ActionRequest>
</ActionRequests>
</RequestPayload>
</Payload>
</HI1Message>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:etsi="http://uri.etsi.org/03280/common/2017/07" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:core="http://uri.etsi.org/03120/common/2019/10/Core" xmlns="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" targetNamespace="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://uri.etsi.org/03120/common/2016/02/Common"/>
<xs:import namespace="http://uri.etsi.org/03120/common/2019/10/Core"/>
<xs:import namespace="http://uri.etsi.org/03280/common/2017/07"/>
<xs:complexType name="TrafficPolicyObject">
<xs:complexContent>
<xs:extension base="core:HI1Object">
<xs:sequence>
<xs:element name="Rules" type="ListOfTrafficPolicyRule" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ListOfTrafficPolicyRule">
<xs:sequence>
<xs:element name="Rule" type="TrafficPolicyRule" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TrafficPolicyRule">
<xs:sequence>
<xs:element name="Order" type="xs:positiveInteger"/>
<xs:element name="Criteria" type="ListOfTrafficPolicyCritera"/>
<xs:element name="Action" type="common:DictionaryEntry"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ListOfTrafficPolicyCritera">
<xs:sequence>
<xs:element name="Criteria" type="TrafficPolicyCriteria"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TrafficPolicyCriteria">
<xs:choice>
<xs:element name="IPPolicyCriteria" type="IPPolicyCriteria"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="IPPolicyCriteria">
<xs:sequence>
<xs:element name="IPRange" type="etsi:IPCIDR" minOccurs="0"/>
<xs:element name="PortRange" type="etsi:PortRange" minOccurs="0"/>
<xs:element name="SourceOrDestination" type="SourceOrDestination" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="SourceOrDestination">
<xs:restriction base="xs:string">
<xs:enumeration value="Source"/>
<xs:enumeration value="Destination"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
\ No newline at end of file
......@@ -38,6 +38,7 @@
"103120/schema/ts_103120_Document.xsd",
"103120/schema/ts_103120_Notification.xsd",
"103120/schema/ts_103120_Task.xsd",
"103120/schema/ts_103120_TrafficPolicy.xsd",
"103280/TS_103_280.xsd",
"testing/deps/xmldsig/xmldsig-core-schema.xsd",
"103120/examples/FooServiceSchema.xsd"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment