[jboss-jira] [JBoss JIRA] (AS7-2637) Validation of interface constraints

Heiko Braun (Updated) (JIRA) jira-events at lists.jboss.org
Tue Nov 15 08:25:40 EST 2011


     [ https://issues.jboss.org/browse/AS7-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heiko Braun updated AS7-2637:
-----------------------------

    Description: 
Why does this request succeed? I would expect this combination does fail:

{noformat}
[INFO] {addressWildcard=UNDEFINED, inetAddress=192.168.0.1, loopbackAddress=127.0.0.4}
[INFO] {
[INFO]     "operation" => "composite",
[INFO]     "address" => [],
[INFO]     "steps" => [
[INFO]         {
[INFO]             "address" => [("interface" => "management")],
[INFO]             "operation" => "write-attribute",
[INFO]             "name" => "inet-address",
[INFO]             "value" => "192.168.0.1"
[INFO]         },
[INFO]         {
[INFO]             "address" => [("interface" => "management")],
[INFO]             "operation" => "write-attribute",
[INFO]             "name" => "loopback-address",
[INFO]             "value" => "127.0.0.4"
[INFO]         }
[INFO]     ]
[INFO] }
[INFO] {
[INFO]     "outcome" => "success",
[INFO]     "result" => {
[INFO]         "step-1" => {
[INFO]             "outcome" => "success",
[INFO]             "response-headers" => {"operation-requires-reload" => true}
[INFO]         },
[INFO]         "step-2" => {
[INFO]             "outcome" => "success",
[INFO]             "response-headers" => {"operation-requires-reload" => true}
[INFO]         }
[INFO]     },
[INFO]     "response-headers" => {"process-state" => "reload-required"}
[INFO] }


{noformat}

  was:
Why does this request succeed? I would expect this combination does fail:

{noformat}
[INFO] {addressWildcard=UNDEFINED, loopback=true, pointToPoint=true, loopbackAddress=127.0.0.2}
[INFO] {
[INFO]     "operation" => "composite",
[INFO]     "address" => [],
[INFO]     "steps" => [
[INFO]         {
[INFO]             "address" => [("interface" => "management")],
[INFO]             "operation" => "write-attribute",
[INFO]             "name" => "loopback",
[INFO]             "value" => true
[INFO]         },
[INFO]         {
[INFO]             "address" => [("interface" => "management")],
[INFO]             "operation" => "write-attribute",
[INFO]             "name" => "point-to-point",
[INFO]             "value" => true
[INFO]         },
[INFO]         {
[INFO]             "address" => [("interface" => "management")],
[INFO]             "operation" => "write-attribute",
[INFO]             "name" => "loopback-address",
[INFO]             "value" => "127.0.0.2"
[INFO]         }
[INFO]     ]
[INFO] }
[INFO] {
[INFO]     "outcome" => "success",
[INFO]     "result" => {
[INFO]         "step-1" => {
[INFO]             "outcome" => "success",
[INFO]             "response-headers" => {"operation-requires-reload" => true}
[INFO]         },
[INFO]         "step-2" => {
[INFO]             "outcome" => "success",
[INFO]             "response-headers" => {"operation-requires-reload" => true}
[INFO]         },
[INFO]         "step-3" => {
[INFO]             "outcome" => "success",
[INFO]             "response-headers" => {"operation-requires-reload" => true}
[INFO]         }
[INFO]     },
[INFO]     "response-headers" => {"process-state" => "reload-required"}
[INFO] }

{noformat}


    
> Validation of interface constraints
> -----------------------------------
>
>                 Key: AS7-2637
>                 URL: https://issues.jboss.org/browse/AS7-2637
>             Project: Application Server 7
>          Issue Type: Clarification
>          Components: Domain Management
>            Reporter: Heiko Braun
>            Assignee: Emanuel Muckenhuber
>             Fix For: 7.1.0.CR1
>
>
> Why does this request succeed? I would expect this combination does fail:
> {noformat}
> [INFO] {addressWildcard=UNDEFINED, inetAddress=192.168.0.1, loopbackAddress=127.0.0.4}
> [INFO] {
> [INFO]     "operation" => "composite",
> [INFO]     "address" => [],
> [INFO]     "steps" => [
> [INFO]         {
> [INFO]             "address" => [("interface" => "management")],
> [INFO]             "operation" => "write-attribute",
> [INFO]             "name" => "inet-address",
> [INFO]             "value" => "192.168.0.1"
> [INFO]         },
> [INFO]         {
> [INFO]             "address" => [("interface" => "management")],
> [INFO]             "operation" => "write-attribute",
> [INFO]             "name" => "loopback-address",
> [INFO]             "value" => "127.0.0.4"
> [INFO]         }
> [INFO]     ]
> [INFO] }
> [INFO] {
> [INFO]     "outcome" => "success",
> [INFO]     "result" => {
> [INFO]         "step-1" => {
> [INFO]             "outcome" => "success",
> [INFO]             "response-headers" => {"operation-requires-reload" => true}
> [INFO]         },
> [INFO]         "step-2" => {
> [INFO]             "outcome" => "success",
> [INFO]             "response-headers" => {"operation-requires-reload" => true}
> [INFO]         }
> [INFO]     },
> [INFO]     "response-headers" => {"process-state" => "reload-required"}
> [INFO] }
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list